diff options
| author | historia <[not public]> | 2026-07-08 02:23:59 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-07-08 02:23:59 -0400 |
| commit | 2bbe6b8e912bbc5f4a61a33988fb27aca7bd5eb3 (patch) | |
| tree | ef4aef5a7393de51d765b24d565b414ddac4b9fe /internal/object | |
| parent | 71f0f381de64e045f91da19450adacf10fbc7902 (diff) | |
| download | thehouseoficarus-2bbe6b8e912bbc5f4a61a33988fb27aca7bd5eb3.tar.gz | |
feat: object and mob steal tables can include both tables and items
Diffstat (limited to 'internal/object')
| -rw-r--r-- | internal/object/object.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/internal/object/object.go b/internal/object/object.go index 89f01a4..47243ad 100644 --- a/internal/object/object.go +++ b/internal/object/object.go @@ -10,11 +10,11 @@ type UseInteraction struct { } type ObjectSteal struct { - Table string `yaml:"table"` - Level int `yaml:"level"` - XP int `yaml:"xp"` - Speed float64 `yaml:"speed"` - GuardMob string `yaml:"guard_mob,omitempty"` + Drops []behavior.DropEntry `yaml:"drops,omitempty"` + Level int `yaml:"level"` + XP int `yaml:"xp"` + Speed float64 `yaml:"speed"` + GuardMob string `yaml:"guard_mob,omitempty"` } type ObjectDef struct { |
