mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 12:11:33 -06:00
Removing old option getters (#3285)
This commit is contained in:
@@ -181,7 +181,7 @@ class DOOM1993World(World):
|
|||||||
# platform) Unless the user allows for it.
|
# platform) Unless the user allows for it.
|
||||||
if not allow_death_logic:
|
if not allow_death_logic:
|
||||||
for death_logic_location in Locations.death_logic_locations:
|
for death_logic_location in Locations.death_logic_locations:
|
||||||
self.multiworld.exclude_locations[self.player].value.add(death_logic_location)
|
self.options.exclude_locations.value.add(death_logic_location)
|
||||||
|
|
||||||
def create_item(self, name: str) -> DOOM1993Item:
|
def create_item(self, name: str) -> DOOM1993Item:
|
||||||
item_id: int = self.item_name_to_id[name]
|
item_id: int = self.item_name_to_id[name]
|
||||||
|
@@ -172,7 +172,7 @@ class DOOM2World(World):
|
|||||||
# platform) Unless the user allows for it.
|
# platform) Unless the user allows for it.
|
||||||
if not allow_death_logic:
|
if not allow_death_logic:
|
||||||
for death_logic_location in Locations.death_logic_locations:
|
for death_logic_location in Locations.death_logic_locations:
|
||||||
self.multiworld.exclude_locations[self.player].value.add(death_logic_location)
|
self.options.exclude_locations.value.add(death_logic_location)
|
||||||
|
|
||||||
def create_item(self, name: str) -> DOOM2Item:
|
def create_item(self, name: str) -> DOOM2Item:
|
||||||
item_id: int = self.item_name_to_id[name]
|
item_id: int = self.item_name_to_id[name]
|
||||||
|
@@ -182,7 +182,7 @@ class HereticWorld(World):
|
|||||||
# platform) Unless the user allows for it.
|
# platform) Unless the user allows for it.
|
||||||
if not allow_death_logic:
|
if not allow_death_logic:
|
||||||
for death_logic_location in Locations.death_logic_locations:
|
for death_logic_location in Locations.death_logic_locations:
|
||||||
self.multiworld.exclude_locations[self.player].value.add(death_logic_location)
|
self.options.exclude_locations.value.add(death_logic_location)
|
||||||
|
|
||||||
def create_item(self, name: str) -> HereticItem:
|
def create_item(self, name: str) -> HereticItem:
|
||||||
item_id: int = self.item_name_to_id[name]
|
item_id: int = self.item_name_to_id[name]
|
||||||
|
Reference in New Issue
Block a user