btcritslot()
btmux-0.6-rc4/game/text/wizhelp/cat_functions/btcritslot() · 857 B
From the archive btonline-btechmux-0.6-rc4.tbz2
Download the archive « Back to the archive contents
& btcritslot()
Syntax: btcritslot(<UnitDB>,<location>,<critslot>,<typeflag>)
This function returns the details about the contents of the
specified <critslot> in <location> on <UnitDB>.
Arguments:
<typeflag> can be one of the following:
* name will return the name of the item at that critslot
* status will return the condition of the part - either Operational
or Destroyed
* data will return the amount of ammo in an ammobin, the remaining
recharge time for a weapon which has been fired
* maxammo will return the maximum capacity of an ammobin
* mode will return the weapon mode
* any other argument will return the same as the name arg.
Note: If the <typeflag> argument is mode and the weapon is set to
normal mode, the function returns a blank string
Continued in btcritslot()2