From ea87cbbe4a23ceff72f31e461c7ead32f560031e Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sat, 25 Oct 2025 11:20:55 -0400 Subject: Made White Ending customizable --- apworld/options.py | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'apworld/options.py') diff --git a/apworld/options.py b/apworld/options.py index 7577e0c..a56b40d 100644 --- a/apworld/options.py +++ b/apworld/options.py @@ -181,6 +181,26 @@ class VictoryCondition(Choice): option_white_ending = 12 +class EndingsRequirement(Range): + """The number of endings required to unlock White Ending.""" + display_name = "Endings Requirement" + range_start = 0 + range_end = 12 + default = 12 + + +class MasteriesRequirement(Range): + """The number of masteries required to unlock White Ending. + + There are only 13 masteries in the base game, but some of the other slot options may add more masteries to the + world. If the chosen number of masteries is higher than the total in your world, it will be automatically lowered to + the maximum.""" + display_name = "Masteries Requirement" + range_start = 0 + range_end = 18 + default = 0 + + class TrapPercentage(Range): """Replaces junk items with traps, at the specified rate.""" display_name = "Trap Percentage" @@ -205,4 +225,6 @@ class Lingo2Options(PerGameCommonOptions): strict_purple_ending: StrictPurpleEnding strict_cyan_ending: StrictCyanEnding victory_condition: VictoryCondition + endings_requirement: EndingsRequirement + masteries_requirement: MasteriesRequirement trap_percentage: TrapPercentage -- cgit 1.4.1