mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Timespinner: Update AP to have parity with standalone options (#3805)
This commit is contained in:
@@ -102,6 +102,7 @@ class TimespinnerWorld(World):
|
||||
"DamageRando": self.options.damage_rando.value,
|
||||
"DamageRandoOverrides": self.options.damage_rando_overrides.value,
|
||||
"HpCap": self.options.hp_cap.value,
|
||||
"AuraCap": self.options.aura_cap.value,
|
||||
"LevelCap": self.options.level_cap.value,
|
||||
"ExtraEarringsXP": self.options.extra_earrings_xp.value,
|
||||
"BossHealing": self.options.boss_healing.value,
|
||||
@@ -119,6 +120,7 @@ class TimespinnerWorld(World):
|
||||
"RisingTides": self.options.rising_tides.value,
|
||||
"UnchainedKeys": self.options.unchained_keys.value,
|
||||
"PresentAccessWithWheelAndSpindle": self.options.back_to_the_future.value,
|
||||
"PrismBreak": self.options.prism_break.value,
|
||||
"Traps": self.options.traps.value,
|
||||
"DeathLink": self.options.death_link.value,
|
||||
"StinkyMaw": True,
|
||||
@@ -224,6 +226,9 @@ class TimespinnerWorld(World):
|
||||
elif name in {"Timeworn Warp Beacon", "Modern Warp Beacon", "Mysterious Warp Beacon"} \
|
||||
and not self.options.unchained_keys:
|
||||
item.classification = ItemClassification.filler
|
||||
elif name in {"Laser Access A", "Laser Access I", "Laser Access M"} \
|
||||
and not self.options.prism_break:
|
||||
item.classification = ItemClassification.filler
|
||||
|
||||
return item
|
||||
|
||||
@@ -256,6 +261,11 @@ class TimespinnerWorld(World):
|
||||
excluded_items.add('Modern Warp Beacon')
|
||||
excluded_items.add('Mysterious Warp Beacon')
|
||||
|
||||
if not self.options.prism_break:
|
||||
excluded_items.add('Laser Access A')
|
||||
excluded_items.add('Laser Access I')
|
||||
excluded_items.add('Laser Access M')
|
||||
|
||||
for item in self.multiworld.precollected_items[self.player]:
|
||||
if item.name not in self.item_name_groups['UseItem']:
|
||||
excluded_items.add(item.name)
|
||||
|
Reference in New Issue
Block a user