Paint: Difference between revisions

From PZwiki
(adjustments to layout. Added new infobox and header)
mNo edit summary
Line 5: Line 5:
|name_text_colour = Construction
|name_text_colour = Construction
|image = Paintanim.gif  
|image = Paintanim.gif  
|alternate_image = PaintbucketEmpty.png
|alternate_link =
|alternate_name = Empty Paint Bucket
|weight = 5.0
|weight = 5.0
|primary_use = Paint [[wall]]s
|function = Paint [[wall]]s
|max_units = 4
|class_name = Base.Paint[Colour]
|class_name = Base.Paint[Colour]
}}{{quote|text=Used to paint plastered walls. Requires paintbrush.|author=In-game tooltip}}
}}{{quote|text=Used to paint plastered walls. Requires paintbrush.|author=In-game tooltip}}

Revision as of 11:32, 20 August 2018

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 currently has no use.

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