Paint: Difference between revisions

From PZwiki
m (Fixed typos; made more concise for readability.)
m (Insert empty line above each {{Navbox}})
 
(43 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{languages}}
{{Header|Project Zomboid|Items|Materials}}
{{header|The Game World|Items|type=Construction|version=Version 41|incver=51}}{{Infobox drainable
{{Page version|41.78.16}}
|display_name = Paint
{{Infobox item
|name_colour = Construction
|name=Paint
|name_text_colour = Construction
|image=Paintanim.gif
|image = Paintanim.gif
|model=PaintTinRed_Model.png
|alternate_image = PaintbucketEmpty.png
|icon=Paint_Red.png
|alternate_link =
|icon_name=Red Paint
|alternate_name = Empty Paint Bucket
|model2=PaintTinBlack_Model.png
|weight = 5.0 <small>(Full)</small><br>1.0 <small>(Empty)</small>
|icon2=Paint_Black.png
|function = Paint [[Wooden Wall|wooden wall]]
|icon_name2=Black Paint
|max_units = 10
|model3=PaintTinBlue_Model.png
|class_name = Base.Paint[Colour]
|icon3=Paint_Blue.png
}}{{quote|text=Used to paint plastered walls. Requires paintbrush.|author=In-game tooltip}}
|icon_name3=Blue Paint
'''Paint''' is a decorative item.
|model4=PaintTinBrown_Model.png
|icon4=Paint_Brown.png
|icon_name4=Brown Paint
|model5=PaintTinCyan_Model.png
|icon5=Paint_Cyan.png
|icon_name5=Cyan Paint
|model6=PaintTinGreen_Model.png
|icon6=Paint_Green.png
|icon_name6=Green Paint
|model7=PaintTinGrey_Model.png
|icon7=Paint_Grey.png
|icon_name7=Gray Paint
|model8=PaintTinLightBlue_Model.png
|icon8=Paint_LightBlue.png
|icon_name8=Light Blue Paint
|model9=PaintTinLightBrown_Model.png
|icon9=Paint_LightBrown.png
|icon_name9=Light Brown Paint
|model10=PaintTinOrange_Model.png
|icon10=Paint_Orange.png
|icon_name10=Orange Paint
|model11=PaintTinPink_Model.png
|icon11=Paint_Pink.png
|icon_name11=Pink Paint
|model12=PaintTinPurple_Model.png
|icon12=Paint_Purple.png
|icon_name12=Purple Paint
|model13=PaintTinTurquoise_Model.png
|icon13=Paint_Turquoise.png
|icon_name13=Turquoise Paint
|model14=PaintTinWhite_Model.png
|icon14=Paint_White.png
|icon_name14=White Paint
|model15=PaintTinYellow_Model.png
|icon15=Paint_Yellow.png
|icon_name15=Yellow Paint
|model16=PaintTinEmpty_Model.png
|icon16=PaintbucketEmpty.png
|icon_name16=Empty Paint Bucket
|weight=5.0 <small>(Full)</small><br>1.0 <small>(Empty)</small>
|function=Paint [[Bucket of Plaster|plastered]] [[Wooden Wall|wooden walls]]<br>Paint signs on walls
|max_units=0.1
|item_id=Base.PaintbucketEmpty<br>Base.Paint[Color]
}}
{{Quote|text=Used to paint plastered walls. Requires paintbrush.|author=In-game tooltip}}
'''Paint''' is an [[Items|item]] used for painting on walls and signs.


== Usage ==
==Usage==
Used with a [[Paint Brush|paint brush]] to paint plastered walls. One full can of paint can be used to paint up to ten walls or signs.
Paint is used with a [[paintbrush]] to paint [[Bucket of Plaster|plastered]] walls. A full can of paint can be used to paint up to ten walls or [[Wooden Sign|signs]].


Once a can of paint has been used, or if the paint is poured out, it will be replaced with an empty paint bucket, which can be used to collect [[Water|rain water]].
Once a can of paint has been used, or if the paint is poured out, it will be replaced with an [[Paint Bucket|empty paint bucket]], which can be used to collect [[water]].


== Distribution ==
==Distribution==
Paint can come in 15 different colours including: black, blue, brown, cyan, green, gray, light blue, light brown, orange, pink, purple, red, turquoise, white, and yellow.
The loot distributions can be found in the table(s) below.


Paint is usually found in [[Containers#Crates|crates]].
<!--BOT FLAG|PaintWhite|41.78.16-->
{{clear}}
<div class="togglebox theme-red">
    <div>PaintWhite distribution
        <span class="mw-customtoggle-togglebox-PaintWhite" title="{{int:show}} / {{int:hide}}" style="float:right; padding-right:30px; padding-top:4px; font-size:0.7em; font-weight:normal;">{{int:show}} / {{int:hide}}</span></div>
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-PaintWhite">
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Containers}}
    ! Building / Room
    ! Container
    ! Rolls
    ! Chance
    |-
    | all
    | {{ll|crate}}
    | 1
    | 0.8
    |-
    | bedroom
    | {{ll|crate}}
    | 1
    | 0.4
    |-
    | closet
    | {{ll|crate}}
    | 4
    | 1.0
    |-
    | closet
    | {{ll|crate}}
    | 4
    | 10.0
    |}
