aboutsummaryrefslogtreecommitdiff
path: root/internal/object/item.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-06-10 01:48:28 -0400
committerhistoria <[not public]>2026-06-10 01:48:28 -0400
commita226d72e51eecb768b13600303f73483118d9104 (patch)
tree458d15ef049732c15dacc591a830d3beddbedfde /internal/object/item.go
parent6a0f3d7a252de4b1741cfe5e1c561412c602becc (diff)
downloadthehouseoficarus-a226d72e51eecb768b13600303f73483118d9104.tar.gz
feat: implemented janky object interaction model
Diffstat (limited to 'internal/object/item.go')
-rw-r--r--internal/object/item.go8
1 files changed, 5 insertions, 3 deletions
diff --git a/internal/object/item.go b/internal/object/item.go
index 84e43b1..170e07f 100644
--- a/internal/object/item.go
+++ b/internal/object/item.go
@@ -31,13 +31,15 @@ type ItemDef struct {
Name string `yaml:"name"`
Aliases []string `yaml:"aliases"`
Description string `yaml:"description"`
- Value int `yaml:"value"` // credits
+ Value int `yaml:"value"`
Stackable bool `yaml:"stackable"`
EquipSlot EquipSlot `yaml:"equip_slot"`
WeaponType WeaponType `yaml:"weapon_type"`
Stats ItemStats `yaml:"stats"`
- Speed int `yaml:"speed"` // ticks between attacks
- Toolbelt bool `yaml:"toolbelt"` // can go on toolbelt
+ Speed int `yaml:"speed"`
+ Toolbelt bool `yaml:"toolbelt"`
+ ToolType string `yaml:"tool_type"`
+ ToolSpeed int `yaml:"tool_speed"`
}
type ItemStats struct {