diff options
| author | historia <[not public]> | 2026-07-05 20:06:53 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-07-05 20:07:50 -0400 |
| commit | 843fa6db681e494bf46e191655323a40577542b5 (patch) | |
| tree | cf32ec18d50434c14a1152147ff6e5e8b3576998 /internal/behavior | |
| parent | 7b5ed92e003d8a4bf9bdc69d43b7354eb2260dfa (diff) | |
| download | thehouseoficarus-843fa6db681e494bf46e191655323a40577542b5.tar.gz | |
feat: remove deprecated use/station interaction model
Diffstat (limited to 'internal/behavior')
| -rw-r--r-- | internal/behavior/behavior.go | 15 | ||||
| -rw-r--r-- | internal/behavior/types.go | 6 |
2 files changed, 1 insertions, 20 deletions
diff --git a/internal/behavior/behavior.go b/internal/behavior/behavior.go index 06e2715..7d8ce8f 100644 --- a/internal/behavior/behavior.go +++ b/internal/behavior/behavior.go @@ -153,17 +153,4 @@ type Condition struct { AnyOf []Condition `yaml:"any_of"` } -type UseConfig struct { - StartMessage string `yaml:"start_message"` - TicksPerCycle float64 `yaml:"ticks_per_cycle"` - Consume map[string]int `yaml:"consume"` - Reward DropEntry `yaml:"reward"` - FailMessage string `yaml:"fail_message"` - Success *SuccessFormula `yaml:"success"` - Skill string `yaml:"skill"` - Level int `yaml:"level"` - XP int `yaml:"xp"` - SuccessMessage string `yaml:"success_message"` - EndMessage string `yaml:"end_message"` - BroadcastMessage string `yaml:"broadcast_message"` -} + diff --git a/internal/behavior/types.go b/internal/behavior/types.go index 5fdebdb..99f09a0 100644 --- a/internal/behavior/types.go +++ b/internal/behavior/types.go @@ -31,7 +31,6 @@ const ( TypeGather ActionType = "gather" TypeSteal ActionType = "steal" TypeTalk ActionType = "talk" - TypeUse ActionType = "use" TypeBurn ActionType = "burn" TypeStoke ActionType = "stoke" TypeSearch ActionType = "search" @@ -117,11 +116,6 @@ type TalkData struct { PendingChosen bool } -type UseData struct { - Cfg *UseConfig - Step int -} - type UseInteractionData struct { Message string Action *NodeAction |
