aboutsummaryrefslogtreecommitdiff
path: root/internal/object/item.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-06-14 22:38:23 -0400
committerhistoria <[not public]>2026-06-14 22:38:23 -0400
commita6f0ad79e2e3a5b7c11eef1ffc3233f3a2766f77 (patch)
tree89601a502bbfcb50302cf03f09b6febc6040eeb0 /internal/object/item.go
parent1aba2bdd23aebed4032333e74aa553c40a31fcbd (diff)
downloadthehouseoficarus-a6f0ad79e2e3a5b7c11eef1ffc3233f3a2766f77.tar.gz
feat: fractional ticks and server game_speed implemented. potentially insanely janky.
Diffstat (limited to 'internal/object/item.go')
-rw-r--r--internal/object/item.go10
1 files changed, 7 insertions, 3 deletions
diff --git a/internal/object/item.go b/internal/object/item.go
index 18fd034..f4e2f8b 100644
--- a/internal/object/item.go
+++ b/internal/object/item.go
@@ -40,14 +40,18 @@ type ItemDef struct {
EquipSlot EquipSlot `yaml:"equip_slot"`
WeaponType WeaponType `yaml:"weapon_type"`
Stats ItemStats `yaml:"stats"`
- Speed int `yaml:"speed"`
+ Speed float64 `yaml:"speed"`
ToolType string `yaml:"tool_type"`
- ToolSpeed int `yaml:"tool_speed"`
- BurnTicks int `yaml:"burn_ticks"`
+ ToolSpeed float64 `yaml:"tool_speed"`
+ BurnTicks float64 `yaml:"burn_ticks"`
FireLevel int `yaml:"fire_level"`
FireXP int `yaml:"fire_xp"`
Quality int `yaml:"quality"`
MaxQuality int `yaml:"max_quality"`
+ SearchTable string `yaml:"search_table"`
+ SearchMiscTable string `yaml:"search_misc_table"`
+ SearchTicks float64 `yaml:"search_ticks"`
+ SearchMessage string `yaml:"search_message"`
}
type ItemStats struct {