Cairn
Cairn
[[File:{{{icon2}}}|Cairn|]]
[[File:{{{icon3}}}|Cairn|]]
[[File:{{{icon4}}}|Cairn|]]
[[File:{{{icon5}}}|Cairn|]]
General
Category
Furniture
Function
Decorative
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 |
0 XP | none | Hammer (tag) (keep) |
Stone x6 (consumed) |
Trivia
- Cairns are currently one of only two base game uses for stones, the other being stone hammers.
Code
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