# Adding Dice and Coin stack objects

**URL:** <https://forum.vassalengine.org/t/adding-dice-and-coin-stack-objects/1379>\
**Category:** Feature Requests\
**Created:** [December 19, 2008, 9:17pm UTC](https://forum.vassalengine.org/t/adding-dice-and-coin-stack-objects/1379 "2008-12-19T21:17:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anvillarroel](https://forum.vassalengine.org/letter_avatar_proxy/v4/letter/a/ec9cab/32.png) [@anvillarroel](https://forum.vassalengine.org/u/anvillarroel)\
**Post date:** [December 19, 2008, 9:17pm UTC](https://forum.vassalengine.org/t/adding-dice-and-coin-stack-objects/1379/1 "2008-12-19T21:17:16Z")

</div>

It could be interesting to add dice and coins stack as standard game objects like the Decks that is actually supported by Vassal.

---

<div class="post-metadata">

**Author:** ![Tim\_M](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/tim_m/32/2_2.png) [@Tim\_M](https://forum.vassalengine.org/u/Tim_M)\
**Post date:** [December 19, 2008, 9:51pm UTC](https://forum.vassalengine.org/t/adding-dice-and-coin-stack-objects/1379/2 "2008-12-19T21:51:10Z")

</div>

> [@anvillarroel](#):
>
> It could be interesting to add dice and coins stack as standard game objects like the Decks that is actually supported by Vassal.

can already do that.

for example (dice), create your dice with a basic piece and add a layer with as many levels as you need sides. The layer follows a dynamic property which can grab the last value property of a hidden dice button that is invoked and rolled through a global hotkey. There is a demo here somewhere that shows all of this.

Coins could be done in a similar manner without the random dice roll

---

<div class="post-metadata">

**Author:** ![anvillarroel](https://forum.vassalengine.org/letter_avatar_proxy/v4/letter/a/ec9cab/32.png) [@anvillarroel](https://forum.vassalengine.org/u/anvillarroel)\
**Post date:** [December 29, 2008, 6:50pm UTC](https://forum.vassalengine.org/t/adding-dice-and-coin-stack-objects/1379/3 "2008-12-29T18:50:15Z")

</div>

Ok. Yes, you’re right.

On Fri, Dec 19, 2008 at 6:51 PM, Tim M \<[messages@forums.vassalengine.org](mailto:messages@forums.vassalengine.org) ([messages@forums.vassalengine.org](mailto:messages@forums.vassalengine.org))\> wrote:

> [@](#):
>
> anvillarroel wrote:
> 
> > [@](#):
> >
> > It could be interesting to add dice and coins stack as standard game objects like the Decks that is actually supported by Vassal.
> 
> can already do that.
> 
> for example (dice), create your dice with a basic piece and add a layer with as many levels as you need sides. The layer follows a dynamic property which can grab the last value property of a hidden dice button that is invoked and rolled through a global hotkey. There is a demo here somewhere that shows all of this.
> 
> Coins could be done in a similar manner without the random dice roll
> 
> * * *
> 
> Messages mailing list  
> [Messages@forums.vassalengine.org](mailto:Messages@forums.vassalengine.org) ([Messages@forums.vassalengine.org](mailto:Messages@forums.vassalengine.org))  
> [http://forums.vassalengine.org/mailman/listinfo/messages\_forums.vassalengine.org](http://forums.vassalengine.org/mailman/listinfo/messages_forums.vassalengine.org)

–  
Se despide atentamente,  
Alejandro Villarroel  
Ingeniero Civil Electrónico  
Magister TI

Post generated using Mail2Forum ([mail2forum.com](http://www.mail2forum.com))
