feat: add equipment identification and item use

This commit is contained in:
goose
2026-10-03 14:04:11 -04:00
parent 5214f5fa8b
commit e5ab923a67
20 changed files with 655 additions and 60 deletions
+4 -1
View File
@@ -93,10 +93,13 @@ func as_actor_state(attack_damage: int) -> ActorState:
actor.focus = focus
return actor
func _normalize_resources() -> void:
func normalize_resources() -> void:
hit_points = clampi(hit_points, 0, max_hp())
focus = clampi(focus, 0, max_focus())
func _normalize_resources() -> void:
normalize_resources()
func _status_for(key: StringName) -> StatusEffect:
for effect in status_effects:
if effect.key == key: