HMG PoD Region fix + reformatting

* Create a region in HMG when PoD entrance isn't pre-opened that limits access to the overworld unless already available
* Change rule generations to loop
* Check for bomb and dash clips properly
This commit is contained in:
KrisDavie
2024-10-12 16:42:14 +02:00
committed by aerinon
parent 5dc51d4a2c
commit 81a8b3a0f5
3 changed files with 130 additions and 52 deletions

View File

@@ -15,6 +15,9 @@ def link_overworld(world, player):
for exitname, regionname in inverted_mandatory_connections:
connect_simple(world, exitname, regionname, player)
if world.logic[player] in ['hybridglitches', 'nologic'] and not world.fix_palaceofdarkness_exit[player]:
connect_two_way(world, 'Palace of Darkness HMG Exit', 'Palace of Darkness HMG Entrance', player)
for forward_edge, back_edge in default_connections:
connect_two_way(world, forward_edge, back_edge, player)