1
- from typing import Dict , List , Set , Tuple , TYPE_CHECKING
1
+ from typing import Dict , List , Set , TYPE_CHECKING
2
2
from BaseClasses import Region , ItemClassification , Item , Location
3
3
from .locations import location_table
4
4
from .er_data import Portal , tunic_er_regions , portal_mapping , \
@@ -89,7 +89,6 @@ def place_event_items(world: "TunicWorld", regions: Dict[str, Region]) -> None:
89
89
def vanilla_portals () -> Dict [Portal , Portal ]:
90
90
portal_pairs : Dict [Portal , Portal ] = {}
91
91
portal_map = portal_mapping .copy ()
92
- shop_num = 1
93
92
94
93
while portal_map :
95
94
portal1 = portal_map [0 ]
@@ -98,11 +97,10 @@ def vanilla_portals() -> Dict[Portal, Portal]:
98
97
portal2_sdt = portal1 .destination_scene ()
99
98
100
99
if portal2_sdt .startswith ("Shop," ):
101
- portal2 = Portal (name = f "Shop" , region = "Shop" ,
100
+ portal2 = Portal (name = "Shop" , region = "Shop" ,
102
101
destination = "Previous Region" , tag = "_" )
103
- shop_num += 1
104
102
105
- if portal2_sdt == "Purgatory, Purgatory_bottom" :
103
+ elif portal2_sdt == "Purgatory, Purgatory_bottom" :
106
104
portal2_sdt = "Purgatory, Purgatory_top"
107
105
108
106
for portal in portal_map :
0 commit comments