start of any enemy logic option

This commit is contained in:
aerinon
2023-04-06 16:57:15 -06:00
parent ddfbece2bd
commit 5d86ed4055
2 changed files with 14 additions and 5 deletions

View File

@@ -91,7 +91,9 @@ class SpriteRequirement:
def good_for_uw_water(self):
return self.water_only and not self.static and not self.dont_use and self.uw_valid
def good_for_shutter(self):
def good_for_shutter(self, forbidden):
if self.sprite in forbidden:
return False
return self.killable and not self.static and not self.dont_use and self.uw_valid
def good_for_key_drop(self):