Template:Crafting general

From PZwiki
Imbox content.png
This template is deprecated.
This template will eventually be removed. Please use Template:Crafting/sandbox2 instead.
[view] [edit] [history] [purge] Template documentation
This template is used as a single point to reference general 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 general and not Template:Crafting general/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

General (001−100)

Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2 Ingredient 3 Index
GunpowderJar.png
Gunpowder
0 XP none
(consumed)


001
Flashlight.png
Flashlight
0 XP none Flashlight.png
Flashlight
(consumed)
Battery.png
Battery
(consumed)

002
Battery.png
Battery
0 XP none
(keep)


003
Lit Candle
Lit Candle
0 XP none Candle.png
Candle
(consumed)

004
Rag.png
Ripped Sheets
0.25 Tailoring none
(consumed)


005
SheetRope.png
Sheet Rope
0 XP none
(consumed)


006
Molotov.png
Molotov Cocktail
0 XP none Bourbon
Bourbon
(consumed)

(consumed)

007
Molotov.png
Molotov Cocktail
0 XP none
(consumed)
Petrol.png
Gas Can
(1 unit)

(consumed)

(consumed)
008
40calAmmoBox.png
9mm Round x30
0 XP none Box of 9mm Rounds
Box of 9mm Rounds
(consumed)


009
Box of 9mm Rounds
Box of 9mm Rounds
0 XP none 40calAmmoBox.png
9mm Round x30
(consumed)


010
ShotgunAmmo.png
Shotgun Shells x24
0 XP none Box of Shotgun Shells
Box of Shotgun Shells
(consumed)


011
Box of Shotgun Shells
Box of Shotgun Shells
0 XP none ShotgunAmmo.png
Shotgun Shells x24
(consumed)


012
RifleAmmo223loose.png
.223 Round x40
0 XP none Box of .223 Rounds
Box of .223 Rounds
(consumed)


013
Box of .223 Rounds
Box of .223 Rounds
0 XP none RifleAmmo223loose.png
.223 Round x40
(consumed)


014
RifleAmmo308loose.png
.308 Round x40
0 XP none Box of .308 Rounds
Box of .308 Rounds
(consumed)


015
Box of .308 Rounds
Box of .308 Rounds
0 XP none RifleAmmo308loose.png
.308 Round x40
(consumed)


016
Nails.png
Nails x100
0 XP none Box of Nails
Box of Nails
(consumed)


017
Box of Nails
Box of Nails
0 XP none Nails.png
Nails x100
(consumed)


018
Screws.png
Screws x100
0 XP none Box of Screws
Box of Screws
(consumed)


019
Box of Screws
Box of Screws
0 XP none Screws.png
Screws x100
(consumed)


020
Paperclip.png
Paperclip x40
0 XP none Box of Paperclips
Box of Paperclips
(consumed)


021
Box of Paperclips
Box of Paperclips
0 XP none Paperclip.png
Paperclip x40
(consumed)


022
JarEmpty2.png
Empty Jar x6
0 XP none Box of Jars
Box of Jars
(consumed)


023
Clothing (clean)
Clothing (clean)
0 XP none Vest White.png
Clothing
(consumed)
One of:
Soap.png Soap (1 unit)
CleaningLiquid.png Cleaning Liquid

(consumed)
WaterDrop.png
Water
(3 units)

(consumed)
024
Umbrella
Umbrella
0 XP none Closed Umbrella
Closed Umbrella
(consumed)


025
Closed Umbrella
Closed Umbrella
0 XP none Umbrella White.png
Umbrella
(consumed)


026
TZ PerforatedWoodenPlank.png
Notched Wooden Plank
0 XP none
(keep)
One of:
Plank.png Plank
Logs.png Log

(consumed)

027
Candle.png
Candle
0 XP none Lit Candle
Lit Candle
(consumed)


028
Rubber Duck
Rubber Duck
0 XP none Rubber Duck
Rubber Duck
(consumed)
Battery.png
Battery
(consumed)

029
Flashlight2.png
Hand Torch
0 XP none Flashlight2.png
Hand Torch
(consumed)
Battery.png
Battery
(consumed)

030
NewspaperHat.png
Newspaper Hat
0 XP none Newspaper.png
Newspaper
(consumed)


031
FoilHat.png
Tin Foil Hat
0 XP none Aluminum.png
Aluminum
(consumed)


032
TZ WoodenStick.png
Sturdy Stick x8
0 XP none
One of:
Hacksaw.png Saw
Handsaw.png Garden Saw

