Archipelago/worlds/v6/Options.py

35 lines
1.0 KiB
Python
Raw Normal View History

2022-01-21 21:42:11 +00:00
import typing
from Options import Option, DeathLink, Range, Toggle
2022-01-21 21:42:11 +00:00
class DoorCost(Range):
"""Amount of Trinkets required to enter Areas. Set to 0 to disable artificial locks."""
range_start = 0
2022-01-25 22:17:22 +00:00
range_end = 3
2022-01-21 21:42:11 +00:00
default = 3
2022-02-05 15:53:43 +00:00
class AreaCostRandomizer(Toggle):
"""Randomize which Area requires which set of DoorCost Trinkets"""
display_name = "Area Cost Randomizer"
2022-01-21 21:42:11 +00:00
class DeathLinkAmnesty(Range):
"""Amount of Deaths to take before sending a DeathLink signal, for balancing difficulty"""
range_start = 0
range_end = 30
default = 15
class AreaRandomizer(Toggle):
"""Randomize Entrances to Areas"""
display_name = "Area Randomizer"
2022-02-04 21:56:54 +00:00
class MusicRandomizer(Toggle):
"""Randomize Music"""
display_name = "Music Randomizer"
2022-02-04 21:56:54 +00:00
2022-01-21 21:42:11 +00:00
v6_options: typing.Dict[str,type(Option)] = {
2022-02-04 21:56:54 +00:00
"MusicRandomizer": MusicRandomizer,
"AreaRandomizer": AreaRandomizer,
2022-01-21 21:42:11 +00:00
"DoorCost": DoorCost,
2022-02-05 15:53:43 +00:00
"AreaCostRandomizer": AreaCostRandomizer,
"death_link": DeathLink,
2022-01-21 21:42:11 +00:00
"DeathLinkAmnesty": DeathLinkAmnesty
}