Require( "dice/dice.ts" ) return DiceAconf({ aspect = 1.2, displayWidth = 0.8, frames = 5, strips = 1, material = { name = "Dice", colormap = "dice/d4_dice.jpg", opacitymap = "dice/d4yy_trans.png", lit = 0, twosided = 0, drawmode = 2, -- 2: alpha blend, 3: filter, 4: cutout, 5: additive, 6: premultiplied }, -- 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 or above!! 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 = 4, }, }, })