Class DiggableExcavatableRestriction
Restricts an inventory instance to only accept diggable, excavatable, or wood-related items (for scoop debris/stump collection).
Inheritance
System.Object
DiggableExcavatableRestriction
Assembly: Eco.Gameplay.dll
Syntax
public class DiggableExcavatableRestriction : InventoryRestriction
Constructors
DiggableExcavatableRestriction()
Declaration
public DiggableExcavatableRestriction()
Properties
Message
Declaration
public override LocString Message { get; }
Property Value
Overrides
Methods
MaxAccepted(Item)
Declaration
public override int MaxAccepted(Item item)
Parameters
| Type |
Name |
Description |
| Item |
item |
|
Returns
| Type |
Description |
| System.Int32 |
|
Overrides
Extension Methods