|
RapidGameFramework
Reusable Godot managers for data-driven small games
|
Owns duplicate-friendly card inventory state. More...
Go to the source code of this file.
Namespaces | |
| namespace | inventory_manager |
Owns duplicate-friendly card inventory state.
The current reusable model stores card instances rather than only base ids. Each instance can include:
uid: stable instance identifierbase_id: id of the base card definitionmodifier_ids: modifiers applied by cardModifierManagerlevel: merged card levellocked: whether the instance is protected from selling/consumptionThe manager also exposes generic item-stack helpers for non-card games: board-game tokens, RPG inventory items, roguelike relics, platformer pickups, or crafting materials.
Definition in file inventory_manager.gd.