fix minecraft tests for egg shards
This commit is contained in:
parent
72acb5509a
commit
0241d6f443
|
@ -5,7 +5,7 @@ from worlds import AutoWorld
|
|||
from worlds.minecraft import MinecraftWorld
|
||||
from worlds.minecraft.Items import MinecraftItem, item_table
|
||||
from worlds.minecraft.Options import AdvancementGoal, CombatDifficulty, BeeTraps
|
||||
from Options import Toggle
|
||||
from Options import Toggle, Range
|
||||
|
||||
# Converts the name of an item into an item object
|
||||
def MCItemFactory(items, player: int):
|
||||
|
@ -38,6 +38,8 @@ class TestMinecraft(TestBase):
|
|||
setattr(self.world, "combat_difficulty", {1: CombatDifficulty(1)}) # normal
|
||||
setattr(self.world, "bee_traps", {1: BeeTraps(0)})
|
||||
setattr(self.world, "structure_compasses", {1: Toggle(False)})
|
||||
setattr(self.world, "egg_shards_required", {1: Range(0)})
|
||||
setattr(self.world, "egg_shards_available", {1: Range(0)})
|
||||
AutoWorld.call_single(self.world, "create_regions", 1)
|
||||
AutoWorld.call_single(self.world, "generate_basic", 1)
|
||||
AutoWorld.call_single(self.world, "set_rules", 1)
|
||||
|
|
Loading…
Reference in New Issue