Skip to content

Commit

Permalink
Core: Add item.filler helper (#4081)
Browse files Browse the repository at this point in the history
* Add filler helper

* Update BaseClasses.py
  • Loading branch information
Exempt-Medic authored Nov 29, 2024
1 parent 3cb5219 commit c022c74
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions BaseClasses.py
Original file line number Diff line number Diff line change
Expand Up @@ -1262,6 +1262,10 @@ def useful(self) -> bool:
def trap(self) -> bool:
return ItemClassification.trap in self.classification

@property
def filler(self) -> bool:
return not (self.advancement or self.useful or self.trap)

@property
def excludable(self) -> bool:
return not (self.advancement or self.useful)
Expand Down

0 comments on commit c022c74

Please sign in to comment.