diff options
| author | Star Rauchenberger <fefferburbia@gmail.com> | 2024-07-01 18:25:31 -0400 |
|---|---|---|
| committer | Star Rauchenberger <fefferburbia@gmail.com> | 2024-07-01 18:25:31 -0400 |
| commit | 54e7d00b57bc78b1b6ea78e845bf2e2ec10760a3 (patch) | |
| tree | cd02282a677fc9971cbd03733e3fc0b9ae1b5fdd /util/generate_gamedata.rb | |
| parent | 993265baeca879b5a26546a15a23606d30cb59e9 (diff) | |
| parent | a47027bfb27d156e2614399851ff5e840e2d30b9 (diff) | |
| download | lingo-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.rb | 5 |
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] | |||
| 8 | CLASSIFICATION_NORMAL = 1 | 8 | CLASSIFICATION_NORMAL = 1 |
| 9 | CLASSIFICATION_REDUCED = 2 | 9 | CLASSIFICATION_REDUCED = 2 |
| 10 | CLASSIFICATION_INSANITY = 4 | 10 | CLASSIFICATION_INSANITY = 4 |
| 11 | CLASSIFICATION_SMALL_SPHERE_ONE = 8 | ||
| 11 | 12 | ||
| 12 | panel_to_id = {} | 13 | panel_to_id = {} |
| 13 | door_groups = {} | 14 | door_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 | ||
