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 665e7b1497
commit 9dbe591fe9
2 changed files with 28 additions and 1 deletions

View File

@@ -2,13 +2,14 @@ import collections
import logging
import OverworldGlitchRules
from BaseClasses import RegionType, World
from OverworldGlitchRules import overworld_glitches_rules
from OverworldGlitchRules import overworld_glitches_rules, no_logic_rules
def set_rules(world, player):
if world.logic == 'nologic':
logging.getLogger('').info('WARNING! Seeds generated under this logic often require major glitches and may be impossible!')
no_logic_rules(world, player)
if world.mode != 'inverted':
world.get_region('Links House', player).can_reach_private = lambda state: True
world.get_region('Sanctuary', player).can_reach_private = lambda state: True