payload
Lists weapons and ammunition represented by non-destroyed critical slots on a live unit.
Function
Synopsis
btech.unit.payload( unit )
Arguments
DbRef|Object unit- The live unit.
Returns
BtechPartStack[] parts- The payload parts and quantities.
Notes
Destroyed critical slots are omitted.
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.