From 6c531620e5912576253029c0058d314147458a88 Mon Sep 17 00:00:00 2001 From: compiling <8335770+compiling@users.noreply.github.com> Date: Mon, 2 Nov 2020 10:21:34 +1100 Subject: [PATCH] Make it possible to generate standard / retro / vanilla doors. --- BaseClasses.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/BaseClasses.py b/BaseClasses.py index d15652ce..518225b3 100644 --- a/BaseClasses.py +++ b/BaseClasses.py @@ -565,6 +565,8 @@ class CollectionState(object): def has_key(self, item, player, count=1): if self.world.retro[player]: + if self.world.mode[player] == 'standard' and self.world.doorShuffle[player] == 'vanilla' and item == 'Small Key (Escape)': + return True # Cannot access the shop until escape is finished. This is safe because the key is manually placed in make_custom_item_pool return self.can_buy_unlimited('Small Key (Universal)', player) if count == 1: return (item, player) in self.prog_items