Template:Crafting carpentry

From PZwiki
Revision as of 14:43, 26 May 2019 by Vaileasys (talk | contribs)
[view] [edit] [history] [purge] Template documentation
This template is used as a single point to reference carpentry crafting recipes – defined by the game's crafting categories.

Please use this template, so the recipe only needs to be updated in a single place, in case the recipe changes in a future update – along with the added bonus of quickly and easily displaying a crafting recipe on any page.

Usage

For a guide on how to display the table correctly, please refer to {{Crafting header}}.

See below for a step-by-step guide on how to add a recipe to an article:

  1. Insert the following snippet into your article:
  2. {{Crafting header|ing=Y}}
    {{Crafting general|X|ing=Y}}
    |}
  3. Replace the X with the index of the specific recipe you want to display. See Index reference for a list of available recipes.
  4. Add all the recipes you want to add. This can even be different types of recipes. I.e. {{Crafting general}} and {{Crafting cooking}}.
  5. {{Crafting header|ing=Y}}
    {{Crafting general|001|ing=Y}}
    {{Crafting cooking|001|ing=Y}}
    |}
  6. Now replace the Y with the most number of ingredients required (add ing=Y for each entry first). This will shorten the table and make it look neater, by removing the unnecessary columns.
  7. In our above example, 1 is the largest number of ingredients for any recipe in our table. So: This:
    {{Crafting header|ing=1}}
    {{Crafting general|001|ing=1}}
    {{Crafting cooking|001|ing=1}}
    |}

    Produces:

    Product XP gained Skill(s) Recipe Ingredient 1
    GunpowderJar.png
    Gunpowder
    0 XP none
    (consumed)
    Empty Bottle (Bourbon)
    Water Bottle (Bourbon)
    0 XP none WhiskeyFull.png
    Bourbon
    (consumed)

    Note that the ing argument needs to be defined for the table contents too.

Edit existing recipe

It is inevitable that recipes will change as the game is continually developed. This may be as simple as changing the amount of XP gained, or completely changing how to make a Makeshift Ham Radio.

For how to create a new recipe refer to the below along with {{Crafting}}.

Getting started

  1. Go to Template:Crafting carpentry and not Template:Crafting carpentry/doc (current page will be bold)
  2. Click the Edit button at the very top, not the one next to Template documentation. Or click here to edit current page.

There are 5 main components to a crafting recipe:

  1. Product: The item/object that will be produced by the recipe.
  2. XP Gained: The amount and type of experience that will be gained when completing the recipe.
  3. Skill(s): The required skill level to unlock the recipe.
  4. Recipe: The required recipe magazines or occupation to unlock the recipe.
  5. Ingredient(s): The ingredients required in the recipe. There can be up to 11 different ingredients.

Product

The product uses the following parameters:

  1. product_image: The image used for the icon. For items this is displayed in the code section usually as icon.
  2. product_name: The name of the item. In most cases this is also the article name. For items this is displayed in the code section usually as DisplayName.
  3. product_quantity: The quantity this recipe will produce. Should be left blank if "1".

XP Gained

Xp Gained only uses a single parameter: xp.
This is the default amount of experience, with NO MODIFIER. This should be displayed as followed: 2.5 Cooking.

Skill(s)

Skill(s) only uses a single parameter: sl, short for "skill level".
This should be displayed as followed: CP = 7.

Recipe

Recipe only uses a single parameter: rec, short for "recipe". This is used to specify how to unlock the recipe (other than with a skill level), either by a trait, occupation or recipe magazine.

Ingredient(s)

