Currently, weapons on a unit can be edited by .edit_weapons, which provides a wrapper which automatically changes the weapons as specified and creates a new descriptor.
However, if weapons need to be changed multiple times, this breaks: the unit doesn't know where to load its new weapons, and instead writes a new weapon descriptor, which causes a duplicate namespace error on NDF compilation.
This is probably best achieved simply by changing the item in question to a wrapper, as mentioned in #16.
Currently, weapons on a unit can be edited by
.edit_weapons
, which provides a wrapper which automatically changes the weapons as specified and creates a new descriptor.However, if weapons need to be changed multiple times, this breaks: the unit doesn't know where to load its new weapons, and instead writes a new weapon descriptor, which causes a duplicate namespace error on NDF compilation.
This is probably best achieved simply by changing the item in question to a wrapper, as mentioned in #16.