any_enemy_logic option added

This commit is contained in:
aerinon
2023-04-10 09:07:01 -06:00
parent 5d86ed4055
commit 907639b984
15 changed files with 73 additions and 13 deletions

View File

@@ -96,8 +96,8 @@ class SpriteRequirement:
return False
return self.killable and not self.static and not self.dont_use and self.uw_valid
def good_for_key_drop(self):
return self.good_for_shutter() and self.can_drop
def good_for_key_drop(self, forbidden):
return self.good_for_shutter(forbidden) and self.can_drop
def __str__(self):
return f'Req for {enemy_names[self.sprite]}'