Paintbrush: Difference between revisions

From PZwiki
m (solving improvement need)
m (Distribution table fix)
 
(37 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{languages}}
{{Header|Project Zomboid|Items|Equipment|Tools|Carpentry tools}}
{{Tools
{{Page version|41.78.16}}
|image = Paint_brush.png
{{Infobox item
|primaryuse = Painting walls
|name=Paintbrush
|otheruses = None
|model=PaintBrush_Model.png
|weight = 0.2
|icon=Paintbrush.png
|icon_name=Paint Brush
|category=Tool
|weight=0.2
|primary_use=[[Paint]]ing [[wall]]s
|secondary_use=[[Bucket of Plaster|Plastering]] [[wall]]s
|item_id=Base.Paintbrush
}}
}}
A '''paintbrush''' is an item used in construction.


This large sized paint brush that weighs 0.2 units of weight is usually found in crates.<br>
==Usage==
They are used to paint a plastered wall.
The paint brush is used to [[Bucket of Plaster|plaster]] a player-constructed [[Wooden Wall|wooden wall]].


== Code ==
A plastered wall, whether player-constructed or not, can be [[paint]]ed using [[paint]] and the paintbrush. Symbols can also be painted on plastered walls, and other surface types, such as [[Wooden Sign|wooden signs]].
<nowiki>item Paintbrush
 
{
==Distribution==
Weight = 0.2,
The loot distributions can be found in the table(s) below.
Type = Normal,
 
DisplayName = Paint brush,
<!--BOT FLAG|Paintbrush|41.78.16-->
Icon = Paintbrush,
{{Clear}}
}</nowiki>
<div class="togglebox theme-red">
    <div>Paintbrush distribution
        <span class="mw-customtoggle-togglebox-Paintbrush" 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-Paintbrush">
    Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits.    <div class="toggle-content">
<div class="pz-container">
<div id="containers" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Containers}}
    ! Building/Room
    ! Container
    ! Effective chance
    |-
    | all
    | {{ll|crate}}
    | 0.65%
    |-
    | bedroom
    | {{ll|crate}}
    | 6.41%
    |-
    | cabinetfactory
    | {{ll|crate}}
    | 10.78%
    |-
    | cabinetfactory
    | {{ll|metal_shelves}}
    | 10.78%
    |-
    | cabinetshipping
    | {{ll|metal_shelves}}
    | 10.78%
    |-
    | closet
    | {{ll|crate}}
    | 6.41%
    |-
    | closet
    | {{ll|crate}}
    | 23.28%
    |-
    | construction
    | {{ll|crate}}
    | 23.28%
    |-
    | factory
    | {{ll|crate}}
    | 23.28%
    |-
    | factory
    | {{ll|metal_shelves}}
    | 23.28%
    |-
    | garagestorage
    | {{ll|crate}}
    | 6.41%
    |-
    | garagestorage
    | {{ll|crate}}
    | 23.28%
    |-
    | livingroom
    | {{ll|wardrobe}}
    | 23.28%
    |-
    | paintershop
    | {{ll|crate}}
    | 23.28%
    |-
    | paintershop
    | {{ll|metal_shelves}}
    | 23.28%
    |-
    | shed
    | {{ll|crate}}
    | 23.28%
    |-
    | storageunit
    | {{ll|crate}}
    | 6.41%
    |-
    | storageunit
    | {{ll|crate}}
    | 23.28%
    |-
    | storageunit
    | {{ll|metal_shelves}}
    | 6.41%
    |-
    | storageunit
    | {{ll|metal_shelves}}
    | 23.28%
    |-
    | toolstore
    | {{ll|counter}}
    | 10.78%
    |-
    | toolstore
    | {{ll|shelves}}
    | 10.78%
    |-
    | warehouse
    | {{ll|crate}}
    | 23.28%
    |-
    | warehouse
    | {{ll|metal_shelves}}
    | 23.28%
    |}
</div>
<div id="vehicles" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Vehicles}}
    ! Type
    ! Container
    ! Effective chance
    |-
    | Painter
    | {{ll|Glove Box}}
    | 23.28%
    |-
    | Painter
    | {{ll|Truck Bed}}
    | 60.41%
    |-
    | Painter
    | {{ll|Truck Bed}}
    | 23.28%
    |-
    | Painter
    | {{ll|Truck Bed}}
    | 41.14%
    |}
</div>
    </div><div style="clear: both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-Paintbrush" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Paintbrush|41.78.16-->
 
==Code==
{{CodeBox
| {{CodeSnip
  | lang = java
  | line = true
  | start = 331
  | source = items.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Paintbrush
{
    DisplayCategory = Tool,
Weight = 0.2,
Type = Normal,
DisplayName = Paint Brush,
Icon = Paintbrush,
StaticModel = PaintBrush,
WorldStaticModel = PaintBrush_Ground,
}
}}
}}
 
==See also==
*[[Carpentry]]
*[[Bucket]]
*[[Paint]]
 
{{Navbox items|tools}}


==See Also==
* [[Bucket]]
* [[Paint]]


{{Navbox/Tools}}
[[Category:Tools]]
[[Category:Construction]]
[[Category:Construction]]
[[Category:Items]]
[[Category:Spiffo's Construction Crew (Project)]]

Latest revision as of 19:32, 30 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]
Paintbrush
PaintBrush Model.png
General
Category
Tool
Encumbrance
Moodle Icon HeavyLoad.png
0.2
Technical
Item ID
Base.Paintbrush

A paintbrush is an item used in construction.

Usage

The paint brush is used to plaster a player-constructed wooden wall.

A plastered wall, whether player-constructed or not, can be painted using paint and the paintbrush. Symbols can also be painted on plastered walls, and other surface types, such as wooden signs.

Distribution

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

Paintbrush distribution Show / Hide
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
all crate 0.65%
bedroom crate 6.41%
cabinetfactory crate 10.78%
cabinetfactory metal_shelves 10.78%
cabinetshipping metal_shelves 10.78%
closet crate 6.41%
closet crate 23.28%
construction crate 23.28%
factory crate 23.28%
factory metal_shelves 23.28%
garagestorage crate 6.41%
garagestorage crate 23.28%
livingroom wardrobe 23.28%
paintershop crate 23.28%
paintershop metal_shelves 23.28%
shed crate 23.28%
storageunit crate 6.41%
storageunit crate 23.28%
storageunit metal_shelves 6.41%
storageunit metal_shelves 23.28%
toolstore counter 10.78%
toolstore shelves 10.78%
warehouse crate 23.28%
warehouse metal_shelves 23.28%
Vehicles
Type Container Effective chance
Painter Glove Box 23.28%
Painter Trunk 60.41%
Painter Trunk 23.28%
Painter Trunk 41.14%

Code

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

Source: ProjectZomboid\media\scripts\items.txt

Retrieved: Build 41.78.16
item Paintbrush
	{
	    DisplayCategory = Tool,
		Weight	=	0.2,
		Type	=	Normal,
		DisplayName	=	Paint Brush,
		Icon	=	Paintbrush,
		StaticModel = PaintBrush,
		WorldStaticModel = PaintBrush_Ground,
	}

See also