btech.part_cost
Returns the configured cost of a part.
Function
Synopsis
btech.part_cost( part_name )
Arguments
string part_name- A recognized long or very-long part name.
Returns
number value- The numeric result.
Notes
This function is available only in a running Lua callback. Invalid targets, invalid arguments, and legacy error results raise a Lua error. This operation requires a build with advanced economy support.