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-01 18:25:31 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2024-07-01 18:25:31 -0400
commit54e7d00b57bc78b1b6ea78e845bf2e2ec10760a3 (patch)
treecd02282a677fc9971cbd03733e3fc0b9ae1b5fdd /util/generate_gamedata.rb
parent993265baeca879b5a26546a15a23606d30cb59e9 (diff)
parenta47027bfb27d156e2614399851ff5e840e2d30b9 (diff)
downloadlingo-archipelago-54e7d00b57bc78b1b6ea78e845bf2e2ec10760a3.tar.gz
lingo-archipelago-54e7d00b57bc78b1b6ea78e845bf2e2ec10760a3.tar.bz2
lingo-archipelago-54e7d00b57bc78b1b6ea78e845bf2e2ec10760a3.zip
Merge branch '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