Create event Blaze Spawner containing Blaze Rods, preventing scenarios where the only progression in a sphere is to gain access to a fortress, which crashes playthrough generation

This commit is contained in:
espeon65536
2021-08-28 16:44:48 -05:00
committed by Fabian Dill
parent a65bf60cea
commit a124a7a82a
4 changed files with 8 additions and 5 deletions

View File

@@ -72,9 +72,9 @@ class MinecraftWorld(World):
exclusion_pool.update(exclusion_table[key])
exclusion_rules(self.world, self.player, exclusion_pool)
# Prefill the Ender Dragon with the completion condition
completion = self.create_item("Victory")
self.world.get_location("Ender Dragon", self.player).place_locked_item(completion)
# Prefill event locations with their events
self.world.get_location("Blaze Spawner", self.player).place_locked_item(self.create_item("Blaze Rods"))
self.world.get_location("Ender Dragon", self.player).place_locked_item(self.create_item("Victory"))
self.world.itempool += itempool