Wooden Cross: Difference between revisions
mNo edit summary |
m (Automated Formatting) |
||
(32 intermediate revisions by 9 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Tiles|Decorations}} | ||
{{ | {{Page version|41.78.16}} | ||
{{Infobox | {{Infobox tile | ||
| | |name=Wooden cross | ||
| | |icon=WoodenCross.png | ||
|model=WoodenCross.png | |||
| | |function=Decorative | ||
| | <!--Build--> | ||
| | |build_tool_tag=Hammer | ||
| | |ingredients=<small>2 × [[File:Plank.png|20px|link=Plank]] [[Plank]]<br>2 × [[File:Nails.png|20px|link=Nails]] [[Nails]]</small> | ||
| | |tile_id=location_community_cemetary_01_22 | ||
| | |tile_id2=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 [[Containers#Corpses|corpse]] has been buried. | |||
==Crafting== | ==Crafting== | ||
{| | {{Crafting/sandbox2 | ||
| | |wooden_cross | ||
}} | |||
==Code== | |||
{{CodeBox| | |||
{{CodeSnip | |||
| | | lang = java | ||
| line = true | |||
| start = 0 | |||
| retrieved = true | |||
| | | 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:Carpentry]] | [[Category:Carpentry]] | ||
[[Category:Spiffo's Construction Crew (Project)]] |
Latest revision as of 13:27, 14 April 2024
Wooden cross
[[File:{{{icon2}}}|Wooden cross|]]
[[File:{{{icon3}}}|Wooden cross|]]
[[File:{{{icon4}}}|Wooden cross|]]
[[File:{{{icon5}}}|Wooden cross|]]
General
Category
Furniture
Function
Decorative
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 |
---|---|---|---|---|---|
Wooden Cross |
Plank ×2 Nails ×2 |
Hammer (tag) |
none | none | 1.25 Carpentry |
Code
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