Template:Crafting health: Difference between revisions

From PZwiki
m ({{Deprecated|Crafting/sandbox2}})
m (Automated Formatting)
Line 1: Line 1:
<noinclude>{{Deprecated|Crafting/sandbox2}}{{Documentation}}[[Category:Crafting templates]]</noinclude><includeonly>{{#switch: {{{1|0}}}
<noinclude>{{Deprecated|Crafting/sandbox2}}{{Documentation}}[[Category:Crafting templates]]</noinclude><includeonly>{{#switch: {{{1|0}}}
|#default={{!}}-
|#default={{!}}-
  {{!}} {{abbr|N/A|This index number contains no data}} {{!}}{{!}} {{!}}{{!}} {{!}}{{!}} {{!}}{{!}} {{!}}{{!}} {{!}}{{!}} {{!}}{{!}} {{!}}{{!}} {{!}}{{!}} {{!}}{{!}}  
  {{!}} {{abbr|N/A|This index number contains no data}} {{!}}{{!}} {{!}}{{!}} {{!}}{{!}} {{!}}{{!}} {{!}}{{!}} {{!}}{{!}} {{!}}{{!}} {{!}}{{!}} {{!}}{{!}} {{!}}{{!}}
<!--
<!--


Line 12: Line 12:
   | product_image    = [[File:Bandage.png|link=Bandage{{lcs}}]]
   | product_image    = [[File:Bandage.png|link=Bandage{{lcs}}]]
   | product_name      = {{ll|Bandage}}
   | product_name      = {{ll|Bandage}}
   | product_quantity  =  
   | product_quantity  =
   | rec            = Clean Bandage
   | rec            = Clean Bandage
   | xp = 0 XP
   | xp = 0 XP
Line 18: Line 18:
   | f1 = [[File:BandageDirty.png|link=Bandage{{lcs}}]]
   | f1 = [[File:BandageDirty.png|link=Bandage{{lcs}}]]
   | i1 = {{ll|Bandage|Dirty Bandage}}
   | i1 = {{ll|Bandage|Dirty Bandage}}
   | q1 =  
   | q1 =
   | tag1 = (consumed)
   | tag1 = (consumed)
   | f2 = [[File:WaterDrop.png|link=Water{{lcs}}]]
   | f2 = [[File:WaterDrop.png|link=Water{{lcs}}]]
Line 31: Line 31:
   | product_image    = [[File:Rag.png|link=Ripped Sheets{{lcs}}]]
   | product_image    = [[File:Rag.png|link=Ripped Sheets{{lcs}}]]
   | product_name      = {{ll|Ripped Sheets}}
   | product_name      = {{ll|Ripped Sheets}}
   | product_quantity  =  
   | product_quantity  =
   | rec            = Clean Bandage
   | rec            = Clean Bandage
   | xp = 0 XP
   | xp = 0 XP
Line 37: Line 37:
   | f1 = [[File:RagDirty.png|link=Ripped Sheets{{lcs}}]]
   | f1 = [[File:RagDirty.png|link=Ripped Sheets{{lcs}}]]
   | i1 = {{ll|Ripped Sheets|Dirty Rag}}
   | i1 = {{ll|Ripped Sheets|Dirty Rag}}
   | q1 =  
   | q1 =
   | tag1 = (consumed)
   | tag1 = (consumed)
   | f2 = [[File:WaterDrop.png|link=Water{{lcs}}]]
   | f2 = [[File:WaterDrop.png|link=Water{{lcs}}]]
Line 50: Line 50:
   | product_image    = [[File:LeatherStrips.png|link=Leather Strips{{lcs}}]]
   | product_image    = [[File:LeatherStrips.png|link=Leather Strips{{lcs}}]]
   | product_name      = {{ll|Leather Strips}}
   | product_name      = {{ll|Leather Strips}}
   | product_quantity  =  
   | product_quantity  =
   | rec            = Clean Leather Strips
   | rec            = Clean Leather Strips
   | xp = 0 XP
   | xp = 0 XP
Line 56: Line 56:
   | f1 = [[File:LeatherStrips.png|link=Leather Strips{{lcs}}]]
   | f1 = [[File:LeatherStrips.png|link=Leather Strips{{lcs}}]]
   | i1 = {{ll|Leather Strips|Dirty Leather Strips}}
   | i1 = {{ll|Leather Strips|Dirty Leather Strips}}
   | q1 =  
   | q1 =
   | tag1 = (consumed)
   | tag1 = (consumed)
   | f2 = [[File:WaterDrop.png|link=Water{{lcs}}]]
   | f2 = [[File:WaterDrop.png|link=Water{{lcs}}]]
Line 69: Line 69:
   | product_image    = [[File:DenimStrips.png|link=Denim Strips{{lcs}}]]
   | product_image    = [[File:DenimStrips.png|link=Denim Strips{{lcs}}]]
   | product_name      = {{ll|Denim Strips}}
   | product_name      = {{ll|Denim Strips}}
   | product_quantity  =  
   | product_quantity  =
   | rec            = Clean Denim Strips
   | rec            = Clean Denim Strips
   | xp = 0 XP
   | xp = 0 XP
Line 75: Line 75:
   | f1 = [[File:DenimStrips.png|link=Denim Strips{{lcs}}]]
   | f1 = [[File:DenimStrips.png|link=Denim Strips{{lcs}}]]
   | i1 = {{ll|Denim Strips|Dirty Denim Strips}}
   | i1 = {{ll|Denim Strips|Dirty Denim Strips}}
   | q1 =  
   | q1 =
   | tag1 = (consumed)
   | tag1 = (consumed)
   | f2 = [[File:WaterDrop.png|link=Water{{lcs}}]]
   | f2 = [[File:WaterDrop.png|link=Water{{lcs}}]]
Line 88: Line 88:
   | product_image    = [[File:Bandage.png|link=Bandage{{lcs}}]]
   | product_image    = [[File:Bandage.png|link=Bandage{{lcs}}]]
   | product_name      = {{ll|Bandage|Sterilized Bandage}}
   | product_name      = {{ll|Bandage|Sterilized Bandage}}
   | product_quantity  =  
   | product_quantity  =
   | rec            = Disinfect Bandage
   | rec            = Disinfect Bandage
   | xp = 0 XP
   | xp = 0 XP
Line 94: Line 94:
   | f1 = [[File:Bandage.png|link=Bandage{{lcs}}]]
   | f1 = [[File:Bandage.png|link=Bandage{{lcs}}]]
   | i1 = {{ll|Bandage}}
   | i1 = {{ll|Bandage}}
   | q1 =  
   | q1 =
   | tag1 = (consumed)
   | tag1 = (consumed)
   | m2_1 = [[File:Alcohol.png|20px|link=Bottle of Disinfectant{{lcs}}]] {{ll|Bottle of Disinfectant}} <small>(3 units)</small>
   | m2_1 = [[File:Alcohol.png|20px|link=Bottle of Disinfectant{{lcs}}]] {{ll|Bottle of Disinfectant}} <small>(3 units)</small>
Line 108: Line 108:
   | product_image    = [[File:Rag.png|link=Ripped Sheets{{lcs}}|Sterilized Rag]]
   | product_image    = [[File:Rag.png|link=Ripped Sheets{{lcs}}|Sterilized Rag]]
   | product_name      = {{ll|Ripped Sheets|Sterilized Rag}}
   | product_name      = {{ll|Ripped Sheets|Sterilized Rag}}
   | product_quantity  =  
   | product_quantity  =
   | rec            = Disinfect Rag
   | rec            = Disinfect Rag
   | xp = 0 XP
   | xp = 0 XP
Line 114: Line 114:
   | f1 = [[File:Rag.png|link=Ripped Sheets{{lcs}}]]
   | f1 = [[File:Rag.png|link=Ripped Sheets{{lcs}}]]
   | i1 = {{ll|Ripped Sheets}}
   | i1 = {{ll|Ripped Sheets}}
   | q1 =  
   | q1 =
   | tag1 = (consumed)
   | tag1 = (consumed)
   | m2_1 = [[File:Alcohol.png|20px|link=Bottle of Disinfectant{{lcs}}]] {{ll|Bottle of Disinfectant}} <small>(3 units)</small>
   | m2_1 = [[File:Alcohol.png|20px|link=Bottle of Disinfectant{{lcs}}]] {{ll|Bottle of Disinfectant}} <small>(3 units)</small>
Line 128: Line 128:
   | product_image    = [[File:Splint.png|link=Splint{{lcs}}]]
   | product_image    = [[File:Splint.png|link=Splint{{lcs}}]]
   | product_name      = {{ll|Splint}}
   | product_name      = {{ll|Splint}}
   | product_quantity  =  
   | product_quantity  =
   | rec            = Make Splint
   | rec            = Make Splint
   | xp = 0 XP
   | xp = 0 XP
Line 137: Line 137:
   | tag1 = (consumed)
   | tag1 = (consumed)
   | m2_1 = [[File:RagDirty.png|20px|Ripped Sheets{{lcs}}]] {{ll|Ripped Sheets|Dirty Rag}}
   | m2_1 = [[File:RagDirty.png|20px|Ripped Sheets{{lcs}}]] {{ll|Ripped Sheets|Dirty Rag}}
   | m2_2 = [[File:Rag.png|20px|Ripped Sheets{{lcs}}]] {{ll|Ripped Sheets}}  
   | m2_2 = [[File:Rag.png|20px|Ripped Sheets{{lcs}}]] {{ll|Ripped Sheets}}
   | tag2 = (consumed)
   | tag2 = (consumed)
   | sl  = ''none''
   | sl  = ''none''
Line 146: Line 146:
   | product_image    = [[File:CottonBalls.png|link=Cotton Balls{{lcs}}]]
   | product_image    = [[File:CottonBalls.png|link=Cotton Balls{{lcs}}]]
   | product_name      = {{ll|Cotton Balls|Cotton Balls Doused in Alcohol}}
   | product_name      = {{ll|Cotton Balls|Cotton Balls Doused in Alcohol}}
   | product_quantity  =  
   | product_quantity  =
   | rec            = Douse Cotton in Alcohol
   | rec            = Douse Cotton in Alcohol
   | xp = 0 XP
   | xp = 0 XP
Line 152: Line 152:
   | f1 = [[File:CottonBalls.png|link=Cotton Balls{{lcs}}]]
   | f1 = [[File:CottonBalls.png|link=Cotton Balls{{lcs}}]]
   | i1 = {{ll|Cotton Balls}}
   | i1 = {{ll|Cotton Balls}}
   | q1 =  
   | q1 =
   | tag1 = (consumed)
   | tag1 = (consumed)
   | m2_1 = [[File:Alcohol.png|20px|link=Bottle of Disinfectant{{lcs}}]] {{ll|Bottle of Disinfectant}} <small>(1 unit)</small>
   | m2_1 = [[File:Alcohol.png|20px|link=Bottle of Disinfectant{{lcs}}]] {{ll|Bottle of Disinfectant}} <small>(1 unit)</small>
Line 169: Line 169:
   | product_image    = [[File:MashedHerbs.png|link=Plantain{{lcs}}]]
   | product_image    = [[File:MashedHerbs.png|link=Plantain{{lcs}}]]
   | product_name      = {{ll|Plantain|Plantain Poultice}}
   | product_name      = {{ll|Plantain|Plantain Poultice}}
   | product_quantity  =  
   | product_quantity  =
   | rec            = Make Plantain Poultice
   | rec            = Make Plantain Poultice
   | xp = 0 XP
   | xp = 0 XP
Line 175: Line 175:
   | f1 = [[File:MortarPestle.png|Mortar and Pestle{{lcs}}]]
   | f1 = [[File:MortarPestle.png|Mortar and Pestle{{lcs}}]]
   | i1 = {{ll|Mortar and Pestle}}
   | i1 = {{ll|Mortar and Pestle}}
   | q1 =  
   | q1 =
   | tag1 = (keep)
   | tag1 = (keep)
   | f2 = [[File:PlantainPlantago.png|link=Plantain{{lcs}}]]
   | f2 = [[File:PlantainPlantago.png|link=Plantain{{lcs}}]]
Line 188: Line 188:
   | product_image    = [[File:MashedHerbs.png|link=Comfrey{{lcs}}]]
   | product_image    = [[File:MashedHerbs.png|link=Comfrey{{lcs}}]]
   | product_name      = {{ll|Comfrey|Comfrey Poultice}}
   | product_name      = {{ll|Comfrey|Comfrey Poultice}}
   | product_quantity  =  
   | product_quantity  =
   | rec            = Make Comfrey Poultice
   | rec            = Make Comfrey Poultice
   | xp = 0 XP
   | xp = 0 XP
Line 194: Line 194:
   | f1 = [[File:MortarPestle.png|Mortar and Pestle{{lcs}}]]
   | f1 = [[File:MortarPestle.png|Mortar and Pestle{{lcs}}]]
   | i1 = {{ll|Mortar and Pestle}}
   | i1 = {{ll|Mortar and Pestle}}
   | q1 =  
   | q1 =
   | tag1 = (keep)
   | tag1 = (keep)
   | f2 = [[File:Comfrey.png|link=Comfrey{{lcs}}]]
   | f2 = [[File:Comfrey.png|link=Comfrey{{lcs}}]]
Line 207: Line 207:
   | product_image    = [[File:MashedHerbs.png|link=Wild Garlic{{lcs}}]]
   | product_image    = [[File:MashedHerbs.png|link=Wild Garlic{{lcs}}]]
   | product_name      = {{ll|Wild Garlic|Wild Garlic Poultice}}
   | product_name      = {{ll|Wild Garlic|Wild Garlic Poultice}}
   | product_quantity  =  
   | product_quantity  =
   | rec            = Make Wild Garlic Poultice
   | rec            = Make Wild Garlic Poultice
   | xp = 0 XP
   | xp = 0 XP
Line 213: Line 213:
   | f1 = [[File:MortarPestle.png|Mortar and Pestle{{lcs}}]]
   | f1 = [[File:MortarPestle.png|Mortar and Pestle{{lcs}}]]
   | i1 = {{ll|Mortar and Pestle}}
   | i1 = {{ll|Mortar and Pestle}}
   | q1 =  
   | q1 =
   | tag1 = (keep)
   | tag1 = (keep)
   | f2 = [[File:WildGarlic.png|link=Wild Garlic{{lcs}}]]
   | f2 = [[File:WildGarlic.png|link=Wild Garlic{{lcs}}]]

Revision as of 13:59, 14 April 2024

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 health 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.

Imbox deletion.png
This page is a candidate for deletion.
Reason: For old crafting system, and documentation is being moved to template pages.
This page (and any subpages) will be deleted after being reviewed by an admin, and no one has objected to its deletion. Users may discuss this request for deletion on the page's talk page. Once added, this should only be removed by an admin, or the user that added it.

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 health and not Template:Crafting health/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 Index
Bandage.png
Bandage
0 XP none BandageDirty.png
Dirty Bandage
(consumed)
WaterDrop.png
Water
(1 unit)

(consumed)
001
Rag.png
Ripped Sheets
0 XP none RagDirty.png
Dirty Rag
(consumed)
WaterDrop.png
Water
(1 unit)

(consumed)
002
LeatherStrips.png
Leather Strips
0 XP none LeatherStrips.png
Dirty Leather Strips
(consumed)
WaterDrop.png
Water
(1 unit)

(consumed)
003
DenimStrips.png
Denim Strips
0 XP none DenimStrips.png
Dirty Denim Strips
(consumed)
WaterDrop.png
Water
(1 unit)

(consumed)
004
Bandage.png
Sterilized Bandage
0 XP none Bandage.png
Bandage
(consumed)
One of:
Alcohol.png Bottle of Disinfectant (3 units)
WhiskeyFull.png Bourbon (10 units)
Pot Water.png Cooking Pot (5 units) (Heat: -0.22)
SaucepanEmpty.png Saucepan (10 units) (Heat: -0.22)

(consumed)
005
Sterilized Rag
Sterilized Rag
0 XP none Rag.png
Ripped Sheets
(consumed)
One of:
Alcohol.png Bottle of Disinfectant (3 units)
WhiskeyFull.png Bourbon (10 units)
Pot Water.png Cooking Pot (5 units) (Heat: -0.22)
SaucepanEmpty.png Saucepan (10 units) (Heat: -0.22)

(consumed)
006
Splint.png
Splint
0 XP none
(consumed)

(consumed)
007
CottonBalls.png
Cotton Balls Doused in Alcohol
0 XP none CottonBalls.png
Cotton Balls
(consumed)
One of:
Alcohol.png Bottle of Disinfectant (1 unit)
WhiskeyFull.png Bourbon (10 units)

(consumed)
008

Poultices (101−200)

Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2 Index
MashedHerbs.png
Plantain Poultice
0 XP none Mortar and Pestle
Mortar and Pestle
(keep)
PlantainPlantago.png
Plantain x5
(consumed)
101
MashedHerbs.png
Comfrey Poultice
0 XP none Mortar and Pestle
Mortar and Pestle
(keep)
Comfrey.png
Comfrey x5
(consumed)
102
MashedHerbs.png
Wild Garlic Poultice
0 XP none Mortar and Pestle
Mortar and Pestle
(keep)
WildGarlic.png
Wild Garlic x5
(consumed)
103

See also

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