btech.weapon_stat
Returns one numeric weapon-catalog statistic as text.
Function
Synopsis
btech.weapon_stat( weapon, stat )
Arguments
string weapon- A recognized weapon part name.
string stat- One of
VRT,TYPE,HEAT,DAMAGE,MIN,SR,MR,LR,CRIT,AMMO,WEIGHT, orBV.
Returns
string result- The handler’s serialized text result.
Notes
This function is available only in a running Lua callback. Invalid targets, invalid arguments, and legacy error results raise a Lua error. Although the selected statistic is numeric, this binding is registered as a text result.