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 (January '25) |
Featured Mods (random) |
TX2 Centauri Module |
Shrikes Mines & Missiles |
Quality Mods (random) |
Complete Item Intelligence Database (CIIDB) |
Tech Analyzer |
Balanced Mods (random) |
NoDockNavBeacons |
Northwind Devices for Transcendence 1.1 beta (1.08b minimum) |