Paint: Difference between revisions

From PZwiki
mNo edit summary
(adjustments to layout. Added new infobox and header)
Line 1: Line 1:
{{languages|Paint}}
{{languages|Paint}}
{{items
{{header|The Game World|Items|type=Construction|version=Version 39|incver=67.5}}{{Infobox drainable
|image = Paintanim.gif
|display_name = Paint
|weight = 5
|name_colour = Construction
}}
|name_text_colour = Construction
|image = Paintanim.gif  
|weight = 5.0
|primary_use = Paint [[wall]]s
|class_name = Base.Paint[Colour]
}}{{quote|text=Used to paint plastered walls. Requires paintbrush.|author=In-game tooltip}}
'''Paint''' is a decorative item.


These heavy cans of paint are usually found in crates and weigh 5 units of weight.<br>
== Usage ==
Comes in many colors including: Blue, brown, cyan, green, grey, light blue, light brown, orange, pink, purple, turquoise, white, and yellow.<br><br>
Used with a [[Paint Brush|paint brush]] to paint plastered walls. One full can of paint can be used to paint up to four walls.
Used with a [[Paint Brush|paintbrush]] to paint plastered walls. One 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 [[Containers#Crates|crates]].


== Code ==
== Code ==
  <nowiki>item PaintPink
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{
 
Weight = 5,
''Empty Paint Bucket'' [[File:PaintbucketEmpty.png]]
Type = Drainable,
{{Retrieved|version=39|incver=67.5}}
UseWhileEquipped = FALSE,
  <nowiki> item PaintbucketEmpty
UseDelta = 0.25,
Weight = 0.5,
DisplayName = Pink Paint,
Type = Drainable,
Icon = Paint_Pink,
DisplayName = Empty Paint Bucket,
}</nowiki>
Icon = PaintbucketEmpty,
MetalValue = 20,</nowiki>
 
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
 
''[Colour] Paint'' [[File:Paintanim.gif]]
{{Retrieved|version=39|incver=67.5}}
<nowiki> item Paint[Colour]
Weight = 5,
Type = Drainable,
ReplaceOnUse = PaintbucketEmpty,
UseWhileEquipped = FALSE,
UseDelta = 0.25,
DisplayName = [Colour] Paint,
Icon = Paint_[Colour],
Tooltip = Tooltip_Paint,</nowiki>


==See Also==
==See also==
* [[Carpentry Guide]]
* [[Bucket]]
* [[Bucket]]
* [[Paint Brush]]
* [[Paint Brush]]

Revision as of 06:07, 23 July 2018

Paint
Paint
General
Category Item
Encumbrance
Heavy Load
5.0
Function Paint walls
Technical details
item ID Base.Paint[Colour]
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