btdamages()

btmux-0.6-rc4/game/text/wizhelp/cat_functions/btdamages() · 904 B

From the archive btonline-btechmux-0.6-rc4.tbz2

Download the archive   « Back to the archive contents

& btdamages()
 
  Syntax: btdamages(<UnitDB>)

  This function returns a list of the damages on <UnitDB>.
  The function returns nothing if the unilt has no damage.
 
  The format of the list is:
  <repairnum>|<location>|<typenum>|<data>|<fixing>,
 
  <typenum>
  Displays the damage type
  * <typenum> 0 requires a reattach
  * <typenum> 1 and 2 requires a part replacement
  * <typenum> 3 to 9 requires an enhancedcrit repair
  * <typenum> 10 requires a weapon replacement
  * <typenum> 11 requires an ammo reload
  * <typenum> 12 requires an armor patch
  * <typenum> 13 requires an armor patch to the rear
  * <typenum> 14 requires repair of an internal
  * <typenum> 15 requires a detatch
  * <typenum> 16 and 17 requires scrapping
  * <typenum> 18 requires an unload
  * <typenum> 19 requires a reseal
  * <typenum> 20 requires a replacesuit 

Continued in btdamages()2 

Site Stats

Snippets: 1791
Codebases: 571