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-05-17 18:14:14 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2024-05-17 18:14:14 -0400
commita47027bfb27d156e2614399851ff5e840e2d30b9 (patch)
tree239b1f55432c108d3dac49a3ecf947c83cf8aa4b /util/generate_gamedata.rb
parent0c25dc87e5ad9c8c8c2ff0ef5ac6502b166bc405 (diff)
parent95beaf55efe7f65ac6416f4fe08bd4f2f47f080e (diff)
downloadlingo-archipelago-a47027bfb27d156e2614399851ff5e840e2d30b9.tar.gz
lingo-archipelago-a47027bfb27d156e2614399851ff5e840e2d30b9.tar.bz2
lingo-archipelago-a47027bfb27d156e2614399851ff5e840e2d30b9.zip
Merge branch 'tinysphere' into future
Diffstat (limited to 'util/generate_gamedata.rb')
-rw-r--r--util/generate_gamedata.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/util/generate_gamedata.rb b/util/generate_gamedata.rb index 1f18b7e..ce8df43 100644 --- a/util/generate_gamedata.rb +++ b/util/generate_gamedata.rb
@@ -8,6 +8,7 @@ outputpath = ARGV[2]
8CLASSIFICATION_NORMAL = 1 8CLASSIFICATION_NORMAL = 1
9CLASSIFICATION_REDUCED = 2 9CLASSIFICATION_REDUCED = 2
10CLASSIFICATION_INSANITY = 4 10CLASSIFICATION_INSANITY = 4
11CLASSIFICATION_SMALL_SPHERE_ONE = 8
11 12
12panel_to_id = {} 13panel_to_id = {}
13door_groups = {} 14door_groups = {}
@@ -85,6 +86,10 @@ config.each do |room_name, room_data|
85 classification_by_location_id[location_id] += CLASSIFICATION_REDUCED 86 classification_by_location_id[location_id] += CLASSIFICATION_REDUCED
86 end 87 end
87 end 88 end
89
90 if room_name == "Starting Room"
91 classification_by_location_id[location_id] += CLASSIFICATION_SMALL_SPHERE_ONE
92 end
88 end 93 end
89 end 94 end
90 95