</div>
<div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Vehicles}}
    ! Vehicle Type/Location
    ! Rolls
    ! Chance
    |-
    | PainterTruckBed
    | 4
    | 10
    |}
</div>
    </div><div style="clear:both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-PaintWhite" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|PaintWhite|41.78.16-->


== Code ==
==Types==
''Empty Paint Bucket'' [[File:PaintbucketEmpty.png]]<br>
Paint can come in 15 different colors:
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
 
{{Retrieved|version=41|incver=51}}
<onlyinclude>{| class="wikitable theme-red sortable" style="text-align: center;"
<nowiki>    item PaintbucketEmpty
! style="width: 50px;" | Icon
! style="width: 200px;" | Name
! style="width: 50px;" | [[File:Moodle_Icon_HeavyLoad.png|link=|Encumbrance]]
! style="width: 220px;" | Item ID
|-
| [[File:Paint_Black.png|link=Paint{{lcs}}|Black Paint]]
| {{ll|Paint|Black Paint}}
| 5.0
| {{ID|Base.PaintBlack}}
|-
| [[File:Paint_Blue.png|link=Paint{{lcs}}|Blue Paint]]
| {{ll|Paint|Blue Paint}}
| 5.0
| {{ID|Base.PaintBlue}}
|-
| [[File:Paint_Brown.png|link=Paint{{lcs}}|Brown Paint]]
| {{ll|Paint|Brown Paint}}
| 5.0
| {{ID|Base.PaintBrown}}
|-
| [[File:Paint_Cyan.png|link=Paint{{lcs}}|Cyan Paint]]
| {{ll|Paint|Cyan Paint}}
| 5.0
| {{ID|Base.PaintCyan}}
|-
| [[File:Paint_Green.png|link=Paint{{lcs}}|Green Paint]]
| {{ll|Paint|Green Paint}}
| 5.0
| {{ID|Base.PaintGreen}}
|-
| [[File:Paint_Grey.png|link=Paint{{lcs}}|Gray Paint]]
| {{ll|Paint|Gray Paint}}
| 5.0
| {{ID|Base.PaintGrey}}
|-
| [[File:Paint_LightBlue.png|link=Paint{{lcs}}|Light Blue Paint]]
| {{ll|Paint|Light Blue Paint}}
| 5.0
| {{ID|Base.PaintLightBlue}}
|-
| [[File:Paint_LightBrown.png|link=Paint{{lcs}}|Light Brown Paint]]
| {{ll|Paint|Light Brown Paint}}
| 5.0
| {{ID|Base.PaintLightBrown}}
|-
| [[File:Paint_Orange.png|link=Paint{{lcs}}|Orange Paint]]
| {{ll|Paint|Orange Paint}}
| 5.0
| {{ID|Base.PaintOrange}}
|-
| [[File:Paint_Pink.png|link=Paint{{lcs}}|Pink Paint]]
| {{ll|Paint|Pink Paint}}
| 5.0
| {{ID|Base.PaintPink}}
|-
| [[File:Paint_Purple.png|link=Paint{{lcs}}|Purple Paint]]
| {{ll|Paint|Purple Paint}}
| 5.0
| {{ID|Base.PaintPurple}}
|-
| [[File:Paint_Red.png|link=Paint{{lcs}}|Red Paint]]
| {{ll|Paint|Red Paint}}
| 5.0
| {{ID|Base.PaintRed}}
|-
| [[File:Paint_Turquoise.png|link=Paint{{lcs}}|Turquoise Paint]]
| {{ll|Paint|Turquoise Paint}}
| 5.0
| {{ID|Base.PaintTurquoise}}
|-
| [[File:Paint_White.png|link=Paint{{lcs}}|White Paint]]
| {{ll|Paint|White Paint}}
| 5.0
| {{ID|Base.PaintWhite}}
|-
| [[File:Paint_Yellow.png|link=Paint{{lcs}}|Yellow Paint]]
| {{ll|Paint|Yellow Paint}}
| 5.0
| {{ID|Base.PaintYellow}}
|}</onlyinclude>
 
==Trivia==
*The model has ''PAINT FOR U'' written on the side.
 
