TUNIC: Add option presets (#3377)

* Add option presets

* why the hell is there an s here

* entrance rando yes
This commit is contained in:
Scipio Wright 2024-05-22 20:12:59 -04:00 committed by GitHub
parent 92392c0e65
commit a43e294786
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 24 additions and 2 deletions

View File

@ -8,7 +8,7 @@ from .er_rules import set_er_location_rules
from .regions import tunic_regions
from .er_scripts import create_er_regions
from .er_data import portal_mapping
from .options import TunicOptions, EntranceRando, tunic_option_groups
from .options import TunicOptions, EntranceRando, tunic_option_groups, tunic_option_presets
from worlds.AutoWorld import WebWorld, World
from worlds.generic import PlandoConnection
from decimal import Decimal, ROUND_HALF_UP
@ -28,6 +28,7 @@ class TunicWeb(WebWorld):
theme = "grassFlowers"
game = "TUNIC"
option_groups = tunic_option_groups
options_presets = tunic_option_presets
class TunicItem(Item):

View File

@ -1,5 +1,5 @@
from dataclasses import dataclass
from typing import Dict, Any
from Options import (DefaultOnToggle, Toggle, StartInventoryPool, Choice, Range, TextChoice, PerGameCommonOptions,
OptionGroup)
@ -199,3 +199,24 @@ tunic_option_groups = [
Maskless,
])
]
tunic_option_presets: Dict[str, Dict[str, Any]] = {
"Sync": {
"ability_shuffling": True,
},
"Async": {
"progression_balancing": 0,
"ability_shuffling": True,
"shuffle_ladders": True,
"laurels_location": "10_fairies",
},
"Glace Mode": {
"accessibility": "minimal",
"ability_shuffling": True,
"entrance_rando": "yes",
"fool_traps": "onslaught",
"logic_rules": "unrestricted",
"maskless": True,
"lanternless": True,
},
}