Refinement - Missing blocked_connections added - appropriate checklists

Optimization - Exp Cache - which is somewhat problematic with the playthrough logic
This commit is contained in:
aerinon
2021-07-01 16:00:47 -06:00
parent b21564d5aa
commit f15832f85e
5 changed files with 187 additions and 72 deletions

View File

@@ -795,6 +795,7 @@ def check_for_self_lock_key(rule, door, parent_counter, key_layout, world, playe
if len(counter.free_locations) == 1 and len(counter.key_only_locations) == 0 and not counter.important_location:
rule.allow_small = True
rule.small_location = next(iter(counter.free_locations))
rule.new_rules[KeyRuleType.AllowSmall] = rule.new_rules[KeyRuleType.WorstCase] - 1
def find_inverted_counter(door, parent_counter, key_layout, world, player):