Functions Documentation
View Function Edit Function
Name shpCanRemoveDevice
Syntax (shpCanRemoveDevice ship item) -> installCode
Argument List 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.
Comment Returns a number instead of a condition to allow for reasons why it can not remove the device.