Paint

From PZwiki
Revision as of 23:07, 17 March 2022 by Exodus7656 (talk | contribs) (Fixed typos; made more concise for readability.)
Paint
Paint
Empty Paint Bucket
General
Category Item
Encumbrance
Heavy Load
5.0 (Full)
1.0 (Empty)
Function Paint wooden wall
Capacity 10 units
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 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 rain water.

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.

Paint is usually found in crates.

Code

Empty Paint Bucket PaintbucketEmpty.png
From newitems.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.51

    item PaintbucketEmpty
    {
        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,
    }

[Colour] Paint Paintanim.gif
From items.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.51

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

See also