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

◆ TryPainting()

void Terraria.Player.TryPainting ( int x,
int y,
bool paintingAWall = false,
bool applyItemAnimation = true )
inlineprivate

Definition at line 39598 of file Player.cs.

39599 {
39601 if (item != null)
39602 {
39603 if (item.paintCoating != 0)
39604 {
39606 }
39607 if (item.paint != 0)
39608 {
39610 }
39611 }
39612 }
void ApplyPaint(int x, int y, bool paintingAWall, bool applyItemAnimation, Item targetItem)
Definition Player.cs:39646
Item FindPaintOrCoating()
Definition Player.cs:39579
void ApplyCoating(int x, int y, bool paintingAWall, bool applyItemAnimation, Item targetItem)
Definition Player.cs:39614

References System.item.