From a6f0ad79e2e3a5b7c11eef1ffc3233f3a2766f77 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Sun, 14 Jun 2026 22:38:23 -0400 Subject: feat: fractional ticks and server game_speed implemented. potentially insanely janky. --- internal/object/item.go | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'internal/object') 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 { -- cgit v1.2.3