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

Variables

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

Variable Documentation

◆ Array

spell_loadout_manager.Array

Configure a loadout from save-friendly ids.

Definition at line 15 of file spell_loadout_manager.gd.

◆ Dictionary

spell_loadout_manager.Dictionary

Definition at line 15 of file spell_loadout_manager.gd.

◆ equipped

spell_loadout_manager.equipped = _unique_ids(equipped_ids)

Definition at line 27 of file spell_loadout_manager.gd.

◆ fallback_ids

spell_loadout_manager.fallback_ids = _unique_ids(options.get("fallback_ids", []))

Definition at line 18 of file spell_loadout_manager.gd.

◆ ids

spell_loadout_manager.ids

Definition at line 83 of file spell_loadout_manager.gd.

◆ key

spell_loadout_manager.key

Definition at line 21 of file spell_loadout_manager.gd.

◆ max_slots

spell_loadout_manager.max_slots = max(1, int(options.get("max_slots", 3)))

Definition at line 16 of file spell_loadout_manager.gd.

◆ min_slots

spell_loadout_manager.min_slots = clamp(int(options.get("min_slots", 1)), 0, max_slots)

Definition at line 17 of file spell_loadout_manager.gd.

◆ unlocked

spell_loadout_manager.unlocked = state.get("unlocked", {}).duplicate(true)

Definition at line 103 of file spell_loadout_manager.gd.