aboutsummaryrefslogtreecommitdiff
path: root/internal/world
diff options
context:
space:
mode:
Diffstat (limited to 'internal/world')
-rw-r--r--internal/world/room.go12
1 files changed, 2 insertions, 10 deletions
diff --git a/internal/world/room.go b/internal/world/room.go
index 9c2e52f..f66ce1d 100644
--- a/internal/world/room.go
+++ b/internal/world/room.go
@@ -210,11 +210,7 @@ func (ro RoomObject) MarshalYAML() (interface{}, error) {
RemovalItem string `yaml:"removal_item,omitempty"`
Description behavior.DescList `yaml:"description,omitempty"`
UseInteractions []object.UseInteraction `yaml:"use_interactions,omitempty"`
- StealTable string `yaml:"steal_table,omitempty"`
- StealLevel int `yaml:"steal_level,omitempty"`
- StealXP int `yaml:"steal_xp,omitempty"`
- StealSpeed float64 `yaml:"steal_speed,omitempty"`
- GuardMob string `yaml:"guard_mob,omitempty"`
+ Steal *object.ObjectSteal `yaml:"steal,omitempty"`
Gather *behavior.GatherConfig `yaml:"gather,omitempty"`
Talk *behavior.TalkConfig `yaml:"talk,omitempty"`
Use *behavior.UseConfig `yaml:"use,omitempty"`
@@ -231,11 +227,7 @@ func (ro RoomObject) MarshalYAML() (interface{}, error) {
RemovalItem: def.RemovalItem,
Description: def.Description,
UseInteractions: def.UseInteractions,
- StealTable: def.StealTable,
- StealLevel: def.StealLevel,
- StealXP: def.StealXP,
- StealSpeed: def.StealSpeed,
- GuardMob: def.GuardMob,
+ Steal: def.Steal,
Gather: def.Gather,
Talk: def.Talk,
Use: def.Use,