mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
DS3: Added DLC Items/Locations + corresponding option and added an option to enable materials/consumables/estus randomization (#1301)
- Added more progressive locations and associated items. - Added an option to enable materials/consumables/estus randomization, some players complain about the number of locations and the randomness of those items. - Added an option to add DLC Items and Locations to the pool, the player must own both the ASHES OF ARIANDEL and the RINGED CITY DLC. Co-authored-by: Br00ty <83629348+Br00ty@users.noreply.github.com> Co-authored-by: Friðberg Reynir Traustason <fridberg.traustason@gmail.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import typing
|
||||
from Options import Toggle, Option, DeathLink
|
||||
from Options import Toggle, Option, Range, Choice, DeathLink
|
||||
|
||||
|
||||
class AutoEquipOption(Toggle):
|
||||
@@ -29,10 +29,57 @@ class NoEquipLoadOption(Toggle):
|
||||
display_name = "No Equip load"
|
||||
|
||||
|
||||
class RandomizeWeaponsLevelOption(Toggle):
|
||||
"""Enable this option to upgrade 33% ( based on the probability chance ) of the pool of weapons to a random value
|
||||
between +1 and +5/+10"""
|
||||
class RandomizeWeaponsLevelOption(Choice):
|
||||
"""Enable this option to upgrade a percentage of the pool of weapons to a random value between the minimum and
|
||||
maximum levels defined.
|
||||
all: All weapons are eligible, both basic and epic
|
||||
basic: Only weapons that can be upgraded to +10
|
||||
epic: Only weapons that can be upgraded to +5"""
|
||||
display_name = "Randomize weapons level"
|
||||
option_none = 0
|
||||
option_all = 1
|
||||
option_basic = 2
|
||||
option_epic = 3
|
||||
|
||||
|
||||
class RandomizeWeaponsLevelPercentageOption(Range):
|
||||
"""The percentage of weapons in the pool to be upgraded if randomize weapons level is toggled"""
|
||||
display_name = "Percentage of randomized weapons"
|
||||
range_start = 1
|
||||
range_end = 100
|
||||
default = 33
|
||||
|
||||
|
||||
class MinLevelsIn5WeaponPoolOption(Range):
|
||||
"""The minimum upgraded value of a weapon in the pool of weapons that can only reach +5"""
|
||||
display_name = "Minimum level of +5 weapons"
|
||||
range_start = 1
|
||||
range_end = 5
|
||||
default = 1
|
||||
|
||||
|
||||
class MaxLevelsIn5WeaponPoolOption(Range):
|
||||
"""The maximum upgraded value of a weapon in the pool of weapons that can only reach +5"""
|
||||
display_name = "Maximum level of +5 weapons"
|
||||
range_start = 1
|
||||
range_end = 5
|
||||
default = 5
|
||||
|
||||
|
||||
class MinLevelsIn10WeaponPoolOption(Range):
|
||||
"""The minimum upgraded value of a weapon in the pool of weapons that can reach +10"""
|
||||
display_name = "Minimum level of +10 weapons"
|
||||
range_start = 1
|
||||
range_end = 10
|
||||
default = 1
|
||||
|
||||
|
||||
class MaxLevelsIn10WeaponPoolOption(Range):
|
||||
"""The maximum upgraded value of a weapon in the pool of weapons that can reach +10"""
|
||||
display_name = "Maximum level of +10 weapons"
|
||||
range_start = 1
|
||||
range_end = 10
|
||||
default = 10
|
||||
|
||||
|
||||
class LateBasinOfVowsOption(Toggle):
|
||||
@@ -41,14 +88,31 @@ class LateBasinOfVowsOption(Toggle):
|
||||
display_name = "Late Basin of Vows"
|
||||
|
||||
|
||||
class EnableProgressiveLocationsOption(Toggle):
|
||||
"""Randomize upgrade materials such as the titanite shards, the estus shards and the consumables"""
|
||||
display_name = "Randomize materials, Estus shards and consumables (+196 checks/items)"
|
||||
|
||||
|
||||
class EnableDLCOption(Toggle):
|
||||
"""To use this option, you must own both the ASHES OF ARIANDEL and the RINGED CITY DLC"""
|
||||
display_name = "Add the DLC Items and Locations to the pool (+81 checks/items)"
|
||||
|
||||
|
||||
dark_souls_options: typing.Dict[str, type(Option)] = {
|
||||
"auto_equip": AutoEquipOption,
|
||||
"lock_equip": LockEquipOption,
|
||||
"no_weapon_requirements": NoWeaponRequirementsOption,
|
||||
"randomize_weapons_level": RandomizeWeaponsLevelOption,
|
||||
"randomize_weapons_percentage": RandomizeWeaponsLevelPercentageOption,
|
||||
"min_levels_in_5": MinLevelsIn5WeaponPoolOption,
|
||||
"max_levels_in_5": MaxLevelsIn5WeaponPoolOption,
|
||||
"min_levels_in_10": MinLevelsIn10WeaponPoolOption,
|
||||
"max_levels_in_10": MaxLevelsIn10WeaponPoolOption,
|
||||
"late_basin_of_vows": LateBasinOfVowsOption,
|
||||
"no_spell_requirements": NoSpellRequirementsOption,
|
||||
"no_equip_load": NoEquipLoadOption,
|
||||
"death_link": DeathLink,
|
||||
"enable_progressive_locations": EnableProgressiveLocationsOption,
|
||||
"enable_dlc": EnableDLCOption,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user