RapidGameFramework
Reusable Godot managers for data-driven small games
Loading...
Searching...
No Matches
spell_loadout_manager.gd File Reference

Reusable unlocked/equipped spell loadout state for card-combat games. More...

Go to the source code of this file.

Namespaces

namespace  spell_loadout_manager
 

Variables

 spell_loadout_manager.Array
 Configure a loadout from save-friendly ids.
 
 spell_loadout_manager.Dictionary
 
 spell_loadout_manager.max_slots = max(1, int(options.get("max_slots", 3)))
 
 spell_loadout_manager.min_slots = clamp(int(options.get("min_slots", 1)), 0, max_slots)
 
 spell_loadout_manager.fallback_ids = _unique_ids(options.get("fallback_ids", []))
 
 spell_loadout_manager.key
 
 spell_loadout_manager.equipped = _unique_ids(equipped_ids)
 
 spell_loadout_manager.ids
 
 spell_loadout_manager.unlocked = state.get("unlocked", {}).duplicate(true)
 

Detailed Description

Reusable unlocked/equipped spell loadout state for card-combat games.

Definition in file spell_loadout_manager.gd.