From bf7c27c2cbf3eb56a0a4c5141e39b152c51614b5 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Wed, 1 Jul 2026 04:53:56 -0400 Subject: feat: admin gui map, item, and objects mostly complete --- internal/behavior/behavior.go | 2 +- internal/behavior/types.go | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'internal/behavior') diff --git a/internal/behavior/behavior.go b/internal/behavior/behavior.go index c0a714c..2ef7fae 100644 --- a/internal/behavior/behavior.go +++ b/internal/behavior/behavior.go @@ -84,7 +84,7 @@ type Condition struct { type UseConfig struct { StartMessage string `yaml:"start_message"` - Wait float64 `yaml:"wait"` + TicksPerCycle float64 `yaml:"ticks_per_cycle"` Consume map[string]int `yaml:"consume"` Reward DropEntry `yaml:"reward"` FailMessage string `yaml:"fail_message"` diff --git a/internal/behavior/types.go b/internal/behavior/types.go index 571f2c4..c59a95e 100644 --- a/internal/behavior/types.go +++ b/internal/behavior/types.go @@ -46,9 +46,9 @@ const ( TypeCure ActionType = "cure" TypeObstacle ActionType = "obstacle" TypeFletch ActionType = "fletch" - TypeClean ActionType = "clean" + TypeClean ActionType = "cleaning" TypeCook ActionType = "cook" - TypeSmelt ActionType = "smelt" + TypeSmelt ActionType = "smelting" TypeSmith ActionType = "smith" TypeCraft ActionType = "craft" TypeCombine ActionType = "combine" @@ -88,7 +88,7 @@ type GatherData struct { type ProductionData struct { ItemID string Phase int - Wait float64 + TicksPerCycle float64 StartMessage string EndMessage string Remaining int @@ -184,13 +184,13 @@ type CombineData struct { Remaining int StartMessage string EndMessage string - Wait float64 + TicksPerCycle float64 } type FletchData struct { ItemID string Phase int - Wait float64 + TicksPerCycle float64 Remaining int } -- cgit v1.2.3