mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Core: Fill fix local logic conflict (#1271)
This commit is contained in:
@@ -1,9 +1,13 @@
|
||||
import typing
|
||||
|
||||
from Options import Choice, Range, DeathLink
|
||||
from Options import Choice, Range, DeathLink, DefaultOnToggle
|
||||
from .Creatures import all_creatures, Definitions
|
||||
|
||||
|
||||
class EarlySeaglide(DefaultOnToggle):
|
||||
"""Make sure 2 of the Seaglide Fragments are available in or near the Safe Shallows (Sphere 1 Locations)."""
|
||||
|
||||
|
||||
class ItemPool(Choice):
|
||||
"""Valuable item pool leaves all filler items in their vanilla locations and
|
||||
creates random duplicates of important items into freed spots."""
|
||||
@@ -75,6 +79,7 @@ class SubnauticaDeathLink(DeathLink):
|
||||
|
||||
|
||||
options = {
|
||||
"early_seaglide": EarlySeaglide,
|
||||
"item_pool": ItemPool,
|
||||
"goal": Goal,
|
||||
"creature_scans": CreatureScans,
|
||||
|
@@ -47,7 +47,8 @@ class SubnauticaWorld(World):
|
||||
creatures_to_scan: List[str]
|
||||
|
||||
def generate_early(self) -> None:
|
||||
self.multiworld.local_early_items[self.player]["Seaglide Fragment"] = 2
|
||||
if self.multiworld.early_seaglide:
|
||||
self.multiworld.local_early_items[self.player]["Seaglide Fragment"] = 2
|
||||
|
||||
scan_option: Options.AggressiveScanLogic = self.multiworld.creature_scan_logic[self.player]
|
||||
creature_pool = scan_option.get_pool()
|
||||
|
Reference in New Issue
Block a user