payload
Lists a template’s weapons and ammunition.
Function
Synopsis
btech.template.payload( reference )
Arguments
string reference- The unit-template reference.
Returns
BtechPartStack[] parts- The payload parts and quantities. Parts represented only by critical slots
marked with the
Destroyedfire mode are omitted.
Notes
Consecutive weapon slots in the same section with the same part and brand are grouped as one weapon installation. Consequently, separate identical one-slot weapons installed in adjacent slots are reported with a combined quantity of one.