Class FoodStorageRestriction
Sets an Inventory to only accept food tag items
Inheritance
System.Object
FoodStorageRestriction
Assembly: Eco.Gameplay.dll
Syntax
public class FoodStorageRestriction : InventoryRestriction
Constructors
FoodStorageRestriction()
Declaration
public FoodStorageRestriction()
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