implement race as an option and cmd argument

This commit is contained in:
Fabian Dill
2020-01-13 19:47:30 +01:00
parent 0c6ce5df00
commit b3ec435b7e
2 changed files with 6 additions and 2 deletions

View File

@@ -34,6 +34,9 @@ zip_roms:int = 1
#create a spoiler file
create_spoiler:bool = True
#create roms as race coms
race:bool= False
#folder from which the player yaml files are pulled from
player_files_folder:str = "Players"
@@ -77,7 +80,7 @@ if __name__ == "__main__":
command = f"py -{py_version} Mystery.py --multi {len(player_files)} {player_string} " \
f"--names {','.join(player_names)} --enemizercli {enemizer_location} " \
f"--outputpath {outputpath}" + " --create_spoiler" if create_spoiler else ""
f"--outputpath {outputpath}" + " --create_spoiler" if create_spoiler else "" + " --race" if race else ""
print(command)
import time
start = time.perf_counter()