User Tools

Site Tools


Discuss this page on this pages TalkPage


See shpCanRemoveDevice at Xelerus

Syntax (shpCanRemoveDevice ship item) → installCode
Arguments ship: The ship that has the item you want to check installed.
item: The item you want to check.
Returns installCode: 1 if removing the device would cause the cargo hold to become too small, 0 if it can be removed. 2 if the item is not installed in the first place.
Category ship
Description Checks to see if the ship can remove the device.


Return to Functions list

modding/function/shpcanremovedevice.txt · Last modified: 2014/12/27 04:40 by