SMZ3: 0.4.2 non local items fix (#2212)

fixed generation failure when using non_local_items set to "Everything"
For this, GT prefill now allows non local non progression items to be placed.
This commit is contained in:
lordlou
2023-09-30 15:05:07 -04:00
committed by GitHub
parent 5c640c6c52
commit a3907e800b
2 changed files with 7 additions and 5 deletions

View File

@@ -181,6 +181,7 @@ class Item:
keycard = re.compile("^Card")
smMap = re.compile("^SmMap")
def IsNameDungeonItem(item_name): return Item.dungeon.match(item_name)
def IsDungeonItem(self): return self.dungeon.match(self.Type.name)
def IsBigKey(self): return self.bigKey.match(self.Type.name)
def IsKey(self): return self.key.match(self.Type.name)