diff options
| author | historia <[not public]> | 2026-07-10 17:02:13 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-07-10 17:02:13 -0400 |
| commit | d02f0d2cdf67f1445a9ccae86b99a2578adab585 (patch) | |
| tree | fc2caae674d20b9ac31aa0da41f4f600f8f801a9 /internal/behavior/types.go | |
| parent | 18d46f9c336d37d0282eb7191bb7ff930163d18f (diff) | |
| download | thehouseoficarus-d02f0d2cdf67f1445a9ccae86b99a2578adab585.tar.gz | |
feat(admin): update search to use standard condition/action framework rather than bespoke implementation
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 { |
