Functions Documentation | |
Name | shpGetItemDeviceName |
Syntax | (shpGetItemDeviceName ship item) -> device name of item (or -1) |
Argument List | ship: the ship that has the item item: the item that has the needed name |
Returns | the name of the item or -1 if it is not installed |
Category | ship, spaceobject, item |
Description | Used to get weapon names on ships |
Example |
taken from &itDamageWeaponROM;
(if (and notFound (eq (shpGetItemDeviceName gSource weaponItem) 0)) (block Nil (shpDamageItem gSource theItem) (objSendMessage gSource Nil (cat (itmGetName weaponItem 33) " damaged by defective ROM")) (setq notFound Nil) ) ) |
Comment |
Mod of the Month (March '24) |
Featured Mods (random) |
System Map Scanner Pack 1.0 |
Ore Smelters & Fuel Makers Pack 1.0 |
Quality Mods (random) |
Dynamic Systems V6.d |
System Map Scanner Pack 1.0 |
Balanced Mods (random) |
Visible Damage V2 |
"PDmod" ICX Overhaul |