I tried making a Deck App using the custom sheets as a temporary fix until we have a proper custom deck feature. It's not super user-friendly, but I thought I'd share it in case it will help someone who really wants to use a custom deck asap. It might be better than trying to keep track of a deck off-site.
).
[ +- ] Domino App
Create character
(1) UPDATE DECK:
If drawing from the full set, then enter 562949953421311 for Deck State. Otherwise enter the Deck State from the previous Draw result.
Deck State: 562949953421311
Deck Size:
(2) ROLL TO GENERATE A RANDOM NUMBER:
Click "Post" to generate the result, and then Click "Edit" under the post to continue Step 3.
(3) ENTER ROLL RESULT HERE: >> 1 <<
Then choose "Draw Domino" from the "Choose Action" dropdown menu above.
Draw a Domino
NotesDeck State before Draw:
( dominos)
Your Domino:
[color=";background-image:url(https://otfbm.io/1x2/@c40/a1mk-/a2mk-);display:block;background-repeat: no-repeat;height:82px;width:42px;overflow:hidden;background-position:center;"]
Deck State after Draw:
( dominos)
**Note: If the current domino is not returned to the deck, then copy this new Deck State into the Domino App before the next Draw**
[b]Deck State before Draw:[/b] [_$=ds]
([_$=decksize] dominos)
[b]Your Domino:[/b]
[color=";background-image:url(https://otfbm.io/1x2/@c40/a1mk-[_$=dominotop-1]/a2mk-[_$=dominobottom-1]);display:block;background-repeat: no-repeat;height:82px;width:42px;overflow:hidden;background-position:center;"][/color]
[b]Deck State after Draw:[/b] [_$=newds]
([_$=newdecksize] dominos)
[i]**Note: If the current domino is not returned to the deck, then copy this new Deck State into the Domino App before the next Draw**[/i]
[/color]
[b](1) [u]UPDATE DECK[/u]:[/b]
[i]If drawing from the full set, then enter 562949953421311 for Deck State. Otherwise enter the Deck State from the previous Draw result.[/i]
[b]Deck State:[/b] [_ds=562949953421311]
[color=";display:none;"]
[_dstemp$=ds]
[_cardaa$=floor(min(dstemp/281474976710656,1))]
[_dstemp$=dstemp-281474976710656*cardaa]
[_cardab$=floor(min(dstemp/140737488355328,1))]
[_dstemp$=dstemp-140737488355328*cardab]
[_cardac$=floor(min(dstemp/70368744177664,1))]
[_dstemp$=dstemp-70368744177664*cardac]
[_cardad$=floor(min(dstemp/35184372088832,1))]
[_dstemp$=dstemp-35184372088832*cardad]
[_cardae$=floor(min(dstemp/17592186044416,1))]
[_dstemp$=dstemp-17592186044416*cardae]
[_cardaf$=floor(min(dstemp/8796093022208,1))]
[_dstemp$=dstemp-8796093022208*cardaf]
[_cardag$=floor(min(dstemp/4398046511104,1))]
[_dstemp$=dstemp-4398046511104*cardag]
[_cardah$=floor(min(dstemp/2199023255552,1))]
[_dstemp$=dstemp-2199023255552*cardah]
[_cardai$=floor(min(dstemp/1099511627776,1))]
[_dstemp$=dstemp-1099511627776*cardai]
[_cardaj$=floor(min(dstemp/549755813888,1))]
[_dstemp$=dstemp-549755813888*cardaj]
[_cardba$=floor(min(dstemp/274877906944,1))]
[_dstemp$=dstemp-274877906944*cardba]
[_cardbb$=floor(min(dstemp/137438953472,1))]
[_dstemp$=dstemp-137438953472*cardbb]
[_cardbc$=floor(min(dstemp/68719476736,1))]
[_dstemp$=dstemp-68719476736*cardbc]
[_cardbd$=floor(min(dstemp/34359738368,1))]
[_dstemp$=dstemp-34359738368*cardbd]
[_cardbe$=floor(min(dstemp/17179869184,1))]
[_dstemp$=dstemp-17179869184*cardbe]
[_cardbf$=floor(min(dstemp/8589934592,1))]
[_dstemp$=dstemp-8589934592*cardbf]
[_cardbg$=floor(min(dstemp/4294967296,1))]
[_dstemp$=dstemp-4294967296*cardbg]
[_cardbh$=floor(min(dstemp/2147483648,1))]
[_dstemp$=dstemp-2147483648*cardbh]
[_cardbi$=floor(min(dstemp/1073741824,1))]
[_dstemp$=dstemp-1073741824*cardbi]
[_cardbj$=floor(min(dstemp/536870912,1))]
[_dstemp$=dstemp-536870912*cardbj]
[_cardca$=floor(min(dstemp/268435456,1))]
[_dstemp$=dstemp-268435456*cardca]
[_cardcb$=floor(min(dstemp/134217728,1))]
[_dstemp$=dstemp-134217728*cardcb]
[_cardcc$=floor(min(dstemp/67108864,1))]
[_dstemp$=dstemp-67108864*cardcc]
[_cardcd$=floor(min(dstemp/33554432,1))]
[_dstemp$=dstemp-33554432*cardcd]
[_cardce$=floor(min(dstemp/16777216,1))]
[_dstemp$=dstemp-16777216*cardce]
[_cardcf$=floor(min(dstemp/8388608,1))]
[_dstemp$=dstemp-8388608*cardcf]
[_cardcg$=floor(min(dstemp/4194304,1))]
[_dstemp$=dstemp-4194304*cardcg]
[_cardch$=floor(min(dstemp/2097152,1))]
[_dstemp$=dstemp-2097152*cardch]
[_cardci$=floor(min(dstemp/1048576,1))]
[_dstemp$=dstemp-1048576*cardci]
[_cardcj$=floor(min(dstemp/524288,1))]
[_dstemp$=dstemp-524288*cardcj]
[_cardda$=floor(min(dstemp/262144,1))]
[_dstemp$=dstemp-262144*cardda]
[_carddb$=floor(min(dstemp/131072,1))]
[_dstemp$=dstemp-131072*carddb]
[_carddc$=floor(min(dstemp/65536,1))]
[_dstemp$=dstemp-65536*carddc]
[_carddd$=floor(min(dstemp/32768,1))]
[_dstemp$=dstemp-32768*carddd]
[_cardde$=floor(min(dstemp/16384,1))]
[_dstemp$=dstemp-16384*cardde]
[_carddf$=floor(min(dstemp/8192,1))]
[_dstemp$=dstemp-8192*carddf]
[_carddg$=floor(min(dstemp/4096,1))]
[_dstemp$=dstemp-4096*carddg]
[_carddh$=floor(min(dstemp/2048,1))]
[_dstemp$=dstemp-2048*carddh]
[_carddi$=floor(min(dstemp/1024,1))]
[_dstemp$=dstemp-1024*carddi]
[_carddj$=floor(min(dstemp/512,1))]
[_dstemp$=dstemp-512*carddj]
[_cardea$=floor(min(dstemp/256,1))]
[_dstemp$=dstemp-256*cardea]
[_cardeb$=floor(min(dstemp/128,1))]
[_dstemp$=dstemp-128*cardeb]
[_cardec$=floor(min(dstemp/64,1))]
[_dstemp$=dstemp-64*cardec]
[_carded$=floor(min(dstemp/32,1))]
[_dstemp$=dstemp-32*carded]
[_cardee$=floor(min(dstemp/16,1))]
[_dstemp$=dstemp-16*cardee]
[_cardef$=floor(min(dstemp/8,1))]
[_dstemp$=dstemp-8*cardef]
[_cardeg$=floor(min(dstemp/4,1))]
[_dstemp$=dstemp-4*cardeg]
[_cardeh$=floor(min(dstemp/2,1))]
[_dstemp$=dstemp-2*cardeh]
[_cardei$=floor(min(dstemp/1,1))]
[_rowa$=18*cardah*(99*cardag+1)*(99*cardaf+1)*(99*cardae+1)*(99*cardad+1)*(99*cardac+1)*(99*cardab+1)*(99*cardaa+1) + 17*cardag*(99*cardaf+1)*(99*cardae+1)*(99*cardad+1)*(99*cardac+1)*(99*cardab+1)*(99*cardaa+1) + 16*cardaf*(99*cardae+1)*(99*cardad+1)*(99*cardac+1)*(99*cardab+1)*(99*cardaa+1) + 15*cardae*(99*cardad+1)*(99*cardac+1)*(99*cardab+1)*(99*cardaa+1) + 14*cardad*(99*cardac+1)*(99*cardab+1)*(99*cardaa+1) + 13*cardac*(99*cardab+1)*(99*cardaa+1) + 12*cardab*(99*cardaa+1) + 11*cardaa]
[_rowb$=28*cardbf*(99*cardbe+1)*(99*cardbd+1)*(99*cardbc+1)*(99*cardbb+1)*(99*cardba+1)*(99*cardaj+1)*(99*cardai+1) + 27*cardbe*(99*cardbd+1)*(99*cardbc+1)*(99*cardbb+1)*(99*cardba+1)*(99*cardaj+1)*(99*cardai+1) + 26*cardbd*(99*cardbc+1)*(99*cardbb+1)*(99*cardba+1)*(99*cardaj+1)*(99*cardai+1) + 25*cardbc*(99*cardbb+1)*(99*cardba+1)*(99*cardaj+1)*(99*cardai+1) + 24*cardbb*(99*cardba+1)*(99*cardaj+1)*(99*cardai+1) + 23*cardba*(99*cardaj+1)*(99*cardai+1) + 22*cardaj*(99*cardai+1) + 21*cardai]
[_rowc$=38*cardcd*(99*cardcc+1)*(99*cardcb+1)*(99*cardca+1)*(99*cardbj+1)*(99*cardbi+1)*(99*cardbh+1)*(99*cardbg+1) + 37*cardcc*(99*cardcb+1)*(99*cardca+1)*(99*cardbj+1)*(99*cardbi+1)*(99*cardbh+1)*(99*cardbg+1) + 36*cardcb*(99*cardca+1)*(99*cardbj+1)*(99*cardbi+1)*(99*cardbh+1)*(99*cardbg+1) + 35*cardca*(99*cardbj+1)*(99*cardbi+1)*(99*cardbh+1)*(99*cardbg+1) + 34*cardbj*(99*cardbi+1)*(99*cardbh+1)*(99*cardbg+1) + 33*cardbi*(99*cardbh+1)*(99*cardbg+1) + 32*cardbh*(99*cardbg+1) + 31*cardbg]
[_rowd$=48*carddb*(99*cardda+1)*(99*cardcj+1)*(99*cardci+1)*(99*cardch+1)*(99*cardcg+1)*(99*cardcf+1)*(99*cardce+1) + 47*cardda*(99*cardcj+1)*(99*cardci+1)*(99*cardch+1)*(99*cardcg+1)*(99*cardcf+1)*(99*cardce+1) + 46*cardcj*(99*cardci+1)*(99*cardch+1)*(99*cardcg+1)*(99*cardcf+1)*(99*cardce+1) + 45*cardci*(99*cardch+1)*(99*cardcg+1)*(99*cardcf+1)*(99*cardce+1) + 44*cardch*(99*cardcg+1)*(99*cardcf+1)*(99*cardce+1) + 43*cardcg*(99*cardcf+1)*(99*cardce+1) + 42*cardcf*(99*cardce+1) + 41*cardce]
[_rowe$=58*carddj*(99*carddi+1)*(99*carddh+1)*(99*carddg+1)*(99*carddf+1)*(99*cardde+1)*(99*carddd+1)*(99*carddc+1) + 57*carddi*(99*carddh+1)*(99*carddg+1)*(99*carddf+1)*(99*cardde+1)*(99*carddd+1)*(99*carddc+1) + 56*carddh*(99*carddg+1)*(99*carddf+1)*(99*cardde+1)*(99*carddd+1)*(99*carddc+1) + 55*carddg*(99*carddf+1)*(99*cardde+1)*(99*carddd+1)*(99*carddc+1) + 54*carddf*(99*cardde+1)*(99*carddd+1)*(99*carddc+1) + 53*cardde*(99*carddd+1)*(99*carddc+1) + 52*carddd*(99*carddc+1) + 51*carddc]
[_rowf$=68*cardeh*(99*cardeg+1)*(99*cardef+1)*(99*cardee+1)*(99*carded+1)*(99*cardec+1)*(99*cardeb+1)*(99*cardea+1) + 67*cardeg*(99*cardef+1)*(99*cardee+1)*(99*carded+1)*(99*cardec+1)*(99*cardeb+1)*(99*cardea+1) + 66*cardef*(99*cardee+1)*(99*carded+1)*(99*cardec+1)*(99*cardeb+1)*(99*cardea+1) + 65*cardee*(99*carded+1)*(99*cardec+1)*(99*cardeb+1)*(99*cardea+1) + 64*carded*(99*cardec+1)*(99*cardeb+1)*(99*cardea+1) + 63*cardec*(99*cardeb+1)*(99*cardea+1) + 62*cardeb*(99*cardea+1) + 61*cardea]
[_rowg$=71*cardei]
[_rsa$=floor(min(rowa/1,1))+floor(min(rowa/100,1))+floor(min(rowa/10000,1))+floor(min(rowa/1000000,1))+floor(min(rowa/100000000,1))+floor(min(rowa/10000000000,1))+floor(min(rowa/1000000000000,1))+floor(min(rowa/100000000000000,1))]
[_rsb$=floor(min(rowb/1,1))+floor(min(rowb/100,1))+floor(min(rowb/10000,1))+floor(min(rowb/1000000,1))+floor(min(rowb/100000000,1))+floor(min(rowb/10000000000,1))+floor(min(rowb/1000000000000,1))+floor(min(rowb/100000000000000,1))]
[_rsc$=floor(min(rowc/1,1))+floor(min(rowc/100,1))+floor(min(rowc/10000,1))+floor(min(rowc/1000000,1))+floor(min(rowc/100000000,1))+floor(min(rowc/10000000000,1))+floor(min(rowc/1000000000000,1))+floor(min(rowc/100000000000000,1))]
[_rsd$=floor(min(rowd/1,1))+floor(min(rowd/100,1))+floor(min(rowd/10000,1))+floor(min(rowd/1000000,1))+floor(min(rowd/100000000,1))+floor(min(rowd/10000000000,1))+floor(min(rowd/1000000000000,1))+floor(min(rowd/100000000000000,1))]
[_rse$=floor(min(rowe/1,1))+floor(min(rowe/100,1))+floor(min(rowe/10000,1))+floor(min(rowe/1000000,1))+floor(min(rowe/100000000,1))+floor(min(rowe/10000000000,1))+floor(min(rowe/1000000000000,1))+floor(min(rowe/100000000000000,1))]
[_rsf$=floor(min(rowf/1,1))+floor(min(rowf/100,1))+floor(min(rowf/10000,1))+floor(min(rowf/1000000,1))+floor(min(rowf/100000000,1))+floor(min(rowf/10000000000,1))+floor(min(rowf/1000000000000,1))+floor(min(rowf/100000000000000,1))]
[_rsg$=floor(min(rowg/1,1))+floor(min(rowg/100,1))+floor(min(rowg/10000,1))+floor(min(rowg/1000000,1))+floor(min(rowg/100000000,1))+floor(min(rowg/10000000000,1))+floor(min(rowg/1000000000000,1))+floor(min(rowg/100000000000000,1))][/color]
[i]Deck Size: [_decksize$=rsa+rsb+rsc+rsd+rse+rsf+rsg][/i]
[linebreak]
[b](2) [u]ROLL TO GENERATE A RANDOM NUMBER[/u]:[/b]
[table="rolls"]
Move | Roll
Draw Domino | 1d[_$=decksize]
[/table]
[i]Click "Post" to generate the result, and then Click "Edit" under the post to continue Step 3.[/i]
[linebreak]
[b](3) [u]ENTER ROLL RESULT HERE[/u]: >> [_rr=1] <<[/b]
[i]Then choose "Draw Domino" from the "Choose Action" dropdown menu above.[/i]
[color=";display:none;"]
[_rba$=(1-floor(min(rr/(rsa+1),1)))]
[_rbb$=(1-floor(min(rr/(rsa+rsb+1),1))) * (1-rba)]
[_rbc$=(1-floor(min(rr/(rsa+rsb+rsc+1),1))) * (1-rba) * (1-rbb)]
[_rbd$=(1-floor(min(rr/(rsa+rsb+rsc+rsd+1),1))) * (1-rba) * (1-rbb)* (1-rbc)]
[_rbe$=(1-floor(min(rr/(rsa+rsb+rsc+rsd+rse+1),1))) * (1-rba) * (1-rbb)* (1-rbc)* (1-rbd)]
[_rbf$=(1-floor(min(rr/(rsa+rsb+rsc+rsd+rse+rsf+1),1))) * (1-rba) * (1-rbb)* (1-rbc)* (1-rbd)* (1-rbe)]
[_rbg$=(1-floor(min(rr/(rsa+rsb+rsc+rsd+rse+rsf+rsg+1),1))) * (1-rba) * (1-rbb)* (1-rbc)* (1-rbd)* (1-rbe)* (1-rbf)]
[_ri$= rr - rbb*(rsa) - rbc*(rsa+rsb) - rbd*(rsa+rsb+rsc) - rbe*(rsa+rsb+rsc+rsd) - rbf*(rsa+rsb+rsc+rsd+rse) - rbg*(rsa+rsb+rsc+rsd+rse+rsf)]
[_rnum$=rba*1+rbb*2+rbc*3+rbd*4+rbe*5+rbf*6+rbg*7]
[_rif$=lookupBonus(ri,1,1,1,2,2,100,3,3,10000,4,4,1000000,5,5,100000000,6,6,10000000000,7,7,1000000000000,8,8,100000000000000)]
[_ci$=rba*(floor(rowa/rif+100) - floor(rowa/(rif*100)+1)*100) + rbb*(floor(rowb/rif+100) - floor(rowb/(rif*100)+1)*100) + rbc*(floor(rowc/rif+100) - floor(rowc/(rif*100)+1)*100) + rbd*(floor(rowd/rif+100) - floor(rowd/(rif*100)+1)*100) + rbe*(floor(rowe/rif+100) - floor(rowe/(rif*100)+1)*100) + rbf*(floor(rowf/rif+100) - floor(rowf/(rif*100)+1)*100) + rbg*(floor(rowg/rif+100) - floor(rowg/(rif*100)+1)*100)]
[_dominotop$=lookupBonus(ci,11,11,1,12,12,1,13,13,1,14,14,1,15,15,1,16,16,1,17,17,1,18,18,2,21,21,2,22,22,2,23,23,2,24,24,2,25,25,2,26,26,3,27,27,3,28,28,3,31,31,3,32,32,3,33,33,4,34,34,4,35,35,4,36,36,4,37,37,5,38,38,5,41,41,5,42,42,6,43,43,6,44,44,7,45,45,1,46,46,1,47,47,1,48,48,1,51,51,1,52,52,1,53,53,2,54,54,2,55,55,2,56,56,2,57,57,2,58,58,3,61,61,3,62,62,3,63,63,3,64,64,4,65,65,4,66,66,4,67,67,5,68,68,5,71,71,6)]
[_dominobottom$=lookupBonus(ci,11,11,1,12,12,2,13,13,3,14,14,4,15,15,5,16,16,6,17,17,7,18,18,2,21,21,3,22,22,4,23,23,5,24,24,6,25,25,7,26,26,3,27,27,4,28,28,5,31,31,6,32,32,7,33,33,4,34,34,5,35,35,6,36,36,7,37,37,5,38,38,6,41,41,7,42,42,6,43,43,7,44,44,7,45,45,2,46,46,3,47,47,4,48,48,5,51,51,6,52,52,7,53,53,3,54,54,4,55,55,5,56,56,6,57,57,7,58,58,4,61,61,5,62,62,6,63,63,7,64,64,5,65,65,6,66,66,7,67,67,6,68,68,7,71,71,7)]
[_newds$=ds-lookupBonus(ci,11,11,281474976710656,12,12,140737488355328,13,13,70368744177664,14,14,35184372088832,15,15,17592186044416,16,16,8796093022208,17,17,4398046511104,18,18,2199023255552,21,21,1099511627776,22,22,549755813888,23,23,274877906944,24,24,137438953472,25,25,68719476736,26,26,34359738368,27,27,17179869184,28,28,8589934592,31,31,4294967296,32,32,2147483648,33,33,1073741824,34,34,536870912,35,35,268435456,36,36,134217728,37,37,67108864,38,38,33554432,41,41,16777216,42,42,8388608,43,43,4194304,44,44,2097152,45,45,1048576,46,46,524288,47,47,262144,48,48,131072,51,51,65536,52,52,32768,53,53,16384,54,54,8192,55,55,4096,56,56,2048,57,57,1024,58,58,512,61,61,256,62,62,128,63,63,64,64,64,32,65,65,16,66,66,8,67,67,4,68,68,2,71,71,1)]
[_dstemp$=newds]
[_cardaa$=floor(min(dstemp/281474976710656,1))]
[_dstemp$=dstemp-281474976710656*cardaa]
[_cardab$=floor(min(dstemp/140737488355328,1))]
[_dstemp$=dstemp-140737488355328*cardab]
[_cardac$=floor(min(dstemp/70368744177664,1))]
[_dstemp$=dstemp-70368744177664*cardac]
[_cardad$=floor(min(dstemp/35184372088832,1))]
[_dstemp$=dstemp-35184372088832*cardad]
[_cardae$=floor(min(dstemp/17592186044416,1))]
[_dstemp$=dstemp-17592186044416*cardae]
[_cardaf$=floor(min(dstemp/8796093022208,1))]
[_dstemp$=dstemp-8796093022208*cardaf]
[_cardag$=floor(min(dstemp/4398046511104,1))]
[_dstemp$=dstemp-4398046511104*cardag]
[_cardah$=floor(min(dstemp/2199023255552,1))]
[_dstemp$=dstemp-2199023255552*cardah]
[_cardai$=floor(min(dstemp/1099511627776,1))]
[_dstemp$=dstemp-1099511627776*cardai]
[_cardaj$=floor(min(dstemp/549755813888,1))]
[_dstemp$=dstemp-549755813888*cardaj]
[_cardba$=floor(min(dstemp/274877906944,1))]
[_dstemp$=dstemp-274877906944*cardba]
[_cardbb$=floor(min(dstemp/137438953472,1))]
[_dstemp$=dstemp-137438953472*cardbb]
[_cardbc$=floor(min(dstemp/68719476736,1))]
[_dstemp$=dstemp-68719476736*cardbc]
[_cardbd$=floor(min(dstemp/34359738368,1))]
[_dstemp$=dstemp-34359738368*cardbd]
[_cardbe$=floor(min(dstemp/17179869184,1))]
[_dstemp$=dstemp-17179869184*cardbe]
[_cardbf$=floor(min(dstemp/8589934592,1))]
[_dstemp$=dstemp-8589934592*cardbf]
[_cardbg$=floor(min(dstemp/4294967296,1))]
[_dstemp$=dstemp-4294967296*cardbg]
[_cardbh$=floor(min(dstemp/2147483648,1))]
[_dstemp$=dstemp-2147483648*cardbh]
[_cardbi$=floor(min(dstemp/1073741824,1))]
[_dstemp$=dstemp-1073741824*cardbi]
[_cardbj$=floor(min(dstemp/536870912,1))]
[_dstemp$=dstemp-536870912*cardbj]
[_cardca$=floor(min(dstemp/268435456,1))]
[_dstemp$=dstemp-268435456*cardca]
[_cardcb$=floor(min(dstemp/134217728,1))]
[_dstemp$=dstemp-134217728*cardcb]
[_cardcc$=floor(min(dstemp/67108864,1))]
[_dstemp$=dstemp-67108864*cardcc]
[_cardcd$=floor(min(dstemp/33554432,1))]
[_dstemp$=dstemp-33554432*cardcd]
[_cardce$=floor(min(dstemp/16777216,1))]
[_dstemp$=dstemp-16777216*cardce]
[_cardcf$=floor(min(dstemp/8388608,1))]
[_dstemp$=dstemp-8388608*cardcf]
[_cardcg$=floor(min(dstemp/4194304,1))]
[_dstemp$=dstemp-4194304*cardcg]
[_cardch$=floor(min(dstemp/2097152,1))]
[_dstemp$=dstemp-2097152*cardch]
[_cardci$=floor(min(dstemp/1048576,1))]
[_dstemp$=dstemp-1048576*cardci]
[_cardcj$=floor(min(dstemp/524288,1))]
[_dstemp$=dstemp-524288*cardcj]
[_cardda$=floor(min(dstemp/262144,1))]
[_dstemp$=dstemp-262144*cardda]
[_carddb$=floor(min(dstemp/131072,1))]
[_dstemp$=dstemp-131072*carddb]
[_carddc$=floor(min(dstemp/65536,1))]
[_dstemp$=dstemp-65536*carddc]
[_carddd$=floor(min(dstemp/32768,1))]
[_dstemp$=dstemp-32768*carddd]
[_cardde$=floor(min(dstemp/16384,1))]
[_dstemp$=dstemp-16384*cardde]
[_carddf$=floor(min(dstemp/8192,1))]
[_dstemp$=dstemp-8192*carddf]
[_carddg$=floor(min(dstemp/4096,1))]
[_dstemp$=dstemp-4096*carddg]
[_carddh$=floor(min(dstemp/2048,1))]
[_dstemp$=dstemp-2048*carddh]
[_carddi$=floor(min(dstemp/1024,1))]
[_dstemp$=dstemp-1024*carddi]
[_carddj$=floor(min(dstemp/512,1))]
[_dstemp$=dstemp-512*carddj]
[_cardea$=floor(min(dstemp/256,1))]
[_dstemp$=dstemp-256*cardea]
[_cardeb$=floor(min(dstemp/128,1))]
[_dstemp$=dstemp-128*cardeb]
[_cardec$=floor(min(dstemp/64,1))]
[_dstemp$=dstemp-64*cardec]
[_carded$=floor(min(dstemp/32,1))]
[_dstemp$=dstemp-32*carded]
[_cardee$=floor(min(dstemp/16,1))]
[_dstemp$=dstemp-16*cardee]
[_cardef$=floor(min(dstemp/8,1))]
[_dstemp$=dstemp-8*cardef]
[_cardeg$=floor(min(dstemp/4,1))]
[_dstemp$=dstemp-4*cardeg]
[_cardeh$=floor(min(dstemp/2,1))]
[_dstemp$=dstemp-2*cardeh]
[_cardei$=floor(min(dstemp/1,1))]
[_rowa$=18*cardah*(99*cardag+1)*(99*cardaf+1)*(99*cardae+1)*(99*cardad+1)*(99*cardac+1)*(99*cardab+1)*(99*cardaa+1) + 17*cardag*(99*cardaf+1)*(99*cardae+1)*(99*cardad+1)*(99*cardac+1)*(99*cardab+1)*(99*cardaa+1) + 16*cardaf*(99*cardae+1)*(99*cardad+1)*(99*cardac+1)*(99*cardab+1)*(99*cardaa+1) + 15*cardae*(99*cardad+1)*(99*cardac+1)*(99*cardab+1)*(99*cardaa+1) + 14*cardad*(99*cardac+1)*(99*cardab+1)*(99*cardaa+1) + 13*cardac*(99*cardab+1)*(99*cardaa+1) + 12*cardab*(99*cardaa+1) + 11*cardaa]
[_rowb$=28*cardbf*(99*cardbe+1)*(99*cardbd+1)*(99*cardbc+1)*(99*cardbb+1)*(99*cardba+1)*(99*cardaj+1)*(99*cardai+1) + 27*cardbe*(99*cardbd+1)*(99*cardbc+1)*(99*cardbb+1)*(99*cardba+1)*(99*cardaj+1)*(99*cardai+1) + 26*cardbd*(99*cardbc+1)*(99*cardbb+1)*(99*cardba+1)*(99*cardaj+1)*(99*cardai+1) + 25*cardbc*(99*cardbb+1)*(99*cardba+1)*(99*cardaj+1)*(99*cardai+1) + 24*cardbb*(99*cardba+1)*(99*cardaj+1)*(99*cardai+1) + 23*cardba*(99*cardaj+1)*(99*cardai+1) + 22*cardaj*(99*cardai+1) + 21*cardai]
[_rowc$=38*cardcd*(99*cardcc+1)*(99*cardcb+1)*(99*cardca+1)*(99*cardbj+1)*(99*cardbi+1)*(99*cardbh+1)*(99*cardbg+1) + 37*cardcc*(99*cardcb+1)*(99*cardca+1)*(99*cardbj+1)*(99*cardbi+1)*(99*cardbh+1)*(99*cardbg+1) + 36*cardcb*(99*cardca+1)*(99*cardbj+1)*(99*cardbi+1)*(99*cardbh+1)*(99*cardbg+1) + 35*cardca*(99*cardbj+1)*(99*cardbi+1)*(99*cardbh+1)*(99*cardbg+1) + 34*cardbj*(99*cardbi+1)*(99*cardbh+1)*(99*cardbg+1) + 33*cardbi*(99*cardbh+1)*(99*cardbg+1) + 32*cardbh*(99*cardbg+1) + 31*cardbg]
[_rowd$=48*carddb*(99*cardda+1)*(99*cardcj+1)*(99*cardci+1)*(99*cardch+1)*(99*cardcg+1)*(99*cardcf+1)*(99*cardce+1) + 47*cardda*(99*cardcj+1)*(99*cardci+1)*(99*cardch+1)*(99*cardcg+1)*(99*cardcf+1)*(99*cardce+1) + 46*cardcj*(99*cardci+1)*(99*cardch+1)*(99*cardcg+1)*(99*cardcf+1)*(99*cardce+1) + 45*cardci*(99*cardch+1)*(99*cardcg+1)*(99*cardcf+1)*(99*cardce+1) + 44*cardch*(99*cardcg+1)*(99*cardcf+1)*(99*cardce+1) + 43*cardcg*(99*cardcf+1)*(99*cardce+1) + 42*cardcf*(99*cardce+1) + 41*cardce]
[_rowe$=58*carddj*(99*carddi+1)*(99*carddh+1)*(99*carddg+1)*(99*carddf+1)*(99*cardde+1)*(99*carddd+1)*(99*carddc+1) + 57*carddi*(99*carddh+1)*(99*carddg+1)*(99*carddf+1)*(99*cardde+1)*(99*carddd+1)*(99*carddc+1) + 56*carddh*(99*carddg+1)*(99*carddf+1)*(99*cardde+1)*(99*carddd+1)*(99*carddc+1) + 55*carddg*(99*carddf+1)*(99*cardde+1)*(99*carddd+1)*(99*carddc+1) + 54*carddf*(99*cardde+1)*(99*carddd+1)*(99*carddc+1) + 53*cardde*(99*carddd+1)*(99*carddc+1) + 52*carddd*(99*carddc+1) + 51*carddc]
[_rowf$=68*cardeh*(99*cardeg+1)*(99*cardef+1)*(99*cardee+1)*(99*carded+1)*(99*cardec+1)*(99*cardeb+1)*(99*cardea+1) + 67*cardeg*(99*cardef+1)*(99*cardee+1)*(99*carded+1)*(99*cardec+1)*(99*cardeb+1)*(99*cardea+1) + 66*cardef*(99*cardee+1)*(99*carded+1)*(99*cardec+1)*(99*cardeb+1)*(99*cardea+1) + 65*cardee*(99*carded+1)*(99*cardec+1)*(99*cardeb+1)*(99*cardea+1) + 64*carded*(99*cardec+1)*(99*cardeb+1)*(99*cardea+1) + 63*cardec*(99*cardeb+1)*(99*cardea+1) + 62*cardeb*(99*cardea+1) + 61*cardea]
[_rowg$=71*cardei]
[_rsa$=floor(min(rowa/1,1))+floor(min(rowa/100,1))+floor(min(rowa/10000,1))+floor(min(rowa/1000000,1))+floor(min(rowa/100000000,1))+floor(min(rowa/10000000000,1))+floor(min(rowa/1000000000000,1))+floor(min(rowa/100000000000000,1))]
[_rsb$=floor(min(rowb/1,1))+floor(min(rowb/100,1))+floor(min(rowb/10000,1))+floor(min(rowb/1000000,1))+floor(min(rowb/100000000,1))+floor(min(rowb/10000000000,1))+floor(min(rowb/1000000000000,1))+floor(min(rowb/100000000000000,1))]
[_rsc$=floor(min(rowc/1,1))+floor(min(rowc/100,1))+floor(min(rowc/10000,1))+floor(min(rowc/1000000,1))+floor(min(rowc/100000000,1))+floor(min(rowc/10000000000,1))+floor(min(rowc/1000000000000,1))+floor(min(rowc/100000000000000,1))]
[_rsd$=floor(min(rowd/1,1))+floor(min(rowd/100,1))+floor(min(rowd/10000,1))+floor(min(rowd/1000000,1))+floor(min(rowd/100000000,1))+floor(min(rowd/10000000000,1))+floor(min(rowd/1000000000000,1))+floor(min(rowd/100000000000000,1))]
[_rse$=floor(min(rowe/1,1))+floor(min(rowe/100,1))+floor(min(rowe/10000,1))+floor(min(rowe/1000000,1))+floor(min(rowe/100000000,1))+floor(min(rowe/10000000000,1))+floor(min(rowe/1000000000000,1))+floor(min(rowe/100000000000000,1))]
[_rsf$=floor(min(rowf/1,1))+floor(min(rowf/100,1))+floor(min(rowf/10000,1))+floor(min(rowf/1000000,1))+floor(min(rowf/100000000,1))+floor(min(rowf/10000000000,1))+floor(min(rowf/1000000000000,1))+floor(min(rowf/100000000000000,1))]
[_rsg$=floor(min(rowg/1,1))+floor(min(rowg/100,1))+floor(min(rowg/10000,1))+floor(min(rowg/1000000,1))+floor(min(rowg/100000000,1))+floor(min(rowg/10000000000,1))+floor(min(rowg/1000000000000,1))+floor(min(rowg/100000000000000,1))]
[_newdecksize$=rsa+rsb+rsc+rsd+rse+rsf+rsg]
[abilities="Choose Action"]
#Draw a Domino
[b]Deck State before Draw:[/b] [_$=ds]
([_$=decksize] dominos)
[b]Your Domino:[/b]
[color=";background-image:url(https://otfbm.io/1x2/@c40/a1mk-[_$=dominotop-1]/a2mk-[_$=dominobottom-1]);display:block;background-repeat: no-repeat;height:82px;width:42px;overflow:hidden;background-position:center;"][/color]
[b]Deck State after Draw:[/b] [_$=newds]
([_$=newdecksize] dominos)
[i]**Note: If the current domino is not returned to the deck, then copy this new Deck State into the Domino App before the next Draw**[/i]
[/abilities]
[/color]
Make a copy by clicking "Create Character" using the template, and add it to your game. Then from a post, open the Domino App character sheet using the button under the post box. Follow the directions in the sheet.
A spoiler will be added to the post that includes the drawn domino plus some data for later to maintain the deck state.
If you want to draw another domino from the full set (i.e with the last drawn domino put back), then just repeat.
If you want to draw another domino without putting the previous one back (so there's one less domino to draw from), do the same thing but update the state of the deck by copying the deck state data from the previous result to the deck state in the character sheet.
You can reset the deck by copying the full set deck state (included in the instructions).
Unfortunately we can't share sheets, so everyone who wants to draw dominoes needs their own domino sheet instead of just sharing one, but as long as you update the Deck State before drawing a new domino, then everyone will be drawing from the same set. Or the GM can just draw for everyone.
I haven't tested it too much yet, so there might be bugs. Let me know.
If anyone thinks this would be useful, but needs a different set, let me know and I might be able to modify it for a different deck. My plan is to make a Tarot Deck or Deck of Many Things next. I might also try to make it so you can draw multiple cards at once, but that might be tricky. We'll see.