aboutsummaryrefslogtreecommitdiff
path: root/internal/object
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-07-08 02:23:59 -0400
committerhistoria <[not public]>2026-07-08 02:23:59 -0400
commit2bbe6b8e912bbc5f4a61a33988fb27aca7bd5eb3 (patch)
treeef4aef5a7393de51d765b24d565b414ddac4b9fe /internal/object
parent71f0f381de64e045f91da19450adacf10fbc7902 (diff)
downloadthehouseoficarus-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.go10
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 {