Discuss this page on this pages TalkPage

shpRefuelFromItem

See shpRefuelFromItem at Xelerus

Syntax (shpRefuelFromItem ship itemStruct)
Arguments ship: The ship that want to refuel from an item.
itemStruct: The item you want to use.
Returns condition: True if successful, Nil otherwise.
Category item, ship
Description Refuels the ship from the given item struct.

Example

(shpRefuelFromItem gplayership (itmCreate &itHelium3FuelRod; 1))

Adds 2500 to the player's fuel. Return to Functions list