Construction: Difference between revisions

From The Cataclysm: Dark Days Ahead Wiki
Jump to navigation Jump to search
m (→‎Construction.cpp: updated github links)
Line 25: Line 25:
|rowspan="2" align="center"|0
|rowspan="2" align="center"|0
|rowspan="2"|<!-- &construct::able_dig, &construct::done_nothing --> Creates [[traps#pit|pit trap]] on any diggable tile in two steps
|rowspan="2"|<!-- &construct::able_dig, &construct::done_nothing --> Creates [[traps#pit|pit trap]] on any diggable tile in two steps
|1: shallow pit ||align="center"|10 || [[shovel]] '''OR''' [[stone_shovel|stone shovel]] '''OR''' [[digging_stick|digging stick]] ||
|1: [[shallow_pit|shallow pit]] ||align="center"|10 || [[shovel]] '''OR''' [[stone_shovel|stone shovel]] '''OR''' [[digging_stick|digging stick]] ||
|-
|-
|style="border-top: 1px dashed gray;"|2: pit || style="border-top: 1px dashed gray;" align="center"|10 || style="border-top: 1px dashed gray;"|[[shovel]] '''OR''' [[stone_shovel|stone shovel]] '''OR''' [[digging_stick|digging stick]] ||style="border-top: 1px dashed gray;"|
|style="border-top: 1px dashed gray;"|2: [[pit]] || style="border-top: 1px dashed gray;" align="center"|10 || style="border-top: 1px dashed gray;"|[[shovel]] '''OR''' [[stone_shovel|stone shovel]] '''OR''' [[digging_stick|digging stick]] ||style="border-top: 1px dashed gray;"|


|-
|-
| scope="row"|'''[[spiked_pit|Spike Pit]]''' || align="center"|0
| scope="row"|'''[[spiked_pit|Spike Pit]]''' || align="center"|0
| <!-- &construct::able_pit, &construct::done_nothing --> Changes pit trap into [[traps#spiked pit|spiked pit trap]]
| <!-- &construct::able_pit, &construct::done_nothing --> Changes pit trap into [[traps#spiked pit|spiked pit trap]]
| spiked pit || align="center"|5 ||   
| [[spiked_pit|spiked pit]] || align="center"|5 ||   
|
|
* 4x [[wood_spear|wood spear]]
* 4x [[wood_spear|wood spear]]
Line 40: Line 40:
| rowspan="2" align="center"|0
| rowspan="2" align="center"|0
| rowspan="2"|<!-- &construct::able_pit, &construct::done_nothing --> Removes [[traps#pit|pit trap]] in two steps
| rowspan="2"|<!-- &construct::able_pit, &construct::done_nothing --> Removes [[traps#pit|pit trap]] in two steps
| 1: shallow pit || align="center"|5 || [[shovel]] '''OR''' [[stone_shovel|stone shovel]] ||
| 1: [[shallow_pit|shallow pit]] || align="center"|5 || [[shovel]] '''OR''' [[stone_shovel|stone shovel]] ||
|-
|-
| style="border-top: 1px dashed gray;"|2: dirt ||style="border-top: 1px dashed gray;" align="center"|5 ||style="border-top: 1px dashed gray;"| [[shovel]] '''OR''' [[stone_shovel|stone shovel]] ||style="border-top: 1px dashed gray;"|
| style="border-top: 1px dashed gray;"|2: [[dirt]] ||style="border-top: 1px dashed gray;" align="center"|5 ||style="border-top: 1px dashed gray;"| [[shovel]] '''OR''' [[stone_shovel|stone shovel]] ||style="border-top: 1px dashed gray;"|


|-
|-
Line 48: Line 48:
| align="center"|0
| align="center"|0
| <!-- &construct::able_tree, &construct::done_tree --> Creates 1-8 [[log]] tiles in asked direction, but destroying original underneath tiles which is [[noise|noisy]].<!-- 40 points in each tile -->
| <!-- &construct::able_tree, &construct::done_tree --> Creates 1-8 [[log]] tiles in asked direction, but destroying original underneath tiles which is [[noise|noisy]].<!-- 40 points in each tile -->
| dirt || align="center"|10 || [[wood_axe|wood axe]] '''OR''' [[chainsaw| chainsaw (on)]] '''OR''' [[stone_axe|stone axe]]
| [[dirt]] || align="center"|10 || [[wood_axe|wood axe]] '''OR''' [[chainsaw| chainsaw (on)]] '''OR''' [[stone_axe|stone axe]]


|-
|-
Line 54: Line 54:
| align="center"|0
| align="center"|0
| <!-- &construct::able_log, &construct::done_log --> Converts [[log]] tile into 10-20 [[two_by_four|two by four]] planks
| <!-- &construct::able_log, &construct::done_log --> Converts [[log]] tile into 10-20 [[two_by_four|two by four]] planks
| dirt || align="center"|20 || [[wood_axe|wood axe]] '''OR''' [[chainsaw| chainsaw (on)]] '''OR''' [[stone_axe|stone axe]]
| [[dirt]] || align="center"|20 || [[wood_axe|wood axe]] '''OR''' [[chainsaw| chainsaw (on)]] '''OR''' [[stone_axe|stone axe]]


|-
|-
Line 62: Line 62:


|-
|-
| scope="row"| '''Clean Broken [[Window]]''' || align="center"|0
| scope="row"| '''Clean [[window_frame|Broken Window]]''' || align="center"|0
| <!-- &construct::able_broken_window, &construct::done_nothing --> Removes sharp fragments of glass from broken window.
| <!-- &construct::able_broken_window, &construct::done_nothing --> Removes sharp fragments of glass from broken window.
| empty window || align="center"|5 ||  ||
| [[empty_window|empty window]] || align="center"|5 ||  ||


|-
|-
| scope="row"| '''Repair [[Door]]''' || align="center"|1
| scope="row"| '''Repair [[Door]]''' || align="center"|1
| <!-- &construct::able_door_broken, &construct::done_nothing --> Repair broken wooden door (not an empty door frame).
| <!-- &construct::able_door_broken, &construct::done_nothing --> Repair broken wooden door (not an empty door frame).
| closed wood door || align="center"|10 || [[hammer]] '''OR''' [[stone_hammer|stone hammer]] '''OR''' [[hatchet]] '''OR''' [[nail_gun|nail gun]]
| [[closed_wood_door|closed wood door]] || align="center"|10 || [[hammer]] '''OR''' [[stone_hammer|stone hammer]] '''OR''' [[hatchet]] '''OR''' [[nail_gun|nail gun]]
|
|
* 3x [[two_by_four|two by four]]  
* 3x [[two_by_four|two by four]]  
Line 75: Line 75:


|-
|-
| scope="row"| '''Board Up [[Door]]''' || align="center"|0
| scope="row"| '''[[Boarded_up_door|Board Up Door]]''' || align="center"|0
| <!-- &construct::able_door, &construct::done_nothing --> Reinforces closed, opened, broken '''OR''' locked wooden door. Boards can be pried out with [[crowbar]] '''OR''' [[hammer]] (boards and [[nails]] will be fully returned).
| <!-- &construct::able_door, &construct::done_nothing --> Reinforces closed, opened, broken '''OR''' locked wooden door. Boards can be pried out with [[crowbar]] '''OR''' [[hammer]] (boards and [[nails]] will be fully returned).
| boarded up door || align="center"|8 || [[hammer]] '''OR''' [[sledge hammer]] '''OR''' [[stone_hammer|stone hammer]] '''OR''' [[hatchet]] '''OR''' [[nail_gun|nail gun]]
| [[Boarded_up_door|boarded up door]] || align="center"|8 || [[hammer]] '''OR''' [[sledge hammer]] '''OR''' [[stone_hammer|stone hammer]] '''OR''' [[hatchet]] '''OR''' [[nail_gun|nail gun]]
|
|
* 4x [[two_by_four|two by four]]  
* 4x [[two_by_four|two by four]]  
Line 83: Line 83:


|-
|-
| scope="row"| '''Board Up [[Window]]''' || align="center"|0
| scope="row"| '''[[Boarded_up_window|Board Up Window]]''' || align="center"|0
| <!-- &construct::able_window, &construct::done_nothing --> Reinforces window, empty window '''OR''' window frame. Boards can be pried out with [[crowbar]] '''OR''' [[hammer]] (boards and [[nails]] will be fully returned).
| <!-- &construct::able_window, &construct::done_nothing --> Reinforces window, empty window '''OR''' window frame. Boards can be pried out with [[crowbar]] '''OR''' [[hammer]] (boards and [[nails]] will be fully returned).
| boarded up window || align="center"|5 || [[hammer]] '''OR''' [[sledge hammer]] '''OR''' [[stone_hammer|stone hammer]] '''OR''' [[hatchet]] '''OR''' [[nail_gun|nail gun]]
| [[Boarded_up_window|boarded up window]] || align="center"|5 || [[hammer]] '''OR''' [[sledge hammer]] '''OR''' [[stone_hammer|stone hammer]] '''OR''' [[hatchet]] '''OR''' [[nail_gun|nail gun]]
|
|
* 4x [[two_by_four|two by four]]  
* 4x [[two_by_four|two by four]]  
Line 95: Line 95:
|rowspan="3" align="center"| 2
|rowspan="3" align="center"| 2
|rowspan="3"| <!-- &construct::able_empty, &construct::done_nothing -->Builds a window in three steps
|rowspan="3"| <!-- &construct::able_empty, &construct::done_nothing -->Builds a window in three steps
|1: empty window frame || align="center"|10 || [[hammer]] '''OR''' [[stone_hammer|stone hammer]] '''OR''' [[hatchet]] '''OR''' [[nail_gun|nail gun]] ||  
|1: [[window_frame|empty window frame]] || align="center"|10 || [[hammer]] '''OR''' [[stone_hammer|stone hammer]] '''OR''' [[hatchet]] '''OR''' [[nail_gun|nail gun]] ||  
* 15x [[two_by_four|two by four]] '''OR''' 2x [[log]]
* 15x [[two_by_four|two by four]] '''OR''' 2x [[log]]
* 30x [[nails]]  
* 30x [[nails]]  
|-
|-
| style="border-top: 1px dashed gray;"|2: window || style="border-top: 1px dashed gray;" align="center"|5 || style="border-top: 1px dashed gray;"|[[hammer]] '''OR''' [[stone_hammer|stone hammer]] '''OR''' [[hatchet]] '''OR''' [[nail_gun|nail gun]] ||style="border-top: 1px dashed gray;"|
| style="border-top: 1px dashed gray;"|2: [[window]] || style="border-top: 1px dashed gray;" align="center"|5 || style="border-top: 1px dashed gray;"|[[hammer]] '''OR''' [[stone_hammer|stone hammer]] '''OR''' [[hatchet]] '''OR''' [[nail_gun|nail gun]] ||style="border-top: 1px dashed gray;"|
* 1x [[sheet_of_glass|sheet of glass]]
* 1x [[sheet_of_glass|sheet of glass]]
|-
|-
| style="border-top: 1px dashed gray;"|3: closed window || style="border-top: 1px dashed gray;" align="center"|5 || style="border-top: 1px dashed gray;"|[[wood_saw|wood saw]] ||style="border-top: 1px dashed gray;"|
| style="border-top: 1px dashed gray;"|3: [[Window_(domestic)|closed window]] || style="border-top: 1px dashed gray;" align="center"|5 || style="border-top: 1px dashed gray;"|[[wood_saw|wood saw]] ||style="border-top: 1px dashed gray;"|
* 4x [[nails]]
* 4x [[nails]]
* 2x [[sheet]]
* 2x [[sheet]]
Line 112: Line 112:
|rowspan="2" align="center"| 2
|rowspan="2" align="center"| 2
|rowspan="2"| <!-- &construct::able_empty, &construct::done_nothing -->Builds a door in two steps
|rowspan="2"| <!-- &construct::able_empty, &construct::done_nothing -->Builds a door in two steps
|1: empty door frame || align="center"|15 || [[hammer]] '''OR''' [[stone_hammer|stone hammer]] '''OR''' [[hatchet]] '''OR''' [[nail_gun|nail gun]] ||  
|1: [[empty_door_frame|empty door frame]] || align="center"|15 || [[hammer]] '''OR''' [[stone_hammer|stone hammer]] '''OR''' [[hatchet]] '''OR''' [[nail_gun|nail gun]] ||  
* 12x [[two_by_four|two by four]]  
* 12x [[two_by_four|two by four]]  
* 24x [[nails]]  
* 24x [[nails]]  
|-
|-
| style="border-top: 1px dashed gray;"|2: closed wood door || style="border-top: 1px dashed gray;" align="center"|15 || style="border-top: 1px dashed gray;"|[[hammer]] '''OR''' [[stone_hammer|stone hammer]] '''OR''' [[hatchet]] '''OR''' [[nail_gun|nail gun]] ||style="border-top: 1px dashed gray;"|
| style="border-top: 1px dashed gray;"|2: [[closed_wood_door|closed wood door]] || style="border-top: 1px dashed gray;" align="center"|15 || style="border-top: 1px dashed gray;"|[[hammer]] '''OR''' [[stone_hammer|stone hammer]] '''OR''' [[hatchet]] '''OR''' [[nail_gun|nail gun]] ||style="border-top: 1px dashed gray;"|
* 4x [[two_by_four|two by four]]  
* 4x [[two_by_four|two by four]]  
* 12x [[nails]]  
* 12x [[nails]]  
Line 124: Line 124:
|rowspan="2" align="center"| 3
|rowspan="2" align="center"| 3
|rowspan="2"| <!-- &construct::able_dig, &construct::done_nothing -->Builds a wire fence in two steps
|rowspan="2"| <!-- &construct::able_dig, &construct::done_nothing -->Builds a wire fence in two steps
| 1: wire fence posts || align="center"|20 || [[hammer]] '''OR''' [[stone_hammer|stone hammer]] '''OR''' [[hatchet]] '''OR''' [[rock]] ||  
| 1: [[fence_post|fence posts]] || align="center"|20 || [[hammer]] '''OR''' [[stone_hammer|stone hammer]] '''OR''' [[hatchet]] '''OR''' [[rock]] ||  
* 6x [[pipe]]
* 6x [[pipe]]
* 8x [[scrap_metal|scrap metal]]
* 8x [[scrap_metal|scrap metal]]
|-
|-
| style="border-top: 1px dashed gray;"|2: wire fence || style="border-top: 1px dashed gray;" align="center"|20 ||style="border-top: 1px dashed gray;"|  ||style="border-top: 1px dashed gray;"|  
| style="border-top: 1px dashed gray;"|2: [[wire_fence|wire fence]] || style="border-top: 1px dashed gray;" align="center"|20 ||style="border-top: 1px dashed gray;"|  ||style="border-top: 1px dashed gray;"|  
* 15x [[wire]]
* 15x [[wire]]


Line 142: Line 142:
| scope="row"|'''Build [[wire_gate|Wire Gate]]''' || align="center"|3
| scope="row"|'''Build [[wire_gate|Wire Gate]]''' || align="center"|3
| <!-- &construct::able_between_walls, &construct::done_nothing -->Creates a wire gate
| <!-- &construct::able_between_walls, &construct::done_nothing -->Creates a wire gate
| wire fence gate || align="center"|15 ||  
| [[wire_gate|wire fence gate]] || align="center"|15 ||  
|
|
* 20x [[wire]]
* 20x [[wire]]
Line 151: Line 151:
| scope="row"|'''Build [[floor|Roof]]''' || align="center"|4
| scope="row"|'''Build [[floor|Roof]]''' || align="center"|4
| <!-- &construct::able_between_walls, &construct::done_nothing -->Creates a floor and a roof, prevents damage from acid rain.
| <!-- &construct::able_between_walls, &construct::done_nothing -->Creates a floor and a roof, prevents damage from acid rain.
| floor || align="center"|40 || [[hammer]] '''OR''' [[stone_hammer|stone hammer]] '''OR''' [[hatchet]] '''OR''' [[nail_gun|nail gun]]
| [[floor]] || align="center"|40 || [[hammer]] '''OR''' [[stone_hammer|stone hammer]] '''OR''' [[hatchet]] '''OR''' [[nail_gun|nail gun]]
|
|
* 8x [[two_by_four|two by four]]  
* 8x [[two_by_four|two by four]]  
Line 159: Line 159:
| scope="row"|'''Build [[bulletin_board|Bulletin Board]]''' || align="center"|0
| scope="row"|'''Build [[bulletin_board|Bulletin Board]]''' || align="center"|0
| <!-- &construct::able_empty, &construct::done_nothing -->Creates a bulletin board to designate a player's base. This allows players to order allied [[NPC]]s to move to that position and defend it.
| <!-- &construct::able_empty, &construct::done_nothing -->Creates a bulletin board to designate a player's base. This allows players to order allied [[NPC]]s to move to that position and defend it.
| bulletin board || align="center"|10 || [[wood_saw|wood saw]] '''OR''' [[hammer]] '''OR''' [[hatchet]] '''OR''' [[nail_gun|nail gun]]
| [[bulletin_board|bulletin board]] || align="center"|10 || [[wood_saw|wood saw]] '''OR''' [[hammer]] '''OR''' [[hatchet]] '''OR''' [[nail_gun|nail gun]]
|
|
* 4x [[two_by_four|two by four]]  
* 4x [[two_by_four|two by four]]  
Line 167: Line 167:
| scope="row"|'''Build [[Dresser]]''' || align="center"|1
| scope="row"|'''Build [[Dresser]]''' || align="center"|1
| <!-- &construct::able_indoors, &construct::done_nothing -->Creates a dresser
| <!-- &construct::able_indoors, &construct::done_nothing -->Creates a dresser
| dresser || align="center"|20 || [[wood_saw|wood saw]] '''OR''' [[hammer]] '''OR''' [[stone_hammer|stone hammer]] '''OR''' [[hatchet]] '''OR''' [[nail_gun|nail gun]]
| [[dresser]] || align="center"|20 || [[wood_saw|wood saw]] '''OR''' [[hammer]] '''OR''' [[stone_hammer|stone hammer]] '''OR''' [[hatchet]] '''OR''' [[nail_gun|nail gun]]
|
|
* 8x [[nails]]  
* 8x [[nails]]  
Line 173: Line 173:


|-
|-
| scope="row"|'''Build [[Book_case|Bookcase]]''' || align="center"|1
| scope="row"|'''Build [[Book_case|Book case]]''' || align="center"|1
| <!-- &construct::able_indoors, &construct::done_nothing -->Creates a bookcase
| <!-- &construct::able_indoors, &construct::done_nothing -->Creates a bookcase
| bookcase || align="center"|20 || [[wood_saw|wood saw]] '''OR''' [[hammer]] '''OR''' [[stone_hammer|stone hammer]] '''OR''' [[hatchet]] '''OR''' [[nail_gun|nail gun]]
| [[book_case|book case]] || align="center"|20 || [[wood_saw|wood saw]] '''OR''' [[hammer]] '''OR''' [[stone_hammer|stone hammer]] '''OR''' [[hatchet]] '''OR''' [[nail_gun|nail gun]]
|
|
* 16x [[nails]]  
* 16x [[nails]]  
Line 183: Line 183:
| scope="row"|'''Build [[Counter]]''' || align="center"|0
| scope="row"|'''Build [[Counter]]''' || align="center"|0
| <!-- &construct::able_indoors, &construct::done_nothing -->Creates a counter
| <!-- &construct::able_indoors, &construct::done_nothing -->Creates a counter
| counter || align="center"|20 || [[hammer]] '''OR''' [[stone_hammer|stone hammer]] '''OR''' [[hatchet]] '''OR''' [[nail_gun|nail gun]]
| [[counter]] || align="center"|20 || [[hammer]] '''OR''' [[stone_hammer|stone hammer]] '''OR''' [[hatchet]] '''OR''' [[nail_gun|nail gun]]
|
|
* 8x [[nails]]  
* 8x [[nails]]  
Line 191: Line 191:
| scope="row"|'''Build [[makeshift_bed|Makeshift Bed]]''' || align="center"|1
| scope="row"|'''Build [[makeshift_bed|Makeshift Bed]]''' || align="center"|1
| <!-- &construct::able_indoors, &construct::done_nothing -->Creates a makeshift bed
| <!-- &construct::able_indoors, &construct::done_nothing -->Creates a makeshift bed
| makeshift bed || align="center"|20 || [[hammer]] '''OR''' [[stone_hammer|stone hammer]] '''OR''' [[hatchet]] '''OR''' [[nail_gun|nail gun]]
| [[makeshift_bed|makeshift bed]] || align="center"|20 || [[hammer]] '''OR''' [[stone_hammer|stone hammer]] '''OR''' [[hatchet]] '''OR''' [[nail_gun|nail gun]]
|
|
* 8x [[nails]]  
* 8x [[nails]]  
Line 200: Line 200:
| scope="row"|'''Tape up [[window]]''' || align="center"|0
| scope="row"|'''Tape up [[window]]''' || align="center"|0
| <!-- &construct::able_window, &construct::done_tape -->Covers a window with [[duct_tape|duct tape]], so it obscures line of sight and reduces the leaking of human odor outside
| <!-- &construct::able_window, &construct::done_tape -->Covers a window with [[duct_tape|duct tape]], so it obscures line of sight and reduces the leaking of human odor outside
| <!-- t_null --> || align="center"|2 || ||
| [[Taped_window|taped window]] || align="center"|2 || ||
* 50x [[duct_tape|duct tape]]
* 50x [[duct_tape|duct tape]]


Line 217: Line 217:
| align="center"|0
| align="center"|0
| <!-- &construct::able_empty, &construct::done_vehicle -->Starts the construction of a vehicle from scratch
| <!-- &construct::able_empty, &construct::done_vehicle -->Starts the construction of a vehicle from scratch
| <!-- t_null --> || align="center"|10 ||  ||
| [[Vehicle#frame|frame]] || align="center"|10 ||  ||
* 1x [[steel_frame|steel frame]]
* 1x [[steel_frame|steel frame]]


Line 223: Line 223:
| scope="row"|'''[[fence_post|Fence Posts]]''' || align="center"|0
| scope="row"|'''[[fence_post|Fence Posts]]''' || align="center"|0
| <!-- &construct::able_dig, &construct::done_nothing -->Creates a fence post
| <!-- &construct::able_dig, &construct::done_nothing -->Creates a fence post
| fence post || align="center"|5 || [[hammer]] '''OR''' [[stone_hammer|stone hammer]] '''OR''' [[shovel]] '''OR''' [[stone_shovel|stone shovel]] '''OR''' [[rock]] '''OR''' [[hatchet]] '''OR''' [[wood_axe|wood axe]] '''OR''' [[stone_axe|stone axe]]
| [[fence_post|fence post]] || align="center"|5 || [[hammer]] '''OR''' [[stone_hammer|stone hammer]] '''OR''' [[shovel]] '''OR''' [[stone_shovel|stone shovel]] '''OR''' [[rock]] '''OR''' [[hatchet]] '''OR''' [[wood_axe|wood axe]] '''OR''' [[stone_axe|stone axe]]
|
|
* 2x [[wood_spear|wood spear]]  
* 2x [[wood_spear|wood spear]]  
Line 230: Line 230:
| scope="row"|'''Build [[wood_stove|Wood Stove]]''' || align="center"|0
| scope="row"|'''Build [[wood_stove|Wood Stove]]''' || align="center"|0
| <!-- &construct::able_empty, &construct::done_nothing -->Creates a wood stove
| <!-- &construct::able_empty, &construct::done_nothing -->Creates a wood stove
| wood stove || align="center"|10 || [[hack_saw|hack saw]]
| [[wood_stove|wood stove]] || align="center"|10 || [[hack_saw|hack saw]]
|
|
* 1x [[metal_tank|metal tank]]
* 1x [[metal_tank|metal tank]]
Line 238: Line 238:
| scope="row"|'''Build Stone [[Fireplace]]''' || align="center"|0
| scope="row"|'''Build Stone [[Fireplace]]''' || align="center"|0
| <!-- &construct::able_empty, &construct::done_nothing -->Creates a fireplace
| <!-- &construct::able_empty, &construct::done_nothing -->Creates a fireplace
| fireplace || align="center"|40 || [[hammer]] '''OR''' [[stone_hammer|stone hammer]] '''OR''' [[shovel]] '''OR''' [[stone_shovel|stone shovel]]
| [[fireplace]] || align="center"|40 || [[hammer]] '''OR''' [[stone_hammer|stone hammer]] '''OR''' [[shovel]] '''OR''' [[stone_shovel|stone shovel]]
|
|
* 40x [[rock]]
* 40x [[rock]]

Revision as of 10:22, 28 August 2013

Use * to display the construction screen.

Both items in your inventory and all items in 2 square radius are available as construction tools and components. If items needed can be found in both your inventory and on the ground, you will be prompted as to which items you want to use in your crafting.

A completed construction trains character's construction skill by [construction difficulty] * 10 points (or 10 points for a zero difficulty). Using a crowbar on certain objects will also give you 1 practice point in the construction skill, but only if your skill level is 0.

Most structures can only be built over floor terrain types. If you want to build on any other kind of floor you'll need to replace the floor first by Building a Roof, which will add a roof to that tile and replace the floor with the default one. Only then you'll be able to build any kind of structure there.

Alternatively, build a locker, cabinet, or any other piece of movable furniture and move it around. The tiles it moves over will turn into floor tiles.

List of constructions

Action D
Description Creates tile T
Tools Materials
Dig Pit 0 Creates pit trap on any diggable tile in two steps 1: shallow pit 10 shovel OR stone shovel OR digging stick
2: pit 10 shovel OR stone shovel OR digging stick
Spike Pit 0 Changes pit trap into spiked pit trap spiked pit 5
Fill Pit 0 Removes pit trap in two steps 1: shallow pit 5 shovel OR stone shovel
2: dirt 5 shovel OR stone shovel
Chop Down Tree 0 Creates 1-8 log tiles in asked direction, but destroying original underneath tiles which is noisy. dirt 10 wood axe OR chainsaw (on) OR stone axe
Chop Up log 0 Converts log tile into 10-20 two by four planks dirt 20 wood axe OR chainsaw (on) OR stone axe
Move Furniture -1 Moves the selected furniture object one tile in the desired direction null 5
Clean Broken Window 0 Removes sharp fragments of glass from broken window. empty window 5
Repair Door 1 Repair broken wooden door (not an empty door frame). closed wood door 10 hammer OR stone hammer OR hatchet OR nail gun
Board Up Door 0 Reinforces closed, opened, broken OR locked wooden door. Boards can be pried out with crowbar OR hammer (boards and nails will be fully returned). boarded up door 8 hammer OR sledge hammer OR stone hammer OR hatchet OR nail gun
Board Up Window 0 Reinforces window, empty window OR window frame. Boards can be pried out with crowbar OR hammer (boards and nails will be fully returned). boarded up window 5 hammer OR sledge hammer OR stone hammer OR hatchet OR nail gun


Build Window 2 Builds a window in three steps 1: empty window frame 10 hammer OR stone hammer OR hatchet OR nail gun
2: window 5 hammer OR stone hammer OR hatchet OR nail gun
3: closed window 5 wood saw


Build Door 2 Builds a door in two steps 1: empty door frame 15 hammer OR stone hammer OR hatchet OR nail gun
2: closed wood door 15 hammer OR stone hammer OR hatchet OR nail gun
Build Wire Fence 3 Builds a wire fence in two steps 1: fence posts 20 hammer OR stone hammer OR hatchet OR rock
2: wire fence 20
Realign Fence 0 Realigns a wire fence either vertically or horizontally 1: align horizontally 0
2: align vertically 0
Build Wire Gate 3 Creates a wire gate wire fence gate 15
Build Roof 4 Creates a floor and a roof, prevents damage from acid rain. floor 40 hammer OR stone hammer OR hatchet OR nail gun
Build Bulletin Board 0 Creates a bulletin board to designate a player's base. This allows players to order allied NPCs to move to that position and defend it. bulletin board 10 wood saw OR hammer OR hatchet OR nail gun
Build Dresser 1 Creates a dresser dresser 20 wood saw OR hammer OR stone hammer OR hatchet OR nail gun
Build Book case 1 Creates a bookcase book case 20 wood saw OR hammer OR stone hammer OR hatchet OR nail gun
Build Counter 0 Creates a counter counter 20 hammer OR stone hammer OR hatchet OR nail gun
Build Makeshift Bed 1 Creates a makeshift bed makeshift bed 20 hammer OR stone hammer OR hatchet OR nail gun
Tape up window 0 Covers a window with duct tape, so it obscures line of sight and reduces the leaking of human odor outside taped window 2
Deconstruct Furniture 0 Disassembles a furniture object to it's construction components 20
Start vehicle construction 0 Starts the construction of a vehicle from scratch frame 10
Fence Posts 0 Creates a fence post fence post 5 hammer OR stone hammer OR shovel OR stone shovel OR rock OR hatchet OR wood axe OR stone axe
Build Wood Stove 0 Creates a wood stove wood stove 10 hack saw
Build Stone Fireplace 0 Creates a fireplace fireplace 40 hammer OR stone hammer OR shovel OR stone shovel

Construction.cpp

The syntax is quite simple:

CONSTRUCT("Build Wall", 2, &construct::able_empty, &construct::done_nothing);
 STAGE(t_wall_half, 10);
  TOOL(itm_hammer, itm_hatchet, itm_nailgun, NULL);
  COMP(itm_2x4, 10, NULL);
  COMP(itm_nail, 20, NULL);
 STAGE(t_wall_wood, 10);
  TOOL(itm_hammer, itm_hatchet, itm_nailgun, NULL);
  COMP(itm_2x4, 10, NULL);
  COMP(itm_nail, 20, NULL);

In CONSTRUCT you define name as it appears in the menu (30 characters or less), difficulty (what level of construction skill that requires), condition- and post-construction-functions (see construction.h for options, and later in construction.cpp for definitions).

In you define what map tile will be placed there (see mapdata.h) and time that it takes to finish this (in minutes, 10 turns = 1 minute)

In TOOL you define what tools are needed and if it should be used up. Tools will always be kept, because tools with charges are not set in constructions yet.

Multiply items in one TOOL can substitute each other, if you want a recipe to need two tools at a time you need a second TOOL line.

In COMP you define which and how much components the recipe uses, if you want a recipe to need two different components at a time you need a second COMP line.

TOOL and COMP both have to end in ,NULL);