Skip to content

Commit

Permalink
Update slot data
Browse files Browse the repository at this point in the history
  • Loading branch information
Alchav committed Oct 29, 2023
1 parent 1cb22c0 commit da9f448
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions worlds/alttp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -770,18 +770,15 @@ def fill_slot_data(self):
slot_options = ["crystals_needed_for_gt", "crystals_needed_for_ganon", "open_pyramid",
"bigkey_shuffle", "smallkey_shuffle", "compass_shuffle", "map_shuffle",
"progressive", "swordless", "retro_bow", "retro_caves", "shop_item_slots",
"boss_shuffle", "pot_shuffle", "enemy_shuffle", "key_drop_shuffle"]
"boss_shuffle", "pot_shuffle", "enemy_shuffle", "key_drop_shuffle", "bombless_start",
"randomize_shop_inventories", "shuffle_shop_inventories", "shuffle_capacity_upgrades",
"combined_capacity_upgrades", "entrance_shuffle", "dark_room_logic", "goal", "mode"]

slot_data = {option_name: getattr(self.multiworld, option_name)[self.player].value for option_name in slot_options}

slot_data.update({
'mode': self.multiworld.mode[self.player],
'goal': self.multiworld.goal[self.player],
'dark_room_logic': self.multiworld.dark_room_logic[self.player],
'mm_medalion': self.multiworld.required_medallions[self.player][0],
'tr_medalion': self.multiworld.required_medallions[self.player][1],
'shop_shuffle': self.multiworld.shop_shuffle[self.player],
'entrance_shuffle': self.multiworld.shuffle[self.player],
}
)
return slot_data
Expand Down

0 comments on commit da9f448

Please sign in to comment.