aboutsummaryrefslogtreecommitdiff
path: root/internal/behavior
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-07-01 04:53:56 -0400
committerhistoria <[not public]>2026-07-01 04:53:56 -0400
commitbf7c27c2cbf3eb56a0a4c5141e39b152c51614b5 (patch)
tree5383c325fafeb34c01ea737a7070402f040fc5af /internal/behavior
parentfbe5090ac3325ff8ea6989cdf4515c7f077c975b (diff)
downloadthehouseoficarus-bf7c27c2cbf3eb56a0a4c5141e39b152c51614b5.tar.gz
feat: admin gui map, item, and objects mostly complete
Diffstat (limited to 'internal/behavior')
-rw-r--r--internal/behavior/behavior.go2
-rw-r--r--internal/behavior/types.go10
2 files changed, 6 insertions, 6 deletions
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
}