Advanced Configuration

This page describes more advanced configuration that can be applied to units

swap

The swap config block allows a model to swap one item for another using the exact same quantities. In the example below, all Viking Warriors equipped with Longbows can swap them for either a Spear or a Shortbow

"weapon_swap" : [{"model": "Viking Warriors", "weapon": "Longbow", "alt":"Spear"},
                 {"model": "Viking Warriors", "weapon": "Longbow", "alt":"Shortbow"}]

The weapon_swap block should be included within the unit definition.