Template:Crafting general: Difference between revisions
m (Automated {{Languages}} removal.) |
m (Update Rubber Duck (battery) recipes) |
||
Line 58: | Line 58: | ||
| m1_1 = [[File:Flashlight.png|20px|link=Flashlight]] [[Flashlight]] | | m1_1 = [[File:Flashlight.png|20px|link=Flashlight]] [[Flashlight]] | ||
| m1_2 = [[File:Flashlight2.png|20px|link=Hand Torch]] [[Hand Torch]] | | m1_2 = [[File:Flashlight2.png|20px|link=Hand Torch]] [[Hand Torch]] | ||
| m1_3 = [[File:Rubberducky.png|20px|link=Rubber Duck]] [[Rubber Duck]] | | m1_3 = [[File:Rubberducky.png|20px|link=Rubber Duck (battery)|Rubber Duck]] [[Rubber Duck (battery)|Rubber Duck]] | ||
| tag1 = (keep) | | tag1 = (keep) | ||
}} | }} | ||
Line 464: | Line 464: | ||
|Rubber Duck= | |Rubber Duck= | ||
{{Crafting | {{Crafting | ||
| product_image = [[File:Rubberducky.png|link=Rubber Duck]] | | product_image = [[File:Rubberducky.png|link=Rubber Duck (battery)|Rubber Duck]] | ||
| product_name = [[Rubber Duck]] | | product_name = [[Rubber Duck (battery)|Rubber Duck]] | ||
| product_quantity = | | product_quantity = | ||
| rec = Insert Battery into Rubber Duck | | rec = Insert Battery into Rubber Duck | ||
Line 471: | Line 471: | ||
| sl = ''none'' | | sl = ''none'' | ||
| ing = {{{ing|{{{ingredient|9}}}}}} | | ing = {{{ing|{{{ingredient|9}}}}}} | ||
| f1 = [[File:Rubberducky.png|link=Rubber Duck]] | | f1 = [[File:Rubberducky.png|link=Rubber Duck (battery)|Rubber Duck]] | ||
| i1 = [[Rubber Duck]] | | i1 = [[Rubber Duck (battery)|Rubber Duck]] | ||
| q1 = | | q1 = | ||
| tag1 = (consumed) | | tag1 = (consumed) |
Revision as of 20:36, 3 March 2024
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:
- Insert the following snippet into your article:
- Replace the
X
with the index of the specific recipe you want to display. See Index reference for a list of available recipes. - Add all the recipes you want to add. This can even be different types of recipes. I.e.
{{Crafting general}}
and{{Crafting cooking}}
. - 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.
In our above example, 1 is the largest number of ingredients for any recipe in our table. So:
This:
{{Crafting header|ing=Y}} {{Crafting general|X|ing=Y}} |}
{{Crafting header|ing=Y}} {{Crafting general|001|ing=Y}} {{Crafting cooking|001|ing=Y}} |}
{{Crafting header|ing=1}} {{Crafting general|001|ing=1}} {{Crafting cooking|001|ing=1}} |}
Produces:
Product | XP gained | Skill(s) | Recipe | Ingredient 1 |
---|---|---|---|---|
Gunpowder |
0 XP | none | One of: .38 Special Round .44 Magnum Round .45 Auto Round 9mm Round 5.56mm Round .308 Round .223 Round Shotgun Shells (consumed) | |
Water Bottle (Bourbon) |
0 XP | none | 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
- Go to Template:Crafting general and not Template:Crafting general/doc (current page will be bold)
- 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:
- Product: The item/object that will be produced by the recipe.
- XP Gained: The amount and type of experience that will be gained when completing the recipe.
- Skill(s): The required skill level to unlock the recipe.
- Recipe: The required recipe magazines or occupation to unlock the recipe.
- Ingredient(s): The ingredients required in the recipe. There can be up to 11 different ingredients.
Product
The product uses the following parameters:
- product_image: The image used for the icon. For items this is displayed in the code section usually as
icon
. - 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
. - 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):
f#:
This is the file/image that will display.i#:
The item/object name that will display.q#:
The quantity required in the recipe. Should be left blank if "1".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:
- Workstation: This may be an oven or any other workstation, especially those added in build 42 and beyond.
- Keep tag: These are usually tools, and are not consumed in the recipe.
- Base item tag: These are primary ingredients, and are usually consumed in the recipe.
- 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 |
---|---|---|---|---|---|---|---|
Gunpowder |
0 XP | none | One of: .38 Special Round .44 Magnum Round .45 Auto Round 9mm Round 5.56mm Round .308 Round .223 Round Shotgun Shells (consumed) |
001 | |||
Flashlight |
0 XP | none | Flashlight (consumed) |
Battery (consumed) |
002 | ||
Battery |
0 XP | none | (keep) |
003 | |||
Lit Candle |
0 XP | none | Candle (consumed) |
004 | |||
Ripped Sheets |
0.25 Tailoring | none | (consumed) |
005 | |||
Sheet Rope |
0 XP | none | (consumed) |
006 | |||
Molotov Cocktail |
0 XP | none | Bourbon (consumed) |
(consumed) |
007 | ||
Molotov Cocktail |
0 XP | none | (consumed) |
Gas Can (1 unit) (consumed) |
(consumed) |
008 | |
9mm Round x30 |
0 XP | none | Box of 9mm Rounds (consumed) |
009 | |||
Box of 9mm Rounds |
0 XP | none | 9mm Round x30 (consumed) |
010 | |||
Shotgun Shells x24 |
0 XP | none | Box of Shotgun Shells (consumed) |
011 | |||
Box of Shotgun Shells |
0 XP | none | Shotgun Shells x24 (consumed) |
012 | |||
.223 Round x40 |
0 XP | none | Box of .223 Rounds (consumed) |
013 | |||
Box of .223 Rounds |
0 XP | none | .223 Round x40 (consumed) |
014 | |||
.308 Round x40 |
0 XP | none | Box of .308 Rounds (consumed) |
015 | |||
Box of .308 Rounds |
0 XP | none | .308 Round x40 (consumed) |
016 | |||
Nails x100 |
0 XP | none | Box of Nails (consumed) |
017 | |||
Box of Nails |
0 XP | none | Nails x100 (consumed) |
018 | |||
Screws x100 |
0 XP | none | Box of Screws (consumed) |
019 | |||
Box of Screws |
0 XP | none | Screws x100 (consumed) |
020 | |||
Paperclip x40 |
0 XP | none | Box of Paperclips (consumed) |
021 | |||
Box of Paperclips |
0 XP | none | Paperclip x40 (consumed) |
022 | |||
Empty Jar x6 |
0 XP | none | Box of Jars (consumed) |
023 | |||
Clothing (clean) |
0 XP | none | Clothing (consumed) |
(consumed) |
Water (3 units) (consumed) |
024 | |
Umbrella |
0 XP | none | Closed Umbrella (consumed) |
025 | |||
Closed Umbrella |
0 XP | none | Umbrella (consumed) |
026 | |||
Notched Wooden Plank |
0 XP | none | (keep) |
(consumed) |
027 | ||
Candle |
0 XP | none | Lit Candle (consumed) |
028 | |||
Rubber Duck |
0 XP | none | Rubber Duck (consumed) |
Battery (consumed) |
029 | ||
Hand Torch |
0 XP | none | Hand Torch (consumed) |
Battery (consumed) |
030 | ||
Newspaper Hat |
0 XP | none | Newspaper (consumed) |
031 | |||
Tin Foil Hat |
0 XP | none | Aluminum (consumed) |
032 | |||
Sturdy Stick x8 |
0 XP | none | (keep) |
Plank (consumed) |
033 | ||
.38 Special Round x30 |
0 XP | none | Box of .38 Special Rounds (consumed) |
034 | |||
Box of .38 Special Rounds |
0 XP | none | .38 Special Round x30 (consumed) |
035 | |||
.44 Magnum Round x12 |
0 XP | none | Box of .44 Magnum Rounds (consumed) |
036 | |||
Box of .44 Magnum Rounds |
0 XP | none | .44 Magnum Round x12 (consumed) |
037 | |||
.45 Auto Round x30 |
0 XP | none | Box of .45 Auto Rounds (consumed) |
038 | |||
Box of .45 Auto Rounds |
0 XP | none | .45 Auto Round x30 (consumed) |
039 | |||
5.56 Round x60 |
0 XP | none | Box of 5.56 Rounds (consumed) |
040 | |||
Box of 5.56 Rounds |
0 XP | none | 5.56 Round x60 (consumed) |
041 | |||
Ripped Sheets |
0.25 Tailoring | none | Clothing (Cotton) (consumed) |
042 | |||
Denim Strips |
0.25 Tailoring | none | Scissors (keep) |
Clothing (Denim) (consumed) |
043 | ||
Leather Strips |
0.25 Tailoring | none | Scissors (keep) |
Clothing (Leather) (consumed) |
044 | ||
Sawed-off JS-2000 Shotgun |
0 XP | none | (keep) |
JS-2000 Shotgun (consumed) |
045 | ||
Sawed-off Double Barrel Shotgun |
0 XP | none | (keep) |
Double Barrel Shotgun (consumed) |
046 | ||
Smashed Bottle |
0 XP | none | (consumed) |
047 | |||
Apple x12 |
0 XP | none | Sack of Apples (consumed) |
048 | |||
Bell Pepper x12 |
0 XP | none | Sack of Bell Peppers (consumed) |
049 | |||
Broccoli x12 |
0 XP | none | Sack of Broccoli (consumed) |
050 | |||
Cabbage x12 |
0 XP | none | Sack of Cabbage (consumed) |
051 | |||
Carrots x12 |
0 XP | none | Sack of Carrots (consumed) |
052 | |||
Cherry x12 |
0 XP | none | Sack of Cherry (consumed) |
053 | |||
Corn x12 |
0 XP | none | Sack of Corn (consumed) |
054 | |||
Eggplant x12 |
0 XP | none | Sack of Eggplant (consumed) |
055 | |||
Grapes x12 |
0 XP | none | Sack of Grapes (consumed) |
056 | |||
Leek x12 |
0 XP | none | Sack of Leek (consumed) |
057 | |||
Lettuce x12 |
0 XP | none | Sack of Lettuce (consumed) |
058 | |||
Onion x12 |
0 XP | none | Sack of Onion (consumed) |
059 | |||
Peach x12 |
0 XP | none | Sack of Peach (consumed) |
060 | |||
Pear x12 |
0 XP | none | Sack of Pear (consumed) |
061 | |||
Potato x12 |
0 XP | none | Sack of Potato (consumed) |
062 | |||
Radish x12 |
0 XP | none | Sack of Radish (consumed) |
063 | |||
Strawberries x16 |
0 XP | none | Sack of Strawberries (consumed) |
064 | |||
Tomato x12 |
0 XP | none | Sack of Tomato (consumed) |
065 |
See also
{{Crafting general}}
{{Crafting survivalist}}
{{Crafting farming}}
{{Crafting cooking}}
{{Crafting carpentry}}
{{Crafting health}}
{{Crafting hunting}}
{{Crafting electrical}}
{{Crafting metalworking}}
{{Crafting fishing}}
{{Crafting header}}
- Template:Crafting
Editors can experiment in this template's sandbox (create)