randomly placing tokens on a board

Yes, see
https://forum.vassalengine.org/t/a-deck-question/1476/1

This is what you want to do in principle. Although this is talking about
dealing a deck of cards it is exactly the same idea of how to do it

-----Original Message-----
From: messages-bounces@vassalengine.org
[mailto:messages-bounces@vassalengine.org] On Behalf Of mustangblaster
Sent: Saturday, August 27, 2011 4:59 PM
To: messages@vassalengine.org
Subject: [messages] Edit: [Module Design] randomly placing tokens on a board

[This message has been edited.]

Hello,

I’m new to the vassal engine, so any help would be much appreciated.

I’m looking for a script whereby the engine places random type of
resources (wood, stone, gold, etc.) from a common pool on random spaces
of a predefined part of the board. The number of resources of each type
is limited within the pool. Say, there are 7 wood, 5 stone and 3 gold
altogether in there. Is there any way to achieve this result with
VASSAL?

Thank you for your time.


Read this topic online here:
https://forum.vassalengine.org/t/randomly-placing-tokens-on-a-board/4216/1