From 17ccfdc266d382ec38b7f1811d8ea430367cdc3b Mon Sep 17 00:00:00 2001 From: Exempt-Medic <60412657+Exempt-Medic@users.noreply.github.com> Date: Fri, 8 Aug 2025 15:07:36 -0400 Subject: [PATCH] DS3: Don't Create Disabled Locations (#5292) --- worlds/dark_souls_3/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/worlds/dark_souls_3/__init__.py b/worlds/dark_souls_3/__init__.py index 6584ccec..a1ad2f6a 100644 --- a/worlds/dark_souls_3/__init__.py +++ b/worlds/dark_souls_3/__init__.py @@ -267,6 +267,10 @@ class DarkSouls3World(World): # Don't allow missable duplicates of progression items to be expected progression. if location.name in self.missable_dupe_prog_locs: continue + # Don't create DLC and NGP locations if those are disabled + if location.dlc and not self.options.enable_dlc: continue + if location.ngp and not self.options.enable_ngp: continue + # Replace non-randomized items with events that give the default item event_item = ( self.create_item(location.default_item_name) if location.default_item_name