Skip to content

Extension points

tilttek/dice
PointWhat an application givesWhere
Contract\MacrosThe macros an input names, $name, resolved into their poolMacros
Dialect\DialectThe notation of another table, added to Dialects or replacing a built-in oneDialects
Notation\NotationThe letters of another language, added to NotationsLanguages
Custom\DieDefinitionDice whose faces are symbols, declared in CustomDiceCustom dice
LimitsThe bounds against abuseLimits
Random\RandomizerThe randomness of a roll: a secure engine, a seedRolling

Every point is passed to DiceRoller or to the call that uses it; the library keeps nothing between two calls.