Class SiloRestriction
Sets an inventory to only accept items with tag seeds, crops, or fertilizer
Inheritance
System.Object
SiloRestriction
Assembly: Eco.Gameplay.dll
Syntax
public class SiloRestriction : InventoryRestriction
Constructors
SiloRestriction()
Declaration
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