Class PaintItemRestriction
Sets an inventory to only accept items with tag color and buckets
Inheritance
System.Object
PaintItemRestriction
Assembly: Eco.Gameplay.dll
Syntax
public class PaintItemRestriction : InventoryRestriction
Constructors
PaintItemRestriction()
Declaration
public PaintItemRestriction()
Properties
Message
Declaration
public override LocString Message { get; }
Property Value
Overrides
Methods
MaxAccepted(Item, Int32)
Declaration
public override int MaxAccepted(Item item, int currentQuantity)
Parameters
Type |
Name |
Description |
Item |
item |
|
System.Int32 |
currentQuantity |
|
Returns
Type |
Description |
System.Int32 |
|
Overrides
Extension Methods