add seed_name to multidata and RoomInfo

This commit is contained in:
Fabian Dill
2021-04-12 09:36:45 +02:00
parent 764e6e7926
commit 2df7e4e537
6 changed files with 13 additions and 11 deletions

View File

@@ -76,9 +76,6 @@ def get_shapes(world: MultiWorld, player: int) -> Dict[str, List[str]]:
# https://www.wolframalpha.com/input/?i=x+=+1/2+(n++++1)+(2++++n)+solve+for+n
import math
slice_size = int(0.5*(math.sqrt(8*len(tech_names)+1)-3))
import logging
logging.info(slice_size)
tech_names.sort()
world.random.shuffle(tech_names)
tech_names.sort(key=lambda tech_name: len(technology_table[tech_name].ingredients))