aboutsummaryrefslogtreecommitdiff
path: root/internal/item/item.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-07-10 17:02:13 -0400
committerhistoria <[not public]>2026-07-10 17:02:13 -0400
commitd02f0d2cdf67f1445a9ccae86b99a2578adab585 (patch)
treefc2caae674d20b9ac31aa0da41f4f600f8f801a9 /internal/item/item.go
parent18d46f9c336d37d0282eb7191bb7ff930163d18f (diff)
downloadthehouseoficarus-d02f0d2cdf67f1445a9ccae86b99a2578adab585.tar.gz
feat(admin): update search to use standard condition/action framework rather than bespoke implementation
Diffstat (limited to 'internal/item/item.go')
-rw-r--r--internal/item/item.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/internal/item/item.go b/internal/item/item.go
index 0a6ef99..227eac5 100644
--- a/internal/item/item.go
+++ b/internal/item/item.go
@@ -92,9 +92,7 @@ type ItemDef struct {
MaxQuality int `yaml:"max_quality"`
Craft CraftList `yaml:"craft,omitempty"`
- SearchTable string `yaml:"search_table"`
- SearchTicks float64 `yaml:"search_ticks"`
- SearchMessage string `yaml:"search_message"`
+ Search []behavior.Trigger `yaml:"search,omitempty"`
HealValue int `yaml:"heal_value"`
EatMessage string `yaml:"eat_message"`