mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 12:11:33 -06:00
Core: add panic_method setting (#3261)
This commit is contained in:
@@ -665,6 +665,14 @@ class GeneratorOptions(Group):
|
||||
OFF = 0
|
||||
ON = 1
|
||||
|
||||
class PanicMethod(str):
|
||||
"""
|
||||
What to do if the current item placements appear unsolvable.
|
||||
raise -> Raise an exception and abort.
|
||||
swap -> Attempt to fix it by swapping prior placements around. (Default)
|
||||
start_inventory -> Move remaining items to start_inventory, generate additional filler items to fill locations.
|
||||
"""
|
||||
|
||||
enemizer_path: EnemizerPath = EnemizerPath("EnemizerCLI/EnemizerCLI.Core") # + ".exe" is implied on Windows
|
||||
player_files_path: PlayerFilesPath = PlayerFilesPath("Players")
|
||||
players: Players = Players(0)
|
||||
@@ -673,6 +681,7 @@ class GeneratorOptions(Group):
|
||||
spoiler: Spoiler = Spoiler(3)
|
||||
race: Race = Race(0)
|
||||
plando_options: PlandoOptions = PlandoOptions("bosses, connections, texts")
|
||||
panic_method: PanicMethod = PanicMethod("swap")
|
||||
|
||||
|
||||
class SNIOptions(Group):
|
||||
|
Reference in New Issue
Block a user