Template:RNG/doc

From RimWorld Wiki
< Template:RNG
Revision as of 07:07, 14 December 2016 by Spdskatr (talk | contribs) (Documentation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description

This template is used to generate random numbers in a relatively short time.

Usage

Type {{RNG}} on the page to assume a seed of 0 and a limit of 100.

{{RNG
|seed=(number)              -->Makes RNGs with different seeds unique to each other.
|limit=(number)             -->Restricts the RNG to produce only numbers from 1 to {{{limit}}}.
}}