Wooden Cross: Difference between revisions

From PZwiki
mNo edit summary
m (Automated Formatting)
 
(32 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{languages}}
{{Header|Project Zomboid|Tiles|Decorations}}
{{header|The Game World|Items|type=Construction|version=Version 41|incver=39}}
{{Page version|41.78.16}}
{{Infobox normal
{{Infobox tile
|display_name = Wooden cross
|name=Wooden cross
|name_colour =
|icon=WoodenCross.png
|name_text_colour =  
|model=WoodenCross.png
|image = WoodenCross.png
|function=Decorative
|image_width = 120px
<!--Build-->
|weight =  
|build_tool_tag=Hammer
|primary_use = Decorative
|ingredients=<small>2 × [[File:Plank.png|20px|link=Plank]] [[Plank]]<br>2 × [[File:Nails.png|20px|link=Nails]] [[Nails]]</small>
|secondary_use =  
|tile_id=location_community_cemetary_01_22
|max_units =  
|tile_id2=location_community_cemetary_01_23
|contents =  
|class_name =  
}}
}}
The '''wooden cross''' is a constructable decorative tile.
==Overview==
Similar to a [[cairn]], it is traditionally used to mark the grave where a [[Containers#Corpses|corpse]] has been buried.


==Crafting==
==Crafting==
{| class="pztable sortable" style="text-align:center;"
{{Crafting/sandbox2
|-
|wooden_cross
! Name
}}
! class="unsortable" | Recipe
 
! class="unsortable" | Description
==Code==
! Level
{{CodeBox|
{{Recipe|2
{{CodeSnip
|item1=[[Plank]]    |q1=x2  |picitem1=File:Plank.png |tag1=(consumed)  
  | lang = java
|item2=[[Nails]]  |q2=x2  |picitem2=File:Nails.png |tag2=(consumed)  
  | line = true
|product=[[Wooden cross]] |q6=x1  |picproduct=File:WoodenCross.png
  | start = 0
|description= None
  | retrieved = true
|level=Carpentry 0}}
  | version = 41.78.16
|}
  | code =
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==
*[[Cairn]]
*[[Wooden Picket]]
*[[Wooden Sign]]
 
{{Navbox construction|carpentry}}


[[Category:Items]]
[[Category:Carpentry]]
[[Category:Carpentry]]
[[Category:Spiffo's Construction Crew (Project)]]

Latest revision as of 13:27, 14 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]
Wooden cross
WoodenCross.png
[[File:{{{icon2}}}|Wooden cross|]]
[[File:{{{icon3}}}|Wooden cross|]]
[[File:{{{icon4}}}|Wooden cross|]]
[[File:{{{icon5}}}|Wooden cross|]]
General
Category
Furniture
Function
Decorative
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

Hammer.png
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