diff options
| author | Star Rauchenberger <fefferburbia@gmail.com> | 2025-09-09 16:44:09 -0400 |
|---|---|---|
| committer | Star Rauchenberger <fefferburbia@gmail.com> | 2025-09-09 16:44:09 -0400 |
| commit | 8de745f4d3350ac848c9362a33e223c0ff94fdcf (patch) | |
| tree | 102db82fd9c7822dd6c0d6e9a555181faf9ba00e /apworld/static_logic.py | |
| parent | 6dc4fae2ee9b7b9145a8938e95080dba448cf44a (diff) | |
| download | lingo2-archipelago-8de745f4d3350ac848c9362a33e223c0ff94fdcf.tar.gz lingo2-archipelago-8de745f4d3350ac848c9362a33e223c0ff94fdcf.tar.bz2 lingo2-archipelago-8de745f4d3350ac848c9362a33e223c0ff94fdcf.zip | |
Added symbol shuffle
Also fixed unlocked letters + any double letter cyan doors, and tweaked some logic related to important panels with symbols on them.
Diffstat (limited to 'apworld/static_logic.py')
| -rw-r--r-- | apworld/static_logic.py | 4 |
1 files changed, 4 insertions, 0 deletions
| diff --git a/apworld/static_logic.py b/apworld/static_logic.py index 0cc7e55..c112d8e 100644 --- a/apworld/static_logic.py +++ b/apworld/static_logic.py | |||
| @@ -1,4 +1,5 @@ | |||
| 1 | from .generated import data_pb2 as data_pb2 | 1 | from .generated import data_pb2 as data_pb2 |
| 2 | from .items import SYMBOL_ITEMS | ||
| 2 | import pkgutil | 3 | import pkgutil |
| 3 | 4 | ||
| 4 | class Lingo2StaticLogic: | 5 | class Lingo2StaticLogic: |
| @@ -64,6 +65,9 @@ class Lingo2StaticLogic: | |||
| 64 | 65 | ||
| 65 | self.item_id_to_name[self.objects.special_ids["A Job Well Done"]] = "A Job Well Done" | 66 | self.item_id_to_name[self.objects.special_ids["A Job Well Done"]] = "A Job Well Done" |
| 66 | 67 | ||
| 68 | for symbol_name in SYMBOL_ITEMS.values(): | ||
| 69 | self.item_id_to_name[self.objects.special_ids[symbol_name]] = symbol_name | ||
| 70 | |||
| 67 | self.item_name_to_id = {name: ap_id for ap_id, name in self.item_id_to_name.items()} | 71 | self.item_name_to_id = {name: ap_id for ap_id, name in self.item_id_to_name.items()} |
| 68 | self.location_name_to_id = {name: ap_id for ap_id, name in self.location_id_to_name.items()} | 72 | self.location_name_to_id = {name: ap_id for ap_id, name in self.location_id_to_name.items()} |
| 69 | 73 | ||
