Beginnings of Retro Mode

This just adds a GUI/command line option to set the variable into world for retro mode and puts the universal key item into the list of defined items. None of the functionality is yet present.
This commit is contained in:
AmazingAmpharos
2018-03-14 13:31:36 -05:00
committed by GitHub
parent 7ebe4f9d93
commit 28d4ce0997
6 changed files with 17 additions and 5 deletions

View File

@@ -7,7 +7,7 @@ from collections import OrderedDict
class World(object):
def __init__(self, shuffle, logic, mode, difficulty, timer, progressive, goal, algorithm, place_dungeon_items, check_beatable_only, shuffle_ganon, quickswap, fastmenu, disable_music, keysanity, custom, customitemarray):
def __init__(self, shuffle, logic, mode, difficulty, timer, progressive, goal, algorithm, place_dungeon_items, check_beatable_only, shuffle_ganon, quickswap, fastmenu, disable_music, keysanity, retro, custom, customitemarray):
self.shuffle = shuffle
self.logic = logic
self.mode = mode
@@ -56,6 +56,7 @@ class World(object):
self.fastmenu = fastmenu
self.disable_music = disable_music
self.keysanity = keysanity
self.retro = retro
self.custom = custom
self.customitemarray = customitemarray
self.can_take_damage = True
@@ -278,6 +279,7 @@ class World(object):
markbool(self.check_beatable_only)
markbool(self.shuffle_ganon)
markbool(self.keysanity)
markbool(self.retro)
assert id_value_max <= 0xFFFFFFFF
return id_value