Hej hej!
Yesterday I made a bit more progress on Wyrmframe, and now I have a working foundation for character attributes - configurable through resources, with support for adding modifiers via items, and more.
The new version (0.2.0) includes:
-
AttributeDefinition - a static, shared attribute definition (min/max, default value, independently toggleable clamping on either side)
-
AttributeModifier - flat modifiers with source identity (item, spell, status effect - anything), linked via the resource picker instead of manually typed strings
-
RuntimeAttribute - the character's runtime state, strictly separated from the definition to avoid the classic Godot 4 pitfall of shared Resource references
-
StatsComponent - orchestrates all attributes for a single character, propagating changes via signals
The repo is here: https://codeberg.org/muzzug/Wyrmframe - feedback is always welcome.
Next up for 0.3.0: equipment and inventory.