Cairn

From PZwiki
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Cairn
Cairn Carpentry.png
[[File:{{{icon2}}}|Cairn|]]
[[File:{{{icon3}}}|Cairn|]]
[[File:{{{icon4}}}|Cairn|]]
[[File:{{{icon5}}}|Cairn|]]
General
Category
Furniture
Function
Decorative
Build
Tool(s)
Ingredients
6 × Rock.png Stone
Technical
Tile ID(s)
location_community_cemetary_01_30 location_community_cemetary_01_30

The cairn is a constructable decorative tile.

Overview

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

Crafting

Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2 Ingredient 3
Cairn Carpentry.png
Cairn
0 XP none Hammer.png
Hammer (tag)
(keep)
Stone.png
Stone x6
(consumed)

Trivia

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide
Retrieved: Build 41.78.16
ISBuildMenu.onStonePile = function(worldobjects, square, player)
	-- sprite, northSprite, corner
	local cross = ISSimpleFurniture:new("Stone Pile", "location_community_cemetary_01_30", "location_community_cemetary_01_30");
	cross.canPassThrough = true;
	cross.canBarricade = false;
	cross.ignoreNorth = true;
	cross.canBeAlwaysPlaced = false;
	cross.isThumpable = false;
	cross.modData["need:Base.Stone"] = "6";
	cross.player = player
	cross.maxTime = 50;
	cross.noNeedHammer = true;
	cross.completionSound = "BuildFenceCairn";
	getCell():setDrag(cross, player);
end

See also