==Code==
{{CodeBox|[[File:PaintbucketEmpty.png]] {{ID|Base.PaintbucketEmpty}}<br>
{{CodeSnip
  | lang = java
  | line = true
  | start = 4037
  | source = newitems.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item PaintbucketEmpty
     {
     {
        DisplayCategory = Material,
         Weight = 1.0,
         Weight = 1.0,
         Type = Normal,
         Type = Normal,
Line 42: Line 231:
         Tooltip = Tooltip_item_RainFromGround,
         Tooltip = Tooltip_item_RainFromGround,
         EatType = Bucket,
         EatType = Bucket,
     }</nowiki>
        WorldStaticModel = PaintTinEmpty_Ground,
     }
}}


''[Colour] Paint'' [[File:Paintanim.gif]]<br>
[[File:Paintanim.gif]] {{ID|Base.NAME}}<br>
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeSnip
{{Retrieved|version=41|incver=51}}
  | lang = java
<pre>    item Paint[Colour]
  | line = false
  | source = newitems.txt
  | retrieved = true
  | version = 41.78.16
  | code =
    item Paint[Color]
{
{
Weight = 5,
Weight = 5,
Line 54: Line 250:
UseWhileEquipped = FALSE,
UseWhileEquipped = FALSE,
UseDelta = 0.1,
UseDelta = 0.1,
DisplayName = [Colour] Paint,
DisplayName = [Color] Paint,
Icon = Paint_[Colour],
Icon = Paint_[Color],
Tooltip = Tooltip_Paint,
Tooltip = Tooltip_Paint,
StaticModel = Bucket,
StaticModel = Bucket,
}</pre>
}
}}
}}


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


[[Category:Construction]]
[[Category:Construction]]
[[Category:Items]]
[[Category:Spiffo's Construction Crew (Project)]]
[[Category:Spiffo's Construction Crew (Project)]]
[[Category:Carpentry materials]]
{{Navbox items|carpentry_materials}}

Latest revision as of 15:32, 25 April 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Paint
PaintTinRed Model.png
PaintTinBlack Model.png
PaintTinBlue Model.png
PaintTinBrown Model.png
PaintTinCyan Model.png
PaintTinGreen Model.png
PaintTinGrey Model.png
PaintTinLightBlue Model.png
PaintTinLightBrown Model.png
PaintTinOrange Model.png
PaintTinPink Model.png
PaintTinPurple Model.png
PaintTinTurquoise Model.png
PaintTinWhite Model.png
PaintTinYellow Model.png
PaintTinEmpty Model.png
General
Encumbrance
Moodle Icon HeavyLoad.png
5.0 (Full)
1.0 (Empty)
Function
Paint plastered wooden walls
Paint signs on walls
Properties
Capacity
10 units
Technical
Item ID
Base.PaintbucketEmpty
Base.Paint[Color]
Used to paint plastered walls. Requires paintbrush.
— In-game tooltip

Paint is an item used for painting on walls and signs.

Usage

Paint is used with a paintbrush to paint plastered walls. A full can of paint can be used to paint up to ten walls or signs.

Once a can of paint has been used, or if the paint is poured out, it will be replaced with an empty paint bucket, which can be used to collect water.

Distribution

The loot distributions can be found in the table(s) below.

PaintWhite distribution Show / Hide
Containers
Building / Room Container Rolls Chance
all crate 1 0.8
bedroom crate 1 0.4
closet crate 4 1.0
closet crate 4 10.0
Vehicles
Vehicle Type/Location Rolls Chance
PainterTruckBed 4 10

Types

Paint can come in 15 different colors:

Icon Name Encumbrance Item ID
Black Paint Black Paint 5.0 Base.PaintBlack
Blue Paint Blue Paint 5.0 Base.PaintBlue
Brown Paint Brown Paint 5.0 Base.PaintBrown
Cyan Paint Cyan Paint 5.0 Base.PaintCyan
Green Paint Green Paint 5.0 Base.PaintGreen
Gray Paint Gray Paint 5.0 Base.PaintGrey
Light Blue Paint Light Blue Paint 5.0 Base.PaintLightBlue
Light Brown Paint Light Brown Paint 5.0 Base.PaintLightBrown
Orange Paint Orange Paint 5.0 Base.PaintOrange
Pink Paint Pink Paint 5.0 Base.PaintPink
Purple Paint Purple Paint 5.0 Base.PaintPurple
Red Paint Red Paint 5.0 Base.PaintRed
Turquoise Paint Turquoise Paint 5.0 Base.PaintTurquoise
White Paint White Paint 5.0 Base.PaintWhite
Yellow Paint Yellow Paint 5.0 Base.PaintYellow

Trivia

  • The model has PAINT FOR U written on the side.

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

PaintbucketEmpty.png Base.PaintbucketEmpty
Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.78.16
item PaintbucketEmpty
    {
        DisplayCategory = Material,
        Weight	=	1.0,
        Type	=	Normal,
        DisplayName	=	Empty Paint Bucket,
        Icon	=	PaintbucketEmpty,
        MetalValue = 20,
        StaticModel = Bucket,
        CanStoreWater	=	TRUE,
        ReplaceOnUseOn	=	WaterSource-WaterPaintbucket,
        RainFactor = 1,
        Tooltip = Tooltip_item_RainFromGround,
        EatType = Bucket,
        WorldStaticModel = PaintTinEmpty_Ground,
    }

Paintanim.gif Base.NAME
Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.78.16
item Paint[Color]
	{
		Weight	=	5,
		Type	=	Drainable,
		ReplaceOnDeplete = PaintbucketEmpty,
		UseWhileEquipped	=	FALSE,
		UseDelta	=	0.1,
		DisplayName	=	[Color] Paint,
		Icon	=	Paint_[Color],
		Tooltip = Tooltip_Paint,
		StaticModel = Bucket,
	}

See also