@@ -80,17 +80,23 @@ def create_items(self):
80
80
else :
81
81
pass
82
82
83
- if self .multiworld .hexagon_quest [self .player ].value and item_name == "Gold Hexagon" :
84
- if self .multiworld .keys_behind_bosses [self .player ].value :
85
- for location in hexagon_locations .values ():
86
- self .multiworld .get_location (location , self .player )\
87
- .place_locked_item (self .create_item ("Gold Hexagon" ))
88
- item_data .quantity_in_item_pool = 27
89
-
90
- for i in range (0 , item_data .quantity_in_item_pool ):
91
- items .append (self .create_item (item_name ))
92
- # adding a money x1 to even out the pool with this option
93
- items .append (self .create_item ("Money x1" ))
83
+ if item_name == "Gold Hexagon" :
84
+ # if hexagon quest is on, add the gold hexagons in
85
+ if self .multiworld .hexagon_quest [self .player ].value :
86
+ # if keys are behind bosses, place 3 manually
87
+ if self .multiworld .keys_behind_bosses [self .player ].value :
88
+ for location in hexagon_locations .values ():
89
+ self .multiworld .get_location (location , self .player )\
90
+ .place_locked_item (self .create_item ("Gold Hexagon" ))
91
+ item_data .quantity_in_item_pool = item_data .quantity_in_item_pool - 3
92
+
93
+ for i in range (0 , item_data .quantity_in_item_pool ):
94
+ items .append (self .create_item (item_name ))
95
+ # adding a money x1 to even out the pool with this option
96
+ items .append (self .create_item ("Money x1" ))
97
+ else :
98
+ # if not doing hexagon quest, just skip the gold hexagons
99
+ continue
94
100
elif self .multiworld .hexagon_quest [self .player ].value and \
95
101
("Pages" in item_name or item_name in ["Red Hexagon" , "Green Hexagon" , "Blue Hexagon" ]):
96
102
continue
0 commit comments