needs
Lists the repairs needed by a live unit.
Function
Synopsis
btech.repair.needs( unit )
Arguments
DbRef|Object unit- The live unit.
Returns
BtechRepairNeed[] needs- The required and in-progress repair operations. Each
operationis a typedBtechRepairOperationconstant and eachsectionis a typedBtechSectionconstant; both round-trip intobtech.repair.applyfor supported immediate repairs.
Notes
Scheduled repair discovery preserves compatibility with stored unit data. It
may report rear-armor jobs for any section whose configured current and original
rear values differ. Scheduled technician work can restore configured stored
rear armor for ordinary deficits where the current value is below the original
value. Outside a Mech’s center, left, and right torsos, stored rear armor is not
consumed by combat and cannot be changed through the immediate
btech.repair.apply operation.