TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ PaintOrCoating

bool Terraria.Item.PaintOrCoating
get

true if F:Terraria.Item.paint > 0 || F:Terraria.Item.paintCoating > 0 and false otherwise.

Definition at line 900 of file Item.cs.

901 {
902 get
903 {
904 if (paint <= 0)
905 {
906 return paintCoating > 0;
907 }
908 return true;
909 }
910 }
byte paint
The numerical ID of the paint applied by this item when used with a paint brush or paint roller....
Definition Item.cs:317
byte paintCoating
Definition Item.cs:319

Referenced by Terraria.Item.CanCombineStackInWorld(), Terraria.Item.CanFillEmptyAmmoSlot(), Terraria.Item.FitsAmmoSlot(), and Terraria.ID.ContentSamples.CreativeHelper.GetItemGroup().