installed_parts
Lists parts installed in a unit template’s non-destroyed critical slots.
Function
Synopsis
btech.template.installed_parts( reference )
Arguments
string reference- The unit-template reference.
Returns
BtechPartStack[] parts- The installed 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.