diff options
Diffstat (limited to 'internal/behavior/types.go')
| -rw-r--r-- | internal/behavior/types.go | 25 |
1 files changed, 9 insertions, 16 deletions
diff --git a/internal/behavior/types.go b/internal/behavior/types.go index 7aba045..86115a7 100644 --- a/internal/behavior/types.go +++ b/internal/behavior/types.go @@ -33,7 +33,6 @@ const ( TypeTalk ActionType = "talk" TypeBurn ActionType = "burn" TypeStoke ActionType = "stoke" - TypeSearch ActionType = "search" TypeIdentify ActionType = "identify" TypePlant ActionType = "plant" TypeHarvest ActionType = "harvest" @@ -165,12 +164,6 @@ type FarmData struct { MaxYield float64 } -type SearchData struct { - ItemID string - SlotIdx int - Started bool -} - type CombineData struct { ItemID string Phase int @@ -205,15 +198,15 @@ type TriggerModuleData struct { } type DropEntry struct { - ItemID string `yaml:"item_id"` - Table string `yaml:"table"` - Tool string `yaml:"tool,omitempty"` - Weight int `yaml:"weight"` - Quantity int `yaml:"quantity"` - Depletes bool `yaml:"depletes"` - SuccessMessage string `yaml:"success_message"` - Level int `yaml:"level"` - XP int `yaml:"xp"` + ItemID string `yaml:"item_id" json:"item_id"` + Table string `yaml:"table" json:"table"` + Tool string `yaml:"tool,omitempty" json:"tool,omitempty"` + Weight int `yaml:"weight" json:"weight"` + Quantity int `yaml:"quantity" json:"quantity"` + Depletes bool `yaml:"depletes" json:"depletes"` + SuccessMessage string `yaml:"success_message" json:"success_message"` + Level int `yaml:"level" json:"level"` + XP int `yaml:"xp" json:"xp"` } type DropTableDef struct { |
