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:
 | 
			
		||||
        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)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue