prng 
Compartmentalized PRNG. Allows for coordinated randomness through multiple PRNG datums with the same seed
Procs | |
chance | Roll for success with the given chance. Returns TRUE if the roll succeeded |
---|---|
random | Get a random value between low and high, inclusive. Default PRNG is just a wrapper. Not thread-safe across multiple PRNG datums because state is shared |
random_dir | Get a random direction |
seed | Re-seed the PRNG. Seeds with a value from the builtin rng if no seed is given to ensure different seeds |
Proc Details
chance
Roll for success with the given chance. Returns TRUE if the roll succeeded
random
Get a random value between low and high, inclusive. Default PRNG is just a wrapper. Not thread-safe across multiple PRNG datums because state is shared
random_dir
Get a random direction
seed
Re-seed the PRNG. Seeds with a value from the builtin rng if no seed is given to ensure different seeds