Extra Junk in GT for triforce Hunt
This commit is contained in:
parent
0c486593c5
commit
df0835d3e7
10
Main.py
10
Main.py
|
@ -92,9 +92,10 @@ def main(args, seed=None):
|
|||
elif args.algorithm == 'vt25':
|
||||
distribute_items_restrictive(world, 0)
|
||||
elif args.algorithm == 'vt26':
|
||||
distribute_items_restrictive(world, random.randint(0, 15), shuffled_locations)
|
||||
|
||||
distribute_items_restrictive(world, gt_filler(world), shuffled_locations)
|
||||
elif args.algorithm == 'balanced':
|
||||
distribute_items_restrictive(world, random.randint(0, 15))
|
||||
distribute_items_restrictive(world, gt_filler(world))
|
||||
|
||||
logger.info('Calculating playthrough.')
|
||||
|
||||
|
@ -131,6 +132,11 @@ def main(args, seed=None):
|
|||
|
||||
return world
|
||||
|
||||
def gt_filler(world):
|
||||
if world.goal == 'triforcehunt':
|
||||
return random.randint(15, 50)
|
||||
return random.randint(0, 15)
|
||||
|
||||
def copy_world(world):
|
||||
# ToDo: Not good yet
|
||||
ret = World(world.shuffle, world.logic, world.mode, world.difficulty, world.timer, world.progressive, world.goal, world.algorithm, world.place_dungeon_items, world.check_beatable_only, world.shuffle_ganon, world.quickswap, world.fastmenu, world.disable_music, world.keysanity, world.custom, world.customitemarray)
|
||||
|
|
Loading…
Reference in New Issue