diff options
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 |
