Template:AdjustReagent: Difference between revisions

From Paradise 14 Wiki
Jump to navigation Jump to search
imported>Aliser
cat
imported>Aliser
cat
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
{{documentation}}
{{documentation}}


[[Category:Templates without specific category]]
[[Category:Recipe templates]]
<templatedata>
<templatedata>
{
{
Line 25: Line 25:
},
},
"reagent": {
"reagent": {
"label": "Reagent name",
"label": "Reagent ID",
"description": "Will be looked up from https://wiki.spacestation14.io/wiki/User:Moony/chem_prototypes.json",
"description": "A reagent ID. See the list here: https://wiki.spacestation14.io/wiki/User:Moony/chem_prototypes.json",
"type": "string",
"type": "string",
"required": true
"required": true

Latest revision as of 17:04, 24 June 2024

Template:Documentation <templatedata> { "params": { "amount": { "label": "Amount of change", "description": "Usually a whole number", "example": "4", "type": "number", "default": "0", "suggested": true }, "prob": { "label": "Probability of a change occurring", "description": "A number from 0 to 1.", "example": "0.4", "type": "number", "required": true }, "reagent": { "label": "Reagent ID", "description": "A reagent ID. See the list here: https://wiki.spacestation14.io/wiki/User:Moony/chem_prototypes.json", "type": "string", "required": true }, "when": { "label": "Condition", "example": "more than 1u lexorin present", "type": "string", "required": true } }, "description": "Describes a chance of adding or removing certain reagent when a condition satisfies.\n\n" } </templatedata>