aboutsummaryrefslogtreecommitdiff
path: root/internal/object
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-06-12 23:52:06 -0400
committerhistoria <[not public]>2026-06-12 23:52:06 -0400
commita19e6b6ab01670a5932308c7bd0e0e5eed8cbcad (patch)
tree80a2e46c3e6cc98bb8b4f708cc403949b14742eb /internal/object
parentf3a6ae488bbd2128af8356b0da016699c5abb70e (diff)
downloadthehouseoficarus-a19e6b6ab01670a5932308c7bd0e0e5eed8cbcad.tar.gz
feat: firemaking skill implemented. overhauled how ground items and despawn are handled.
Diffstat (limited to 'internal/object')
-rw-r--r--internal/object/item.go5
-rw-r--r--internal/object/object.go12
2 files changed, 12 insertions, 5 deletions
diff --git a/internal/object/item.go b/internal/object/item.go
index c9b2717..009f10e 100644
--- a/internal/object/item.go
+++ b/internal/object/item.go
@@ -39,6 +39,11 @@ type ItemDef struct {
Speed int `yaml:"speed"`
ToolType string `yaml:"tool_type"`
ToolSpeed int `yaml:"tool_speed"`
+ BurnTicks int `yaml:"burn_ticks"`
+ FireLevel int `yaml:"fire_level"`
+ FireXP int `yaml:"fire_xp"`
+ Quality int `yaml:"quality"`
+ MaxQuality int `yaml:"max_quality"`
}
type ItemStats struct {
diff --git a/internal/object/object.go b/internal/object/object.go
index 9e06804..2810e07 100644
--- a/internal/object/object.go
+++ b/internal/object/object.go
@@ -1,9 +1,11 @@
package object
type ObjectDef struct {
- ID string `yaml:"id"`
- Name string `yaml:"name"`
- BehaviorID string `yaml:"behavior"`
- Hidden bool `yaml:"hidden"`
- Props map[string]any `yaml:"props"`
+ ID string `yaml:"id"`
+ Name string `yaml:"name"`
+ BehaviorID string `yaml:"behavior"`
+ Hidden bool `yaml:"hidden"`
+ InRoomDescription string `yaml:"inroom_description"`
+ RemovalItem string `yaml:"removal_item"`
+ Props map[string]any `yaml:"props"`
}