mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Option changes based on feedback along with typos and punctuation issues
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
from dataclasses import dataclass
|
from dataclasses import dataclass
|
||||||
|
|
||||||
from Options import FreeText, NumericOption, Toggle, DefaultOnToggle, Choice, TextChoice, Range, NamedRange, OptionList, \
|
from Options import FreeText, NumericOption, Toggle, DefaultOnToggle, Choice, TextChoice, Range, NamedRange, OptionList, \
|
||||||
PerGameCommonOptions
|
PerGameCommonOptions, OptionSet
|
||||||
|
|
||||||
class StartingArea(Choice):
|
class StartingArea(Choice):
|
||||||
"""
|
"""
|
||||||
@@ -39,24 +39,38 @@ class Missionsanity(Choice):
|
|||||||
option_both = 3
|
option_both = 3
|
||||||
default = 1
|
default = 1
|
||||||
|
|
||||||
class AnnoyingLocations(DefaultOnToggle):
|
class ExcludeRegions(OptionSet):
|
||||||
"""Makes certain long, annoying, and tedious checks to be excluded [NOT IMPLEMENTED]"""
|
"""Allows entire regions to be an excluded location to ensure you are not logically required to enter the region along
|
||||||
display_name = "Annoying Locations"
|
with any and all checks that are in that region too. WARNING: Excluding too many regions may cause generation to fail.
|
||||||
|
|
||||||
|
Valid keys: "Whoville", "Who Forest", "Who Dump", "Who Lake", "Post Office", "Countdown to X-Mas Clock Tower", "City Hall",
|
||||||
|
"Ski Resort", "Civic Center", "Minefield", "Power Plant", "Generator Building", "Scout's Hut",
|
||||||
|
"North Shore", "Mayor's Villa", "Sleigh Ride"
|
||||||
|
|
||||||
|
[NOT IMPLEMENTED]"""
|
||||||
|
display_name = "Exclude Regions"
|
||||||
|
valid_keys = {"Whoville", "Who Forest", "Who Dump", "Who Lake", "Post Office", "Countdown to X-Mas Clock Tower", "City Hall",
|
||||||
|
"Ski Resort", "Civic Center", "Minefield", "Power Plant", "Generator Building", "Scout's Hut",
|
||||||
|
"North Shore", "Mayor's Villa", "Sleigh Ride"}
|
||||||
|
|
||||||
class ProgressiveGadget(Toggle):#DefaultOnToggle
|
class ProgressiveGadget(Toggle):#DefaultOnToggle
|
||||||
"""
|
"""
|
||||||
Determines whether you get access to a gadget as individual blueprint count [NOT IMPLEMENTED]
|
Determines whether you get access to a gadget as individual blueprint count. [NOT IMPLEMENTED]
|
||||||
"""
|
"""
|
||||||
display_name = "Progressive Gadgets"
|
display_name = "Progressive Gadgets"
|
||||||
|
|
||||||
class Supadow(Toggle):
|
class Supadow(Toggle):
|
||||||
"""Enables completing minigames through the Supadows in Mount Crumpit as checks. (9 locations) [NOT IMPLEMENTED]"""
|
"""Enables completing minigames through the Supadows in Mount Crumpit as checks. NOT IMPLEMENTED]"""
|
||||||
display_name = "Supadow Minigame Locations"
|
display_name = "Supadow Minigames"
|
||||||
|
|
||||||
|
|
||||||
class Gifts(Toggle):
|
class Gifts(Range):
|
||||||
"""Missions that require you to squash every present in a level. (4 locations) [NOT IMPLEMENTED]"""
|
"""Considers how many gifts must be squashed per check.
|
||||||
display_name = "Gift Collection Locations"
|
Enabling this will also enable squashing all gifts in a region mission along side this. [NOT IMPLEMENTED]"""
|
||||||
|
display_name = "Gifts Squashed per check"
|
||||||
|
range_start = 0
|
||||||
|
range_end = 300
|
||||||
|
default = 0
|
||||||
|
|
||||||
|
|
||||||
class Movesanity(Toggle):
|
class Movesanity(Toggle):
|
||||||
@@ -70,16 +84,18 @@ class UnlimitedEggs(Toggle):
|
|||||||
|
|
||||||
class RingLinkOption(Toggle):
|
class RingLinkOption(Toggle):
|
||||||
"""Whenever this is toggled, your ammo is linked with other ringlink-compatible games that also have this enabled."""
|
"""Whenever this is toggled, your ammo is linked with other ringlink-compatible games that also have this enabled."""
|
||||||
|
display_name = "Ring Link"
|
||||||
|
|
||||||
class TrapLinkOption(Toggle):
|
class TrapLinkOption(Toggle):
|
||||||
"""If a trap is sent from Grinch, traps that are compatible with other games are triggered aswell. [NOT IMPLEMENTED]"""
|
"""If a trap is sent from Grinch, traps that are compatible with other games are triggered as well. [NOT IMPLEMENTED]"""
|
||||||
|
display_name = "Trap Link"
|
||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
class GrinchOptions(PerGameCommonOptions):#DeathLinkMixin
|
class GrinchOptions(PerGameCommonOptions):#DeathLinkMixin
|
||||||
starting_area: StartingArea
|
starting_area: StartingArea
|
||||||
progressive_vacuum: ProgressiveVacuum
|
progressive_vacuum: ProgressiveVacuum
|
||||||
missionsanity: Missionsanity
|
missionsanity: Missionsanity
|
||||||
annoying_locations: AnnoyingLocations
|
exclude_regions: ExcludeRegions
|
||||||
progressive_gadget: ProgressiveGadget
|
progressive_gadget: ProgressiveGadget
|
||||||
supadow_minigames: Supadow
|
supadow_minigames: Supadow
|
||||||
giftsanity: Gifts
|
giftsanity: Gifts
|
||||||
|
Reference in New Issue
Block a user