(keep)
Plank.png
Plank
(consumed)

033
40calAmmoBox.png
.38 Special Round x30
0 XP none Box of .38 Special Rounds
Box of .38 Special Rounds
(consumed)


034
Box of .38 Special Rounds
Box of .38 Special Rounds
0 XP none 40calAmmoBox.png
.38 Special Round x30
(consumed)


035
40calAmmoBox.png
.44 Magnum Round x12
0 XP none Box of .44 Magnum Rounds
Box of .44 Magnum Rounds
(consumed)


036
Box of .44 Magnum Rounds
Box of .44 Magnum Rounds
0 XP none 40calAmmoBox.png
.44 Magnum Round x12
(consumed)


037
40calAmmoBox.png
.45 Auto Round x30
0 XP none Box of .45 Auto Rounds
Box of .45 Auto Rounds
(consumed)


038
Box of .45 Auto Rounds
Box of .45 Auto Rounds
0 XP none 40calAmmoBox.png
.45 Auto Round x30
(consumed)


039
RifleAmmo308loose.png
5.56 Round x60
0 XP none Box of 5.56 Rounds
Box of 5.56 Rounds
(consumed)


040
Box of 5.56 Rounds
Box of 5.56 Rounds
0 XP none RifleAmmo308loose.png
5.56 Round x60
(consumed)


041
Rag.png
Ripped Sheets
0.25 Tailoring none Clothing (Cotton)
Clothing (Cotton)
(consumed)


042
DenimStrips.png
Denim Strips
0.25 Tailoring none Scissors
Scissors
(keep)
Clothing (Denim)
Clothing (Denim)
(consumed)

043
LeatherStrips.png
Leather Strips
0.25 Tailoring none Scissors
Scissors
(keep)
Clothing (Leather)
Clothing (Leather)
(consumed)

044
Shotgun.png
Sawed-off JS-2000 Shotgun
0 XP none
One of:
Hacksaw.png Saw
Handsaw.png Garden Saw

(keep)
Shotgun2.png
JS-2000 Shotgun
(consumed)

045
ShotgunDoublebarrel.png
Sawed-off Double Barrel Shotgun
0 XP none
One of:
Hacksaw.png Saw
Handsaw.png Garden Saw

(keep)
ShotgunDoublebarrel.png
Double Barrel Shotgun
(consumed)

046
BrokenBottle.png
Smashed Bottle
0 XP none
(consumed)


047
Apple.png
Apple x12
0 XP none Sandbag.png
Sack of Apples
(consumed)


048
BellPepper.png
Bell Pepper x12
0 XP none Sandbag.png
Sack of Bell Peppers
(consumed)


049
Broccoli.png
Broccoli x12
0 XP none Sandbag.png
Sack of Broccoli
(consumed)


050
Cabbage.png
Cabbage x12
0 XP none Sandbag.png
Sack of Cabbage
(consumed)


051
Carrots.png
Carrots x12
0 XP none Sandbag.png
Sack of Carrots
(consumed)


052
Cherry.png
Cherry x12
0 XP none Sandbag.png
Sack of Cherry
(consumed)


053
Corn.png
Corn x12
0 XP none Sandbag.png
Sack of Corn
(consumed)


054
Eggplant.png
Eggplant x12
0 XP none Sandbag.png
Sack of Eggplant
(consumed)


055
Grapes.png
Grapes x12
0 XP none Sandbag.png
Sack of Grapes
(consumed)


056
Leek.png
Leek x12
0 XP none Sandbag.png
Sack of Leek
(consumed)


057
Lettuce.png
Lettuce x12
0 XP none Sandbag.png
Sack of Lettuce
(consumed)


058
Onion.png
Onion x12
0 XP none Sandbag.png
Sack of Onion
(consumed)


059
Peach.png
Peach x12
0 XP none Sandbag.png
Sack of Peach
(consumed)


060
Pear.png
Pear x12
0 XP none Sandbag.png
Sack of Pear
(consumed)


061
Potato.png
Potato x12
0 XP none Sandbag.png
Sack of Potato
(consumed)


062
Radish.png
Radish x12
0 XP none Sandbag.png
Sack of Radish
(consumed)


063
Strawberries.png
Strawberries x16
0 XP none Sandbag.png
Sack of Strawberries
(consumed)


064
Tomato.png
Tomato x12
0 XP none Sandbag.png
Sack of Tomato
(consumed)


065

See also

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