Skip to content

Commit

Permalink
Add filler helper
Browse files Browse the repository at this point in the history
  • Loading branch information
Exempt-Medic authored Oct 22, 2024
1 parent f709d61 commit 6f11867
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 @@ -1264,6 +1264,10 @@ def useful(self) -> bool:
def trap(self) -> bool:
return ItemClassification.trap in self.classification

@property
def filler(self) -> bool:
return not self.classification

@property
def flags(self) -> int:
return self.classification.as_flag()
Expand Down

0 comments on commit 6f11867

Please sign in to comment.