Refresh Counters causes havoc with some Layer Traits

I will take this opportunity to direct your attention to the tool vsavwrite.py that I made. You can find a bit more here. You provide the script with your module (.vmod) and a JSON (.json) file, the latter contains your set-up of pieces in a somewhat human-readable format, and then it writes a save file .vsav for you.

The benefit of that, is that you can generate the save (or setup) from data (the JSON file), and it will automatically have the latest and greatest pieces.

Beware that the script is not omnipotent. If you need additional set-up, you may need to write some Python code - using the pywargame API - but then you can practically do almost anything you like.

The module Advanced Squad Leader: Starter Kit #1 - source code at GitLab - is an example of that technique.

Yours,
Christian