diff options
Diffstat (limited to 'apworld/__init__.py')
| -rw-r--r-- | apworld/__init__.py | 6 |
1 files changed, 6 insertions, 0 deletions
| diff --git a/apworld/__init__.py b/apworld/__init__.py index 5bad63e..42350bc 100644 --- a/apworld/__init__.py +++ b/apworld/__init__.py | |||
| @@ -71,6 +71,10 @@ class Lingo2World(World): | |||
| 71 | self.port_pairings = {} | 71 | self.port_pairings = {} |
| 72 | 72 | ||
| 73 | def create_regions(self): | 73 | def create_regions(self): |
| 74 | if hasattr(self.multiworld, "re_gen_passthrough") and "Lingo 2" in self.multiworld.re_gen_passthrough: | ||
| 75 | self.player_logic.rte_mapping = [self.world.static_logic.map_id_by_name[map_name] | ||
| 76 | for map_name in self.multiworld.re_gen_passthrough["Lingo 2"]["rte"]] | ||
| 77 | |||
| 74 | create_regions(self) | 78 | create_regions(self) |
| 75 | 79 | ||
| 76 | def connect_entrances(self): | 80 | def connect_entrances(self): |
| @@ -140,6 +144,7 @@ class Lingo2World(World): | |||
| 140 | "enable_gift_maps", | 144 | "enable_gift_maps", |
| 141 | "enable_icarus", | 145 | "enable_icarus", |
| 142 | "endings_requirement", | 146 | "endings_requirement", |
| 147 | "fast_travel_access", | ||
| 143 | "keyholder_sanity", | 148 | "keyholder_sanity", |
| 144 | "masteries_requirement", | 149 | "masteries_requirement", |
| 145 | "shuffle_control_center_colors", | 150 | "shuffle_control_center_colors", |
| @@ -155,6 +160,7 @@ class Lingo2World(World): | |||
| 155 | 160 | ||
| 156 | slot_data: dict[str, object] = { | 161 | slot_data: dict[str, object] = { |
| 157 | **self.options.as_dict(*slot_options), | 162 | **self.options.as_dict(*slot_options), |
| 163 | "rte": [self.static_logic.objects.maps[map_id].name for map_id in self.player_logic.rte_mapping], | ||
| 158 | "version": self.static_logic.get_data_version(), | 164 | "version": self.static_logic.get_data_version(), |
| 159 | } | 165 | } |
| 160 | 166 | ||
