|
RapidGameFramework
Reusable Godot managers for data-driven small games
|
Variables | |
| DataCacheManager | |
| data_cache_manager | |
| composition_rules = data.get("composition", {}).duplicate(true) | |
| Load cards, manifestations, and modifiers from a JSON card catalog. | |
| id | |
| Load element and compound definitions for composed cards. | |
| Array | |
| Remove a runtime-composed card definition from the catalog. | |
| key | |
| Dictionary | |
| compound_def | |
| compound_id | |
| manifestation | |
| tier | |
| energy = max(0, energy) | |
| damage = max(1, damage) | |
| card_range = max(0, card_range) | |
| aoe_radius = max(0, aoe_radius) | |
| duration = max(0.05, duration) | |
| modifier | |
| compound_name | |
| manifestation_name | |
| card_name = "%s %s" % [" ".join(modifier_names), card_name] | |
| card_id | |
| targeting | |
| card | |
| cards = state.get("cards", {}).duplicate(true) | |
| manifestations = state.get("manifestations", {}).duplicate(true) | |
| modifiers = state.get("modifiers", {}).duplicate(true) | |
| elements = state.get("elements", {}).duplicate(true) | |
| compounds = state.get("compounds", {}).duplicate(true) | |
| sorted_modifiers | |
| text | |
| combat_card_factory.aoe_radius = max(0, aoe_radius) |
Definition at line 159 of file combat_card_factory.gd.
| combat_card_factory.Array |
Remove a runtime-composed card definition from the catalog.
Compose a save-friendly card dictionary from a compound, manifestation, and modifiers.
Return cards for unlocked ids, plus optional starter fallback cards.
Definition at line 111 of file combat_card_factory.gd.
| combat_card_factory.card |
Definition at line 214 of file combat_card_factory.gd.
| combat_card_factory.card_id |
Definition at line 181 of file combat_card_factory.gd.
| str combat_card_factory.card_name = "%s %s" % [" ".join(modifier_names), card_name] |
Definition at line 178 of file combat_card_factory.gd.
| combat_card_factory.card_range = max(0, card_range) |
Definition at line 158 of file combat_card_factory.gd.
| combat_card_factory.cards = state.get("cards", {}).duplicate(true) |
Definition at line 249 of file combat_card_factory.gd.
| combat_card_factory.composition_rules = data.get("composition", {}).duplicate(true) |
Load cards, manifestations, and modifiers from a JSON card catalog.
Load cards, manifestations, and modifiers from already-loaded data.
Definition at line 35 of file combat_card_factory.gd.
| combat_card_factory.compound_def |
Definition at line 145 of file combat_card_factory.gd.
| combat_card_factory.compound_id |
Definition at line 146 of file combat_card_factory.gd.
| combat_card_factory.compound_name |
Definition at line 176 of file combat_card_factory.gd.
| combat_card_factory.compounds = state.get("compounds", {}).duplicate(true) |
Definition at line 253 of file combat_card_factory.gd.
| combat_card_factory.damage = max(1, damage) |
Definition at line 157 of file combat_card_factory.gd.
| combat_card_factory.data_cache_manager |
Definition at line 15 of file combat_card_factory.gd.
| combat_card_factory.DataCacheManager |
Definition at line 7 of file combat_card_factory.gd.
| combat_card_factory.Dictionary |
Definition at line 144 of file combat_card_factory.gd.
| combat_card_factory.duration = max(0.05, duration) |
Definition at line 160 of file combat_card_factory.gd.
| combat_card_factory.elements = state.get("elements", {}).duplicate(true) |
Definition at line 252 of file combat_card_factory.gd.
| combat_card_factory.energy = max(0, energy) |
Definition at line 156 of file combat_card_factory.gd.
| combat_card_factory.id |
Load element and compound definitions for composed cards.
Return one card definition by id.
Return cache diagnostics for file-based convenience loads.
Load element and compound definitions from already-loaded data.
Return a loaded element or compound definition by id.
Add or replace a card definition, returning true when it has a usable id.
Definition at line 38 of file combat_card_factory.gd.
| combat_card_factory.key |
Definition at line 115 of file combat_card_factory.gd.
| combat_card_factory.manifestation |
Definition at line 149 of file combat_card_factory.gd.
| combat_card_factory.manifestation_name |
Definition at line 177 of file combat_card_factory.gd.
| combat_card_factory.manifestations = state.get("manifestations", {}).duplicate(true) |
Definition at line 250 of file combat_card_factory.gd.
| combat_card_factory.modifier |
Definition at line 162 of file combat_card_factory.gd.
| combat_card_factory.modifiers = state.get("modifiers", {}).duplicate(true) |
Definition at line 251 of file combat_card_factory.gd.
| combat_card_factory.sorted_modifiers |
Definition at line 270 of file combat_card_factory.gd.
| combat_card_factory.targeting |
Definition at line 182 of file combat_card_factory.gd.
| combat_card_factory.text |
Definition at line 278 of file combat_card_factory.gd.
| combat_card_factory.tier |
Definition at line 155 of file combat_card_factory.gd.