Merge branch 'DoorDev' into ci-dev
This commit is contained in:
@@ -41,7 +41,7 @@ class World(object):
|
|||||||
self.shuffle_bonk_prizes = False
|
self.shuffle_bonk_prizes = False
|
||||||
self.light_world_light_cone = False
|
self.light_world_light_cone = False
|
||||||
self.dark_world_light_cone = False
|
self.dark_world_light_cone = False
|
||||||
self.clock_mode = 'off'
|
self.clock_mode = 'none'
|
||||||
self.rupoor_cost = 10
|
self.rupoor_cost = 10
|
||||||
self.aga_randomness = True
|
self.aga_randomness = True
|
||||||
self.lock_aga_door_in_escape = False
|
self.lock_aga_door_in_escape = False
|
||||||
|
|||||||
4
CLI.py
4
CLI.py
@@ -186,7 +186,7 @@ def parse_arguments(argv, no_defaults=False):
|
|||||||
base game.
|
base game.
|
||||||
''')
|
''')
|
||||||
parser.add_argument('--experimental', default=defval(settings["experimental"] != 0), help='Enable experimental features', action='store_true')
|
parser.add_argument('--experimental', default=defval(settings["experimental"] != 0), help='Enable experimental features', action='store_true')
|
||||||
parser.add_argument('--dungeon_counters', default=defval(settings["dungeon_counters"]), help='Enable dungeon chest counters', const='off', nargs='?', choices=['off', 'on', 'pickup'])
|
parser.add_argument('--dungeon_counters', default=defval(settings["dungeon_counters"]), help='Enable dungeon chest counters', const='off', nargs='?', choices=['off', 'on', 'pickup', 'default'])
|
||||||
parser.add_argument('--crystals_ganon', default=defval(settings["crystals_ganon"]), const='7', nargs='?', choices=['random', '0', '1', '2', '3', '4', '5', '6', '7'],
|
parser.add_argument('--crystals_ganon', default=defval(settings["crystals_ganon"]), const='7', nargs='?', choices=['random', '0', '1', '2', '3', '4', '5', '6', '7'],
|
||||||
help='''\
|
help='''\
|
||||||
How many crystals are needed to defeat ganon. Any other
|
How many crystals are needed to defeat ganon. Any other
|
||||||
@@ -356,7 +356,7 @@ def get_settings():
|
|||||||
"keysanity": False,
|
"keysanity": False,
|
||||||
"door_shuffle": "basic",
|
"door_shuffle": "basic",
|
||||||
"experimental": 0,
|
"experimental": 0,
|
||||||
"dungeon_counters": "off",
|
"dungeon_counters": "default",
|
||||||
|
|
||||||
"multi": 1,
|
"multi": 1,
|
||||||
"names": "",
|
"names": "",
|
||||||
|
|||||||
2
Main.py
2
Main.py
@@ -24,7 +24,7 @@ from Fill import distribute_items_cutoff, distribute_items_staleness, distribute
|
|||||||
from ItemList import generate_itempool, difficulties, fill_prizes
|
from ItemList import generate_itempool, difficulties, fill_prizes
|
||||||
from Utils import output_path, parse_player_names
|
from Utils import output_path, parse_player_names
|
||||||
|
|
||||||
__version__ = '0.0.18.2d'
|
__version__ = '0.0.18.3d'
|
||||||
|
|
||||||
|
|
||||||
def main(args, seed=None):
|
def main(args, seed=None):
|
||||||
|
|||||||
4
Rom.py
4
Rom.py
@@ -899,7 +899,7 @@ def patch_rom(world, rom, player, team, enemized):
|
|||||||
ERtimeincrease = 20
|
ERtimeincrease = 20
|
||||||
if world.keyshuffle[player] or world.bigkeyshuffle[player] or world.mapshuffle[player]:
|
if world.keyshuffle[player] or world.bigkeyshuffle[player] or world.mapshuffle[player]:
|
||||||
ERtimeincrease = ERtimeincrease + 15
|
ERtimeincrease = ERtimeincrease + 15
|
||||||
if world.clock_mode == 'off':
|
if world.clock_mode == 'none':
|
||||||
rom.write_bytes(0x180190, [0x00, 0x00, 0x00]) # turn off clock mode
|
rom.write_bytes(0x180190, [0x00, 0x00, 0x00]) # turn off clock mode
|
||||||
write_int32(rom, 0x180200, 0) # red clock adjustment time (in frames, sint32)
|
write_int32(rom, 0x180200, 0) # red clock adjustment time (in frames, sint32)
|
||||||
write_int32(rom, 0x180204, 0) # blue clock adjustment time (in frames, sint32)
|
write_int32(rom, 0x180204, 0) # blue clock adjustment time (in frames, sint32)
|
||||||
@@ -1157,7 +1157,7 @@ def patch_rom(world, rom, player, team, enemized):
|
|||||||
rom.write_byte(0x18003B, 0x01 if world.mapshuffle[player] else 0x00) # maps showing crystals on overworld
|
rom.write_byte(0x18003B, 0x01 if world.mapshuffle[player] else 0x00) # maps showing crystals on overworld
|
||||||
|
|
||||||
# compasses showing dungeon count
|
# compasses showing dungeon count
|
||||||
if world.clock_mode != 'off' or world.dungeon_counters[player] == 'off':
|
if world.clock_mode != 'none' or world.dungeon_counters[player] == 'off':
|
||||||
rom.write_byte(0x18003C, 0x00) # Currently must be off if timer is on, because they use same HUD location
|
rom.write_byte(0x18003C, 0x00) # Currently must be off if timer is on, because they use same HUD location
|
||||||
elif world.dungeon_counters[player] == 'on':
|
elif world.dungeon_counters[player] == 'on':
|
||||||
rom.write_byte(0x18003C, 0x02) # always on
|
rom.write_byte(0x18003C, 0x02) # always on
|
||||||
|
|||||||
@@ -37,9 +37,10 @@
|
|||||||
"selectbox": {
|
"selectbox": {
|
||||||
"side": "right"
|
"side": "right"
|
||||||
},
|
},
|
||||||
"default": "Off"
|
"default": "Auto"
|
||||||
},
|
},
|
||||||
"options": {
|
"options": {
|
||||||
|
"Auto": "default",
|
||||||
"Off": "off",
|
"Off": "off",
|
||||||
"On": "on",
|
"On": "on",
|
||||||
"On Compass Pickup": "pickup"
|
"On Compass Pickup": "pickup"
|
||||||
|
|||||||
Reference in New Issue
Block a user