Core: Add item.filler helper (#4081)
* Add filler helper * Update BaseClasses.py
This commit is contained in:
parent
3cb5219e09
commit
c022c742b5
|
@ -1262,6 +1262,10 @@ class Item:
|
||||||
def trap(self) -> bool:
|
def trap(self) -> bool:
|
||||||
return ItemClassification.trap in self.classification
|
return ItemClassification.trap in self.classification
|
||||||
|
|
||||||
|
@property
|
||||||
|
def filler(self) -> bool:
|
||||||
|
return not (self.advancement or self.useful or self.trap)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def excludable(self) -> bool:
|
def excludable(self) -> bool:
|
||||||
return not (self.advancement or self.useful)
|
return not (self.advancement or self.useful)
|
||||||
|
|
Loading…
Reference in New Issue