Core: provide a way to add to CollectionState init and copy

SM: use that way
OoT: use that way
This commit is contained in:
Fabian Dill
2022-02-17 07:07:34 +01:00
parent c525c80b49
commit daea0f3e5e
8 changed files with 125 additions and 153 deletions

View File

@@ -1,6 +1,6 @@
from argparse import Namespace
from BaseClasses import MultiWorld
from BaseClasses import MultiWorld, CollectionState
from worlds.AutoWorld import call_all
gen_steps = ["generate_early", "create_regions", "create_items", "set_rules", "generate_basic", "pre_fill"]
@@ -18,4 +18,4 @@ def setup_default_world(world_type):
world.set_default_common_options()
for step in gen_steps:
call_all(world, step)
return world
return world