Skip to content

Commit 01ef041

Browse files
committed
last minute fixing
1 parent 9282cba commit 01ef041

File tree

6 files changed

+14
-14
lines changed

6 files changed

+14
-14
lines changed

FactorioClient.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,9 @@ async def factorio_server_watcher(ctx: FactorioContext):
152152

153153
async def main():
154154
ctx = FactorioContext(None, None, True)
155-
ctx.server_address = "localhost"
156-
ctx.auth = "Berserker"
155+
# testing shortcuts
156+
# ctx.server_address = "localhost"
157+
# ctx.auth = "Nauvis"
157158
if ctx.server_task is None:
158159
ctx.server_task = asyncio.create_task(server_loop(ctx), name="ServerLoop")
159160
await asyncio.sleep(3)

Main.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ def write_multidata(roms, mods):
490490
for future in roms:
491491
rom_name = future.result()
492492
rom_names.append(rom_name)
493-
minimum_versions = {"server": (0, 0, 1)}
493+
minimum_versions = {"server": (0, 0, 2)}
494494
connect_names = {base64.b64encode(rom_name).decode(): (team, slot) for
495495
slot, team, rom_name in rom_names}
496496

@@ -502,7 +502,7 @@ def write_multidata(roms, mods):
502502
"connect_names": connect_names,
503503
"remote_items": {player for player in range(1, world.players + 1) if
504504
world.remote_items[player] or
505-
world.game[player] != "Hollow Knight"},
505+
world.game[player] != "A Link to the Past"},
506506
"locations": {
507507
(location.address, location.player):
508508
(location.item.code, location.item.player)

Mystery.py

+2-7
Original file line numberDiff line numberDiff line change
@@ -582,13 +582,8 @@ def roll_alttp_settings(ret: argparse.Namespace, weights, plando_options):
582582
if not ret.shop_shuffle:
583583
ret.shop_shuffle = ''
584584

585-
ret.mode = get_choice('world_state', weights, None) # legacy support
586-
if ret.mode == 'retro':
587-
ret.mode = 'open'
588-
ret.retro = True
589-
elif ret.mode is None:
590-
ret.mode = get_choice("mode", weights)
591-
ret.retro = get_choice("retro", weights)
585+
ret.mode = get_choice("mode", weights)
586+
ret.retro = get_choice("retro", weights)
592587

593588
ret.hints = get_choice('hints', weights)
594589

playerSettings.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ turtle_rock_medallion: # required medallion to open Turtle Rock front entrance
204204
boss_shuffle:
205205
none: 50 # Vanilla bosses
206206
basic: 0 # Existing bosses except Ganon and Agahnim are shuffled throughout dungeons
207-
random: 0 # 3 bosses can occur twice
207+
normal: 0 # 3 bosses can occur twice
208208
chaos: 0 # Any boss can appear any amount of times
209209
singularity: 0 # Picks a boss, tries to put it everywhere that works, if there's spaces remaining it picks a boss to fill those
210210
enemy_shuffle: # Randomize enemy placement

setup.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ def manifest_creation():
5959
"MultiServer.py": "ArchipelagoServer",
6060
"gui.py": "ArchipelagoLttPCreator",
6161
"Mystery.py": "ArchipelagoMystery",
62-
"LttPAdjuster.py": "ArchipelagoLttPAdjuster"}
62+
"LttPAdjuster.py": "ArchipelagoLttPAdjuster",
63+
"FactorioClient.py": "ArchipelagoFactorioClient"}
6364

6465
exes = []
6566

worlds/alttp/Rom.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,10 @@ def patch_rom(world, rom, player, team, enemized):
711711

712712
if location.item is not None:
713713
if location.item.game != "A Link to the Past":
714-
itemid = 0x21
714+
if location.item.game == "Factorio":
715+
itemid = 0x09 # Hammer Sprite
716+
else:
717+
itemid = 0x21 # Bug Catching Net
715718
# Keys in their native dungeon should use the orignal item code for keys
716719
elif location.parent_region.dungeon:
717720
if location.parent_region.dungeon.is_dungeon_item(location.item):

0 commit comments

Comments
 (0)