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-07-16 13:40:29 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2024-07-16 13:40:29 -0400
commit59e2b90ef45adb2c76d139e5995cedb331322176 (patch)
treec63266a399fea67c379333dfee8803c87d6827e5 /util/generate_gamedata.rb
parent0e10801d335a52d3e88ad02a5f3ff9784a53a119 (diff)
parent6b5b85f96fc855810ac21e96e1aeb9cbde0fe88e (diff)
downloadlingo-archipelago-59e2b90ef45adb2c76d139e5995cedb331322176.tar.gz
lingo-archipelago-59e2b90ef45adb2c76d139e5995cedb331322176.tar.bz2
lingo-archipelago-59e2b90ef45adb2c76d139e5995cedb331322176.zip
Merge branch 'main' into panels
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 4f9dfd7..83099ad 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 = {}
@@ -89,6 +90,10 @@ config.each do |room_name, room_data|
89 classification_by_location_id[location_id] += CLASSIFICATION_REDUCED 90 classification_by_location_id[location_id] += CLASSIFICATION_REDUCED
90 end 91 end
91 end 92 end
93
94 if room_name == "Starting Room"
95 classification_by_location_id[location_id] += CLASSIFICATION_SMALL_SPHERE_ONE
96 end
92 end 97 end
93 end 98 end
94 99