btunitfixable()
btmux-0.6-rc4/game/text/wizhelp/cat_functions/btunitfixable() · 510 B
From the archive btonline-btechmux-0.6-rc4.tbz2
Download the archive « Back to the archive contents
& btunitfixable()
Syntax: btunitfixable(<UnitDB>)
This function determines if a unit is 'cored' - ie unrepairable. The
function returns 1 if the unit is repairable, otherwise it returns
0.
Error Messages:
* If <UnitDB> is not a valid RS unit the function returns #-1
INVALID TARGET
Example:
Given that #1234 is a mech which is repairable, and #2345 is a mech
which is unrepairable
> think btunitfixable(#1234)
1
> think btunitfixable(#2345)
0