Require( "dice/dice.ts" ) return DiceAconf({ displayWidth = 1.0, -- the dice actually define each die (you can have a max of five) dice = { { -- name is optional name = "First", -- slots are optional; default, all slots are used; these map to -- frames across and strips down the material. firstSlot = 1, -- Very important: -- firstSlot always starts with 1!! 0th slot is the cleared state slot. -- (the "?" texture that shows up when you clear the history) -- numSlots determines how many values this die can take! -- the maximum allowed for numSlots is 62 numSlots = 6, -- color is optional, and will multiply in with material -- red die -- color = 0xffff6060, -- rollSlot is a frame that will be shown while rolling. -- if not set, a random die frame will be shown. -- if set, it cannot have the value 0 (that's the same as un-set) -- rollSlot = 6, }, { name = "Second", firstSlot = 1, numSlots = 6, -- blue die -- color = 0xff6060ff, -- rollSlot = 6 }, }, })