Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Wooden Cross: Difference between revisions

From PZwiki
m (Remove function.)
Tag: bot
m (Change category format.)
Tag: bot
 
Line 54: Line 54:
{{Navbox construction|carpentry}}
{{Navbox construction|carpentry}}


[[Category:Carpentry]]
{{ll|Category:Carpentry}}

Latest revision as of 05:44, 18 September 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Wooden cross
WoodenCross.png
[[File:{{{icon2}}}|Wooden cross||class=pixelart}}]]
[[File:{{{icon3}}}|Wooden cross||class=pixelart}}]]
[[File:{{{icon4}}}|Wooden cross||class=pixelart}}]]
[[File:{{{icon5}}}|Wooden cross||class=pixelart}}]]
[[File:{{{icon6}}}|Wooden cross||class=pixelart}}]]
[[File:{{{icon7}}}|Wooden cross||class=pixelart}}]]
[[File:{{{icon8}}}|Wooden cross||class=pixelart}}]]
[[File:{{{icon9}}}|Wooden cross||class=pixelart}}]]
Build
Tool(s)
Ingredients
2 × Plank.png Plank
2 × Nails.png Nails
Technical
Tile ID(s)
location_community_cemetary_01_22
location_community_cemetary_01_23

The wooden cross is a constructable decorative tile.

Overview

Similar to a cairn, it is traditionally used to mark the grave where a corpse has been buried.

Crafting

Product Ingredients Tools Requirements Workstation XP
WoodenCross Carpentry.png
Wooden Cross
Plank.png Plank ×2
Nails.png Nails ×2
Ball-peen HammerHammerStone Hammer
Hammer (tag)
none none 1.25 Carpentry

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide
Retrieved: Build 41.78.16
ISBuildMenu.onWoodenCross = function(worldobjects, square, player)
	local cross = ISSimpleFurniture:new("Wooden Cross", "location_community_cemetary_01_22", "location_community_cemetary_01_23");
	cross.canPassThrough = true;
	cross.canBarricade = false;
	cross.ignoreNorth = true;
	cross.canBeAlwaysPlaced = false;
	cross.isThumpable = false;
	cross.modData["xp:Woodwork"] = 5;
	cross.modData["need:Base.Plank"] = "2";
	cross.modData["need:Base.Nails"] = "2";
	cross.player = player
	cross.maxTime = 80;
	cross.completionSound = "BuildWoodenStructureSmall";
	getCell():setDrag(cross, player);
end

See also