mirror of
https://github.com/ArchipelagoMW/Archipelago.git
synced 2026-03-28 02:33:31 -07:00
No more loading the data package
This commit is contained in:
@@ -81,11 +81,17 @@ annoying_bonuses = [
|
||||
"So You're Back From Outer Space",
|
||||
"Encore! Encore!",
|
||||
"Snatcher's Hit List",
|
||||
"Vault Codes in the Wind",
|
||||
"10 Seconds until Self-Destruct",
|
||||
"Killing Two Birds",
|
||||
"Zero Jumps",
|
||||
"Boss Rush",
|
||||
"Bird Sanctuary",
|
||||
"The Mustache Gauntlet",
|
||||
"Wound-Up Windmill",
|
||||
"Camera Tourist",
|
||||
"Rift Collapse: Deep Sea",
|
||||
"Cruisin' for a Bruisin'",
|
||||
"Seal the Deal",
|
||||
]
|
||||
|
||||
|
||||
@@ -566,7 +566,13 @@ class DWExcludeAnnoyingBonuses(Toggle):
|
||||
- Zero Jumps
|
||||
- Bird Sanctuary
|
||||
- Wound-Up Windmill
|
||||
- Seal the Deal"""
|
||||
- Vault Codes in the Wind
|
||||
- Boss Rush
|
||||
- Camera Tourist
|
||||
- The Mustache Gauntlet
|
||||
- Rift Collapse: Deep Sea
|
||||
- Cruisin' for a Bruisin'
|
||||
- Seal the Deal"""
|
||||
display_name = "Exclude Annoying Death Wish Full Completions"
|
||||
default = 1
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
from BaseClasses import Item, ItemClassification, Tutorial
|
||||
from BaseClasses import Item, ItemClassification, Tutorial, Location
|
||||
from .Items import item_table, create_item, relic_groups, act_contracts, create_itempool
|
||||
from .Regions import create_regions, randomize_act_entrances, chapter_act_info, create_events, get_shuffled_region
|
||||
from .Locations import location_table, contract_locations, is_location_valid, get_location_names, TASKSANITY_START_ID, \
|
||||
@@ -229,6 +229,13 @@ class HatInTimeWorld(World):
|
||||
for i in range(len(shuffled_dws)):
|
||||
slot_data[f"dw_{i}"] = dw_classes[shuffled_dws[i]]
|
||||
|
||||
shop_item_names: Dict[str, str] = {}
|
||||
for name in self.shop_locs:
|
||||
loc: Location = self.multiworld.get_location(name, self.player)
|
||||
shop_item_names.setdefault(str(loc.address), loc.item.name)
|
||||
|
||||
slot_data["ShopItemNames"] = shop_item_names
|
||||
|
||||
for name, value in self.options.as_dict(*self.options_dataclass.type_hints).items():
|
||||
if name in slot_data_options:
|
||||
slot_data[name] = value
|
||||
|
||||
Reference in New Issue
Block a user