Module *m_dice* **************** Documentation for the modules-m_dice module in */std/modules/m_dice.c*. Module Information ================== This module handles all dice rolling functions. Sometimes dice expressions are just easier and more transparent to understand and work with than random functions. Functions ========= .. c:function:: int *roll_dice(int num_dice, int num_sides) Roll x number of dice with y sides. Not all gaming systems use just the total of the dice, so each result is returned in an array. .. c:function:: int dice(int d) int dice(int d) Roll a single die and return the result .. c:function:: int x_dice(int n, int d) Return the sum of n dice with d sides . .. c:function:: int x_dice_dl(int n, int d) int x_dice_dl(int n, int d) Return the sum of n dice with d sides, discards the lowest one. *File generated by Lima 1.1a4 reStructured Text daemon.*