Template:Crafting cooking

From PZwiki
Revision as of 12:37, 19 May 2019 by Vaileasys (talk | contribs)
[view] [edit] [history] [purge] Template documentation
This template is used as a single point to reference cooking 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)
    PotFull.png
    Pot of Soup x1
    3 Cooking Cooking Level 0 Heat source.gif
    Heat source
    (cooked: 130min)
    CanOpener.png
    Can Opener x1
    (keep)
    Pot.png
    Cooking Pot x1
    (consumed)
    Soup.png
    Canned Vegetable Soup x1
    (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 cooking and not Template:Crafting cooking/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 Ingredient 4 Ingredient 5 Ingredient 6 Index
PotFull.png
Pot of Soup x1
3 Cooking Cooking Level 0 Heat source.gif
Heat source
(cooked: 130min)
CanOpener.png
Can Opener x1
(keep)
Pot.png
Cooking Pot x1
(consumed)
Soup.png
Canned Vegetable Soup x1
(consumed)







001
PotFull.png
Pot of Soup x1
3 Cooking Cooking Level 0 Heat source.gif
Heat source
(cooked: 130min)
CanOpener.png
Can Opener x1
(keep)
Pot.png
Cooking Pot x1
(consumed)
CannedMushroomSoup.png
Canned Mushroom Soup x1
(consumed)







002
MugFulll.png
Hot Cuppa x1
3 Cooking Cooking Level 0 Mugl.png
Mug x1
(consumed)
Kettle.png
Kettle (2 units)
(Heat: -0.22)
Teabag.png
Tea Bag
OR
Coffee x1
(consumed)
Sugar.png
Sugar (1 unit)







003
MugFulll.png
Hot Cuppa x1
3 Cooking Cooking Level 0 Mugl.png
Mug x1
(consumed)
Kettle.png
Kettle (2 units)
(Heat: 1.0)
Teabag.png
Tea Bag
OR
Coffee x1
(consumed)
Sugar.png
Sugar (1 unit)







004
BowlFull.png
Bowl of Beans x1
3 Cooking Cooking Level 0 CanOpener.png
Can Opener x1
(keep)
Bowl.png
Bowl x1
(consumed)
Soup.png
Canned Vegetable Soup x1
(consumed)








005
BowlFull.png
Bowl of Beans x4
3 Cooking Cooking Level 0 Heat source.gif
Heat source
Bowl.png
Bowl x4
(consumed)
PotFull.png
Pot of Soup x1
(consumed)








006
WatermelonSmashed.png
Watermelon Chunks x3
3 Cooking Cooking Level 0 Blunt Weapons
Blunt Weapons x1
(keep)
Watermelon.png
Watermelon x1
(consumed)









007
WatermelonSliced.png
Watermelon Slice x10
3 Cooking Cooking Level 0 Kitchen Knife
Kitchen Knife
OR
Hunting Knife
OR
Saw
OR
Axe
(keep)
Watermelon.png
Watermelon x1
(consumed)









008
SaucepanFilled.png
Recipe ingredients x1
nil Cooking Level 0 SaucepanEmpty.png
Saucepan x1
(consumed)
SpagettiRaw.png
Pasta (10 units)
(consumed)









009
SaucepanFilled.png
Recipe ingredients x1
nil Cooking Level 0 SaucepanEmpty.png
Saucepan x1
(consumed)
RiceRaw.png
Rice (10 units)
(consumed)









010
Pot Water.png
Recipe ingredients x1
nil Cooking Level 0 Pot Water.png
Cooking Pot x1
(consumed)
SpagettiRaw.png
Pasta (10 units)
(consumed)









011
Pot Water.png
Recipe ingredients x1
nil Cooking Level 0 Pot Water.png
Cooking Pot x1
(consumed)
RiceRaw.png
Rice (10 units)
(consumed)









012
Lollipop.png
Lollipop x5
nil Cooking Level 0 CandyPackagei.png
Candy Package x1
(consumed)










013
WhiskeyEmpty.png
Empty Bottle x1
nil Cooking Level 0 WhiskeyFull.png
Bourbon x1
(consumed)










014
Egg.png
Egg x12
nil Cooking Level 0 EggCarton.png
Egg x1
(consumed)










015
EggCarton.png
Egg x1
nil Cooking Level 0 Egg.png
Egg x12
(consumed)










016
BreadSlices.png
Bread Slices x3
Cooking 3 Cooking Level 0 KnifeChopping.png
Kitchen Knife
OR
Hunting Knife
OR
Butter Knife
(keep)
Bread.png
Bread x1
(consumed)









017
CakeBatter.png
Cake Batter x1
Cooking 10 MagazineFood.png
Good Cooking Magazine Vol.1
Bowl.png
Bowl x1
(consumed)
Flour.png
Flour (2 units)
(consumed)
Butter.png
Butter (15 units)
(consumed)
Sugar.png
Sugar (3 units)
(consumed)
Egg.png
Egg
OR
Wild Eggs x1
(consumed)
Yeast.png
Yeast x1
(consumed)
Milk.png
Milk x1
(consumed)




018
Cake.png
Cake Preparation x1
Cooking 3 Cooking Level 0 BakingPan.png
Baking Pan x1
(consumed)
CakeBatter.png
Cake Batter x1
(consumed)









019
N/A 020
N/A 021
N/A 022
N/A 023
N/A 024
N/A 025
N/A 026
N/A 027
N/A 028
N/A 029
N/A 030
N/A 031
N/A 032
N/A 033
N/A 034
N/A 035
N/A 036

Prepare (101−200)

Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2 Ingredient 3 Ingredient 4 Ingredient 5 Ingredient 6 Ingredient 7 Ingredient 8 Ingredient 9 Ingredient 10 Ingredient 11 Index
N/A 101
N/A 102
N/A 103
N/A 104
N/A 105
N/A 106
N/A 107
N/A 108
N/A 109
N/A 110
N/A 111
N/A 112
N/A 113
N/A 114
N/A 115
N/A 116
N/A 117
N/A 118
N/A 119
N/A 120
N/A 121
N/A 122
N/A 123
N/A 124
N/A 125
N/A 126
N/A 127
N/A 128
N/A 129
N/A 130
N/A 131
N/A 132
N/A 133
N/A 134
N/A 135
N/A 136
N/A 137
N/A 138
N/A 139
N/A 140
N/A 141
N/A 142
N/A 143
N/A 144
N/A 145
N/A 146
N/A 147
N/A 148
N/A 149
N/A 150
N/A 151

Cook (201−300)

Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2 Index
N/A 201
N/A 202
N/A 203
N/A 204
N/A 205
N/A 206
N/A 207
N/A 208
N/A 209
N/A 210
N/A 211
N/A 212
N/A 213
N/A 214
N/A 215
N/A 216
N/A 217
N/A 218
N/A 219
N/A 220
N/A 221
N/A 222
N/A 223
N/A 224
N/A 225
N/A 226
N/A 227
N/A 228
N/A 229
N/A 230
N/A 231
N/A 232
N/A 233
N/A 234
N/A 235
N/A 236
N/A 237
N/A 238
N/A 239
N/A 240
N/A 241
N/A 242
N/A 243
N/A 244
N/A 245
N/A 246
N/A 247
N/A 248
N/A 249
N/A 250
N/A 251
N/A 252
N/A 253
N/A 254
N/A 255
N/A 256
N/A 257
N/A 258
N/A 259
N/A 260
N/A 261
N/A 262
N/A 263
N/A 264
N/A 265
N/A 266
N/A 267
N/A 268
N/A 269
N/A 270
N/A 271
N/A 272
N/A 273
N/A 274

Evolved Recipes (301−400)

Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2 Index
N/A 301
N/A 302
N/A 303
N/A 304
N/A 305
N/A 306
N/A 307
N/A 308
N/A 309
N/A 310
N/A 311
N/A 312
N/A 313
N/A 314
N/A 315
N/A 316
N/A 317
N/A 318
N/A 319
N/A 320
N/A 321
N/A 322
N/A 323
N/A 324
N/A 325
N/A 326
N/A 327
N/A 328

Serve (401−500)

Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2 Index
N/A 401
N/A 402
N/A 403
N/A 404
N/A 405
N/A 406
N/A 407
N/A 408
N/A 409
N/A 410
N/A 411
N/A 412
N/A 413

See also

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