aboutsummaryrefslogtreecommitdiff
path: root/internal/behavior
diff options
context:
space:
mode:
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
}