Ingredient(s) uses the following parameters (Replace the # with the ingredient number):

  1. f#: This is the file/image that will display.
  2. i#: The item/object name that will display.
  3. q#: The quantity required in the recipe. Should be left blank if "1".
  4. tag#: A special tag used to display what will happen to this item/object in the recipe. E.g. (keep), (base item) or (consumed)
Note: "workstations" may use the tag to represent other requirements unique to the workstation. E.g. oven may have a cook time or temperature.

Multiple ingredients

Some ingredients can be substituted for other ingredients, such as the various different types of hammers.
The syntax for this is m#_α, where like the above, # is replaced with the ingredient number, and α is replaced with the number of "sub-" or "multi-" ingredient. There can be up to 10 multi-ingredients. The icon and name should be on one row with the icon set to 20px.
Example:

  | m1_1 = [[File:Saw.png|20px|link=Saw]] [[Saw]]
  | m1_2 = [[File:Handsaw.png|20px|link=Garden Saw]] [[Garden Saw]]
  | q1 = 
  | tag1 = (keep)

Note that the quantity (q1) and tag (tag1) can still be used.

Ingredient order

The order of ingredients should remain consistent, using the following order:

  1. Workstation: This may be an oven or any other workstation, especially those added in build 42 and beyond.
  2. Keep tag: These are usually tools, and are not consumed in the recipe.
  3. Base item tag: These are primary ingredients, and are usually consumed in the recipe.
  4. Consumed tag: These can be ordered based on significance to the final product, use your best guess.

Index reference

Items

General (001−100)

Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2 Ingredient 3 Ingredient 4 Index
Plank.png
Plank
3 Carpentry XP
(1 if above level 3)
Carpentry Level 0 File:Saw.png
Saw
(keep)
Logs.png
Log
(consumed)









001
MortarPestle.png
Mortar and Pestle
? Carpentry XP Carpentry Level 2 File:Saw.png
Saw
(keep)
Plank.png
Plank
(consumed)









002
Plaster Mixed.png
Bucket of Plaster
? Carpentry XP Carpentry Level 0
(consumed)
WaterDrop.png
Water
(5 units)

(keep)
Plaster Powder.png
Bag of Plaster Powder
(consumed)








003
Drawer.png
Drawer
? Carpentry XP Carpentry Level 0
(keep)
Plank.png
Plank
(consumed)
File:Doorknob.png
Doorknob
(consumed)
Nails.png
Nails
(consumed)







004
Logs2.png
Logs Stack
0 Carpentry XP Carpentry Level 0 Logs.png
Log x2
(consumed)
Rope.png
Rope x2
(consumed)









005
Logs3.png
Logs Stack
0 Carpentry XP Carpentry Level 0 Logs.png
Log x3
(consumed)
Rope.png
Rope x3
(consumed)









006
Logs4.png
Logs Stack
0 Carpentry XP Carpentry Level 0 Logs.png
Log x4
(consumed)
Rope.png
Rope x4
(consumed)









007
N/A 008
N/A 009
N/A 010

Construction

Barrier (201-300)

Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2 Ingredient 3 Ingredient 4 Index
WoodenBarricade Carpentry.gif
Barricade
3 Carpentry XP Carpentry Level 0
(keep)
One of:
WoodenDoor Carpentry.gif Door
Window Carpentry.gif Window
Plank.png
Plank x1
(consumed)
Nails.png
Nails x1
(consumed)







201
WoodenStake Carpentry.png
Wooden Stake
5 Carpentry XP Carpentry Level 5
(keep)
Plank.png
Plank x1
(consumed)
Nails.png
Nails x2
(consumed)








202
BarbedFence Carpentry.png
Barbed Fence
5 Carpentry XP Carpentry Level 5
(keep)
BarbedWire.png
Barbed Wire x1
(consumed)









203
WoodenFence Carpentry.gif
Wooden Fence
5 Carpentry XP Carpentry Level 2
(keep)
Plank.png
Plank x2
(consumed)
Nails.png
Nails x3
(consumed)








204
SandbagWall Carpentry.png
Sandbag Wall
5 Carpentry XP Carpentry Level 0
(keep)
Sandbag.png
Sand Bag x3
(consumed)









205
SandbagWall Carpentry.png
Gravel Bag Wall
5 Carpentry XP Carpentry Level 0
(keep)
File:Gravel Bag.png
Gravel Bag x3
(consumed)









206

Furniture (301-400)

Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2 Ingredient 3 Ingredient 4 Index
WoodenCrate Carpentry.gif
Wooden Crate
3 Carpentry XP Carpentry Level 3
(keep)
Plank.png
Plank x3
(consumed)
Nails.png
Nails x3
(consumed)








301
BarElement Carpentry.gif
Bar Element
3 Carpentry XP Carpentry Level 7
(keep)
Plank.png
Plank x4
(consumed)
Nails.png
Nails x4
(consumed)








302
BarCorner Carpentry.gif
Bar Corner
5 Carpentry XP Carpentry Level 7
(keep)
Plank.png
Plank x4
(consumed)
Nails.png
Nails x4
(consumed)








303
SmallTable Carpentry.gif
Small Table
3 Carpentry XP Carpentry Level 3
(keep)
Plank.png
Plank x5
(consumed)
Nails.png
Nails x4
(consumed)








304
LargeTable Carpentry.gif
Large Table
5 Carpentry XP Carpentry Level 4
(keep)
Plank.png
Plank x6
(consumed)
Nails.png
Nails x4
(consumed)








305
TablewithDrawer Carpentry.gif
Table with Drawer
5 Carpentry XP Carpentry Level 5
(keep)
Plank.png
Plank x5
(consumed)
Nails.png
Nails x4
(consumed)
Drawer.png
Drawer x1
(consumed)







306
WoodenChair Carpentry.gif
Wooden Chair
3 Carpentry XP Carpentry Level 2
(keep)
Plank.png
Plank x5
(consumed)
Nails.png
Nails x4
(consumed)








307
RainCollectorBarrel1 Carpentry.gif
Rain Collector Barrel
5 Carpentry XP Carpentry Level 4
(keep)
Plank.png
Plank x4
(consumed)
Nails.png
Nails x4
(consumed)
Garbage Bag.png
Garbage Bag x4
(consumed)







308
RainCollectorBarrel2 Carpentry.gif
Rain Collector Barrel
5 Carpentry XP Carpentry Level 7
(keep)
Plank.png
Plank x4
(consumed)
Nails.png
Nails x4
(consumed)
Garbage Bag.png
Garbage Bag x4
(consumed)







309
CompostBin.gif
Composter
5 Carpentry XP Carpentry Level 2
(keep)
Plank.png
Plank x5
(consumed)
Nails.png
Nails x4
(consumed)








310
Bookcase Carpentry.gif
Bookcase
5 Carpentry XP Carpentry Level 5
(keep)
Plank.png
Plank x5
(consumed)
Nails.png
Nails x4
(consumed)








311
SmallBookcase Carpentry.png
Small Bookcase
3 Carpentry XP Carpentry Level 3
(keep)
Plank.png
Plank x3
(consumed)
Nails.png
Nails x3
(consumed)








312
Shelves Carpentry.png
Shelves
3 Carpentry XP Carpentry Level 2
(keep)
Plank.png
Plank x1
(consumed)
Nails.png
Nails x2
(consumed)








313
DoubleShelves Carpentry.png
Double Shelves
5 Carpentry XP Carpentry Level 2
(keep)
Plank.png
Plank x1
(consumed)
Nails.png
Nails x2
(consumed)








314
CraftedBed.png
Bed
5 Carpentry XP Carpentry Level 4
(keep)
Plank.png
Plank x6
(consumed)
Nails.png
Nails x4
(consumed)
Mattress.png
Mattress x1
(consumed)







315

Miscellaneous (401-500)

Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2 Ingredient 3 Ingredient 4 Ingredient 5 Index
Cairn Carpentry.png
Cairn
0 Carpentry XP Carpentry Level 0
(keep)
Stone.png
Stone x6
(consumed)









401
LamponPillar Carpentry.png
Lamp on Pillar
5 Carpentry XP Carpentry Level 4
(keep)
Plank.png
Plank x2
(consumed)
Nails.png
Nails x4
(consumed)
Rope.png
Rope x1
(consumed)
Flashlight.png
Flashlight x1
(consumed)






402
SheetRope Carpentry.png
Sheet Rope
? Carpentry XP Carpentry Level 0
(keep)
Sheet Rope.png
Sheet Rope x1
(per storey)

(consumed)
Nails.png
Nails x1








403
WoodenCross Carpentry.png
Wooden Cross
5 Carpentry XP Carpentry Level 0
(keep)
Plank.png
Plank x2
(consumed)
Nails.png
Nails x2








404
WoodenPicket Carpentry.png
Wooden Picket
5 Carpentry XP Carpentry Level 0
(keep)
Plank.png
Plank x1
(consumed)
Sheet Rope.png
Sheet Rope x1








405
WoodenSign Carpentry.png
Wooden Sign
5 Carpentry XP Carpentry Level 1
(keep)
Plank.png
Plank x3
(consumed)
Nails.png
Nails x3








406

Structure (501-600)

Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2 Ingredient 3 Ingredient 4 Ingredient 5 Index
Wooden Wall Frame
Wooden Wall Frame
5 Carpentry XP Carpentry Level 2
(keep)
Plank.png
Plank x1
(consumed)
Nails.png
Nails x1








501
Wooden Wall Lvl1
Wooden Wall Lvl1
10 Carpentry XP Carpentry Level 2
(keep)
Plank.png
Plank x2
(consumed)
Nails.png
Nails x4







502
Wooden Wall Lvl2
Wooden Wall Lvl2
20 Carpentry XP Carpentry Level 4
(keep)
Plank.png
Plank x2
(consumed)
Nails.png
Nails x4
(consumed)







503
Wooden Wall Lvl3
Wooden Wall Lvl3
30 Carpentry XP Carpentry Level 7
(keep)
Plank.png
Plank x2
(consumed)
Nails.png
Nails x4
(consumed)







504
Wooden Wall Lvl2
Wooden Wall Lvl2
10 Carpentry XP Carpentry Level 4
(keep)
Wooden Wall Lvl1
Wooden Wall Lvl1
Plank.png
Plank x1
(consumed)
Nails.png
Nails x4
(consumed)







505
Wooden Wall Lvl3
Wooden Wall Lvl3
20 Carpentry XP Carpentry Level 7
(keep)
Wooden Wall Lvl1
Wooden Wall Lvl1
Plank.png
Plank x2
(consumed)
Nails.png
Nails x8
(consumed)







506
Wooden Wall Lvl3
Wooden Wall Lvl3
10 Carpentry XP Carpentry Level 7
(keep)
Wooden Wall Lvl2
Wooden Wall Lvl2
Plank.png
Plank x1
(consumed)
Nails.png
Nails x4
(consumed)







507
Wooden Window Lvl1
Wooden Window Lvl1
10 Carpentry XP Carpentry Level 2
(keep)
Plank.png
Plank x2
(consumed)
Nails.png
Nails x4







508
Wooden Window Lvl2
Wooden Window Lvl2
20 Carpentry XP Carpentry Level 4
(keep)
Plank.png
Plank x2
(consumed)
Nails.png
Nails x4







509
Wooden Window Lvl3
Wooden Window Lvl3
30 Carpentry XP Carpentry Level7
(keep)
Plank.png
Plank x2
(consumed)
Nails.png
Nails x4







510
Wooden Window Lvl2
Wooden Window Lvl2
10 Carpentry XP Carpentry Level 4
(keep)
Wooden Window Lvl1
Wooden Window Lvl1
Plank.png
Plank x1
(consumed)
Nails.png
Nails x4
(consumed)







511
Wooden Window Lvl3
Wooden Window Lvl3
20 Carpentry XP Carpentry Level 7
(keep)
Wooden Window Lvl1
Wooden Window Lvl1
Plank.png
Plank x2
(consumed)
Nails.png
Nails x8
(consumed)







512
Wooden Window Lvl3
Wooden Window Lvl3
10 Carpentry XP Carpentry Level 7
(keep)
Wooden Window Lvl2
Wooden Window Lvl2
Plank.png
Plank x1
(consumed)
Nails.png
Nails x4
(consumed)







513
Doorframe Carpentry.gif
Wooden Doorframe
? Carpentry XP Carpentry Level 2
(keep)
Plank.png
Plank x4
(consumed)
Nails.png
Nails x4
(consumed)








514
Wooden pillar.png
Wooden Pillar
? Carpentry XP Carpentry Level 2
(keep)
Plank.png
Plank x4
(consumed)
Nails.png
Nails x4
(consumed)








515
LogWall Carpentry.png
Log Wall
? Carpentry XP Carpentry Level 0
(keep)
Logs.png
Log x4
(consumed)
One of:
Ripped Sheets.png Ripped Sheets x4
Twine.png Twine x4
Rope.png Rope x2

(consumed)








516
WoodenDoor Carpentry.gif
Door
? Carpentry XP Carpentry Level 3
(keep)
Plank.png
Plank x4
(consumed)
Nails.png
Nails x4
(consumed)
Doorhinge.png
Door Hinge x2
(consumed)
File:Doorknob.png
Doorknob x1
(consumed)






517
DoubleWoodenDoor Carpentry.png
Double Wooden Door
? Carpentry XP Carpentry Level 6
(keep)
Plank.png
Plank x12
(consumed)
Nails.png
Nails x12
(consumed)
Doorhinge.png
Door Hinge x4
(consumed)
File:Doorknob.png
Doorknob x2
(consumed)






518
Stairs Carpentry.png
Stairs
5 Carpentry XP Carpentry Level 6
(keep)
Plank.png
Plank x15
(consumed)
Nails.png
Nails x15
(consumed)








519
Wooden Floor anim.gif
Wooden Floor
5 Carpentry XP Carpentry Level 1
(keep)
Plank.png
Plank x1
(consumed)
Nails.png
Nails x1
(consumed)








520
N/A 521
N/A 522

See also

Documentation transcluded from Template:Crafting carpentry/doc.
Editors can experiment in this template's sandbox (create)