btech.tech_list_ref

Lists the parts needed to repair a unit template.

Function

Synopsis

btech.tech_list_ref( reference )

Arguments

string reference
The unit template reference.

Returns

table values
A flat array of converted legacy result tokens.

Notes

This function is available only in a running Lua callback. Invalid targets, invalid arguments, and legacy error results raise a Lua error. The reference is resolved from the configured unit-template database.

See Also