Template:Chance to: Difference between revisions
From Space Station 14 Wiki
(docs) |
(desc) |
||
Line 22: | Line 22: | ||
} | } | ||
}, | }, | ||
"description": " | "description": "Describes a chance of something to happen using percentages.", | ||
"paramOrder": [ | "paramOrder": [ | ||
"1", | "1", |
Latest revision as of 14:35, 24 June 2024
{{Chance to|prob=.3|blow up}}
→ 30% chance to blow up{{Chance to|prob=1|blow up}}
→ blow up
Describes a chance of something to happen using percentages.
Parameter | Description | Type | Status | |
---|---|---|---|---|
What will happen? | 1 | A chance to what?
| String | required |
Probability | prob | A chance of something to happen, from 0 to 1.
| Number | required |