communicating vessels

Hi all ;

I search a communicating vessels for a game.

I explaine…

I want to value A incremment or decrement and value B merge to value A…

Exemple :

Value A are 3 Value B are 0 If Value A are 2 => Value B are 1

And… the next question :

I want a big value A (exemple 30) and merge to value B, C, D, F…

If B = 3, C = 4, D = 2 and F = 15 the value A are 6…

It’s possible to Vassal ?

And i want to make au “reset button” for value “B, C, D” and no F ! and my value A recome to 30 !

All automaticlie of course…

(Sorry for my English)