Paint

From PZwiki
Revision as of 20:40, 2 July 2021 by NoLoGGic (talk | contribs)

Template:Infobox drainable

Used to paint plastered walls. Requires paintbrush.
— In-game tooltip

Paint is a decorative item.

Usage

Used with a paint brush to paint plastered walls. One full can of paint can be used to paint up to four walls.

Once a can of paint has been used, it will be replaced with an empty paint bucket, which can be used to collect to collect rain water.

Distribution

Paint can come in 15 different colours including: black, blue, brown, cyan, green, grey, light blue, light brown, orange, pink, purple, red, turquoise, white, and yellow.

Paint is usually found in crates.

Code

From newitems.txt (Project Zomboid directory/media/scripts/)

Empty Paint Bucket PaintbucketEmpty.png Retrieved: Build 39.67.5

	item PaintbucketEmpty
		Weight			= 0.5,
		Type			= Drainable,
		DisplayName		= Empty Paint Bucket,
		Icon			= PaintbucketEmpty,
		MetalValue		= 20,

From items.txt (Project Zomboid directory/media/scripts/)

[Colour] Paint Paintanim.gif Retrieved: Build 39.67.5

	item Paint[Colour]
		Weight			= 5,
		Type			= Drainable,
		ReplaceOnUse		= PaintbucketEmpty,
		UseWhileEquipped	= FALSE,
		UseDelta		= 0.25,
		DisplayName		= [Colour] Paint,
		Icon			= Paint_[Colour],
		Tooltip			= Tooltip_Paint,

See also