mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
DS3: Fix health locations setting not enabling (#2147)
* DS3: Fix health locations setting not enabling * DS3: Move health locations to their own table * DS3: Bump data version
This commit is contained in:
@@ -46,7 +46,7 @@ class DarkSouls3World(World):
|
||||
option_definitions = dark_souls_options
|
||||
topology_present: bool = True
|
||||
web = DarkSouls3Web()
|
||||
data_version = 7
|
||||
data_version = 8
|
||||
base_id = 100000
|
||||
enabled_location_categories: Set[DS3LocationCategory]
|
||||
required_client_version = (0, 4, 2)
|
||||
@@ -89,7 +89,7 @@ class DarkSouls3World(World):
|
||||
|
||||
def create_regions(self):
|
||||
progressive_location_table = []
|
||||
if self.multiworld.enable_progressive_locations[self.player].value:
|
||||
if self.multiworld.enable_progressive_locations[self.player]:
|
||||
progressive_location_table = [] + \
|
||||
location_tables["Progressive Items 1"] + \
|
||||
location_tables["Progressive Items 2"] + \
|
||||
@@ -99,6 +99,9 @@ class DarkSouls3World(World):
|
||||
if self.multiworld.enable_dlc[self.player].value:
|
||||
progressive_location_table += location_tables["Progressive Items DLC"]
|
||||
|
||||
if self.multiworld.enable_health_upgrade_locations[self.player]:
|
||||
progressive_location_table += location_tables["Progressive Items Health"]
|
||||
|
||||
# Create Vanilla Regions
|
||||
regions: Dict[str, Region] = {}
|
||||
regions["Menu"] = self.create_region("Menu", progressive_location_table)
|
||||
|
||||
Reference in New Issue
Block a user