about summary refs log tree commit diff stats
path: root/util/generate_gamedata.rb
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2024-03-23 17:36:37 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2024-03-23 17:36:37 -0400
commit4c4cc63421f4cacfa006fe01765183b22937f9ce (patch)
tree53397b2bc9255ffae13b80f7a9a1d62d53fcfc08 /util/generate_gamedata.rb
parent38004bc2cd3d27b40ab9942488ed0257751337e0 (diff)
parent60bfc95698c6318a37b08b33944a2a21beb14bc3 (diff)
downloadlingo-archipelago-4c4cc63421f4cacfa006fe01765183b22937f9ce.tar.gz
lingo-archipelago-4c4cc63421f4cacfa006fe01765183b22937f9ce.tar.bz2
lingo-archipelago-4c4cc63421f4cacfa006fe01765183b22937f9ce.zip
Merge branch 'groups' into future
Diffstat (limited to 'util/generate_gamedata.rb')
-rw-r--r--util/generate_gamedata.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/generate_gamedata.rb b/util/generate_gamedata.rb index 5e03655..f63e062 100644 --- a/util/generate_gamedata.rb +++ b/util/generate_gamedata.rb
@@ -132,9 +132,9 @@ config.each do |room_name, room_data|
132 internal_door_ids = door["id"] 132 internal_door_ids = door["id"]
133 end 133 end
134 134
135 if door.include? "group" 135 if door.include? "door_group"
136 door_groups[door["group"]] ||= Set[] 136 door_groups[door["door_group"]] ||= Set[]
137 door_groups[door["group"]].merge(internal_door_ids) 137 door_groups[door["door_group"]].merge(internal_door_ids)
138 end 138 end
139 139
140 door_ids_by_item_id[item_id] = internal_door_ids 140 door_ids_by_item_id[item_id] = internal_door_ids