| 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 (November '25) |
| Featured Mods (random) |
| Shrikes Mines & Missiles |
| Cargo summary |
| Quality Mods (random) |
| Stalwart-class gunship |
| Brigand Playership for PSD6+ |
| Balanced Mods (random) |
| Shrikes Mines & Missiles |
| Repair droids |