mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Mystery: rom options can be set in weights file, eg
rom: sprite: random: 1 randomonhit: 1 mog: 1 disablemusic: off quickswap: on: 1 off: 0 menuspeed: normal: 1 instant: 1 double: 1 triple: 1 quadruple: 1 half: 1 heartcolor: red: 1 blue: 1 green: 1 yellow: 1 random: 1 heartbeep: double: 1 normal: 1 half: 1 quarter: 1 off: 1 ow_palettes: default: 1 random: 1 blackout: 1 uw_palettes: default: 1 random: 1 blackout: 1
This commit is contained in:
@@ -288,9 +288,9 @@ def parse_arguments(argv, no_defaults=False):
|
||||
for name in ['logic', 'mode', 'swords', 'goal', 'difficulty', 'item_functionality',
|
||||
'shuffle', 'crystals_ganon', 'crystals_gt', 'openpyramid',
|
||||
'mapshuffle', 'compassshuffle', 'keyshuffle', 'bigkeyshuffle', 'startinventory',
|
||||
'retro', 'accessibility', 'hints', 'shufflepots', 'beemizer',
|
||||
'shufflebosses', 'shuffleenemies', 'enemy_health', 'enemy_damage',
|
||||
'ow_palettes', 'uw_palettes', 'sprite']:
|
||||
'retro', 'accessibility', 'hints', 'beemizer',
|
||||
'shufflebosses', 'shuffleenemies', 'enemy_health', 'enemy_damage', 'shufflepots',
|
||||
'ow_palettes', 'uw_palettes', 'sprite', 'disablemusic', 'quickswap', 'fastmenu', 'heartcolor', 'heartbeep']:
|
||||
value = getattr(defaults, name) if getattr(playerargs, name) is None else getattr(playerargs, name)
|
||||
if player == 1:
|
||||
setattr(ret, name, {1: value})
|
||||
|
Reference in New Issue
Block a user