|
TModLoader v1.4.4.9
TModLoader source code documentation
|
| byte Terraria.Item.paint |
The numerical ID of the paint applied by this item when used with a paint brush or paint roller.
For conversion into a shader index, see M:Terraria.Main.ConvertPaintIdToTileShaderIndex(System.Int32,System.Boolean,System.Boolean).
For more details regarding paint, see P:Terraria.Tile.TileColor and P:Terraria.Tile.WallColor.
Defaults to 0.
Definition at line 317 of file Item.cs.
Referenced by Terraria.Item.ResetStats(), Terraria.Item.SetDefaults2(), Terraria.GameContent.SmartCursorHelper.TryFindingPaintInplayerInventory(), and Terraria.Player.TryPainting().