|
5 | 5 | from worlds.minecraft import MinecraftWorld
|
6 | 6 | from worlds.minecraft.Items import MinecraftItem, item_table
|
7 | 7 | from worlds.minecraft.Options import AdvancementGoal, CombatDifficulty
|
| 8 | +from Options import Toggle |
8 | 9 |
|
9 | 10 | # Converts the name of an item into an item object
|
10 | 11 | def MCItemFactory(items, player: int):
|
@@ -33,8 +34,9 @@ def setUp(self):
|
33 | 34 | for pool in exclusion_pools:
|
34 | 35 | setattr(self.world, f"include_{pool}_advancements", [False, False])
|
35 | 36 | setattr(self.world, "advancement_goal", {1: AdvancementGoal(30)})
|
36 |
| - setattr(self.world, "shuffle_structures", {1: False}) |
| 37 | + setattr(self.world, "shuffle_structures", {1: Toggle(False)}) |
37 | 38 | setattr(self.world, "combat_difficulty", {1: CombatDifficulty(1)}) # normal
|
| 39 | + setattr(self.world, "bee_traps", {1: Toggle(False)}) |
38 | 40 | AutoWorld.call_single(self.world, "create_regions", 1)
|
39 | 41 | AutoWorld.call_single(self.world, "generate_basic", 1)
|
40 | 42 | AutoWorld.call_single(self.world, "set_rules", 1)
|
|
0 commit comments