[messages] Edit: Re: [Module Design] Counting card value

barbanera barbanera at fantafoot.com
Thu Jul 26 01:42:29 MST 2012


[This message has been edited.]

Give the Calculated Property a name, like TotalValue, and in the
expression field enter:

$<deckname>_1s$ + 2*$<deckname>_2s$ + 3*$<deckname>_3s$

where <deckname> is of course the  name you gave to your deck of cards.
Don't click on "Insert", just add that string to the expression field
and you should get a green checkmark in the end.

Maybe "1s", "2s" etc are not legit name.. then use other strings (e.g.
cv1, cv2, cv3...).

Then, add to the single piece a text label to print out $TotalValue$.

_______________________________________________
Read this topic online here:
http://www.vassalengine.org/forum/viewtopic.php?p=35370#p35370


More information about the messages mailing list