mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Core: Add item.filler helper (#4081)
* Add filler helper * Update BaseClasses.py
This commit is contained in:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user