Support trolls

This commit is contained in:
2023-06-14 19:04:45 -05:00
parent 0d7348a593
commit d79427431e
8 changed files with 80 additions and 5 deletions

5
CLI.py
View File

@@ -147,7 +147,7 @@ def parse_cli(argv, no_defaults=False):
'heartbeep', 'remote_items', 'shopsanity', 'dropshuffle', 'pottery', 'keydropshuffle',
'mixed_travel', 'standardize_palettes', 'code', 'reduce_flashing', 'shuffle_sfx',
'msu_resume', 'collection_rate', 'colorizepots', 'decoupledoors', 'door_type_mode',
'bonk_drops', 'trap_door_mode', 'key_logic_algorithm']:
'bonk_drops', 'trap_door_mode', 'key_logic_algorithm', 'trolls']:
value = getattr(defaults, name) if getattr(playerargs, name) is None else getattr(playerargs, name)
if player == 1:
setattr(ret, name, {1: value})
@@ -360,7 +360,8 @@ def parse_settings():
"outputpath": os.path.join("."),
"saveonexit": "ask",
"outputname": "",
"startinventoryarray": {}
"startinventoryarray": {},
"trolls": False,
}
if sys.platform.lower().find("windows"):