Fix up no logic entrance rules - create all the OWG transitions, but don't apply any logic

This commit is contained in:
compiling
2020-07-10 17:37:35 +10:00
parent ca1740121e
commit e15aad356a
2 changed files with 28 additions and 1 deletions

View File

@@ -3,7 +3,7 @@ import logging
import OverworldGlitchRules
from BaseClasses import RegionType, World, Entrance
from Items import ItemFactory
from OverworldGlitchRules import overworld_glitches_rules
from OverworldGlitchRules import overworld_glitches_rules, no_logic_rules
def set_rules(world, player):
@@ -11,6 +11,7 @@ def set_rules(world, player):
if world.logic[player] == 'nologic':
logging.getLogger('').info('WARNING! Seeds generated under this logic often require major glitches and may be impossible!')
world.get_region('Menu', player).can_reach_private = lambda state: True
no_logic_rules(world, player)
for exit in world.get_region('Menu', player).exits:
exit.hide_path = True
return