Core: move create_playthrough under Spoiler as method (#1310)

Core: split create_playthrough, allowing skipping of paths
This commit is contained in:
Fabian Dill
2022-12-11 20:48:26 +01:00
committed by GitHub
parent e71ea94fe5
commit 6173bc6e03
5 changed files with 158 additions and 147 deletions

View File

@@ -114,7 +114,7 @@ def gen_game(gen_options: dict, meta: Optional[Dict[str, Any]] = None, owner=Non
erargs = parse_arguments(['--multi', str(playercount)])
erargs.seed = seed
erargs.name = {x: "" for x in range(1, playercount + 1)} # only so it can be overwritten in mystery
erargs.spoiler = 0 if race else 2
erargs.spoiler = 0 if race else 3
erargs.race = race
erargs.outputname = seedname
erargs.outputpath = target.name