Template:Reagent card
Examples
Automatic lookup
Using reagent ID
{{reagent card
↓
Dermaline
Recipe
Effects
- Heals 1.5 heat, 1.5 shock, and 1.5 cold
- Deals 0.5 brute (≈0.2 blunt, ≈0.2 slash and ≈0.2 piercing), 1 asphyxiation, and 2 cold when there's at least 10u of dermaline
- Causes jittering when there's at least 10u of dermaline
An advanced chemical that is more effective at treating burn damage than kelotane.
Seems to be translucent.
Using reagent name
{{reagent card
↓
Polypyrylium Oligomers
Recipe
Effects
- Heals 3.5 brute (≈1.2 blunt, ≈1.2 slash and ≈1.2 piercing) and 2.5 asphyxiation
- Deals 3.5 asphyxiation when there's at least 30u of Polypyrylium Oligomers
- Reduces bleeding
A purple mixture of short polyelectrolyte chains not easily synthesized in the laboratory. Heals asphyxiation and brute damage. Stops bleeding over time.
Seems to be pungent.
Manual definition
{{Reagent card
| name = Licoxide
| id = Licoxide
| color = #abca
| desc = A synthetic battery acid. It looks... electrifying.
| physicalDesc = electric
| recipe = 123
| effect = Lorem clown
}}
↓
Licoxide
Recipe
Effects
A synthetic battery acid. It looks... electrifying.
Seems to be electric.
Data fields
Field | Definition |
---|---|
name [REQUIRED] |
This is the name used in the display. It should be in Title Case. However, the data itself comes in lower case, as that's how the localisation files display it. |
id |
This is the ID used as an ID for the reagent card element. The current standard according to the JSON is PascalCase. The ID is almost always the same text as the name, except for when it isn't (looking at you, copper blood) |
color |
This is the colour used in the header. It should be the colour taken from the game's files. It can be any CSS accepted color name, but hex must be proceeded by a hash. |
recipes |
This should contain a joined list of all the relevant recipes used to make the chemical. Each recipe should be inputted as a {{Recipe Box}}, where in each item follows {{Recipe Component}}. For standard chemicals, the 999k with whatever temperature is required).
|
effects |
This is the effects list component. It should be listed in this format:
'''Subheading'''
* Effect Description
* Effect Description
In the data, there are three alternative forms of the effects data, but only |
desc |
Reagent description. This should be ended by a full stop. |
physicalDesc |
This is a short descriptor. Use lower case and no full stop. |
List of all reagents
See pageGenerates a card describing a reagent/food item/element/etc., their recipe and effects when consumed. Uses a dataset to fetch the data.
Parameter | Description | Type | Status | |
---|---|---|---|---|
[Auto] Element name or ID | 1 | Element name (any casing) or ID (strict casing). Lookups the specified reagent in the database. Specify either this, or manual fields, but not both.
| Line | required |
[Manual] Product name | name | no description
| Line | required |
[Manual] Product ID | id | In-game ID of the product. Used to create navigation links to this card.
| Line | suggested |
[Manual] Recipes | recipes | Product recipes. Use {{Recipe Box}} and {{Recipe Component}} to define these. | String | suggested |
[Manual] Effects | effects metabolisms | What effects does a product cause when consumed (metabolized)? | String | suggested |
[Manual] Description | desc | Product description | String | suggested |
[Manual] Physical description | physicalDesc | The X in "seems to be X" part of the description. | String | suggested |