mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Lingo: Add speed boost mode (#3989)
* Add speed boost mode * Update generated.dat * Modify the actual trap weights option when speed boost mode is on * EOF newline * Update generated.dat
This commit is contained in:

committed by
GitHub

parent
207a76d1b5
commit
1eefe23f11
@@ -232,6 +232,14 @@ class TrapWeights(OptionDict):
|
||||
default = {trap_name: 1 for trap_name in TRAP_ITEMS}
|
||||
|
||||
|
||||
class SpeedBoostMode(Toggle):
|
||||
"""
|
||||
If on, the player's default speed is halved, as if affected by a Slowness Trap. Speed Boosts are added to
|
||||
the item pool, which temporarily return the player to normal speed. Slowness Traps are removed from the pool.
|
||||
"""
|
||||
display_name = "Speed Boost Mode"
|
||||
|
||||
|
||||
class PuzzleSkipPercentage(Range):
|
||||
"""Replaces junk items with puzzle skips, at the specified rate."""
|
||||
display_name = "Puzzle Skip Percentage"
|
||||
@@ -260,6 +268,7 @@ lingo_option_groups = [
|
||||
Level2Requirement,
|
||||
TrapPercentage,
|
||||
TrapWeights,
|
||||
SpeedBoostMode,
|
||||
PuzzleSkipPercentage,
|
||||
])
|
||||
]
|
||||
@@ -287,6 +296,7 @@ class LingoOptions(PerGameCommonOptions):
|
||||
shuffle_postgame: ShufflePostgame
|
||||
trap_percentage: TrapPercentage
|
||||
trap_weights: TrapWeights
|
||||
speed_boost_mode: SpeedBoostMode
|
||||
puzzle_skip_percentage: PuzzleSkipPercentage
|
||||
death_link: DeathLink
|
||||
start_inventory_from_pool: StartInventoryPool
|
||||
|
Reference in New Issue
Block a user