User Tools

Site Tools


Discuss this page on this pages TalkPage


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.


(shpRefuelFromItem gplayership (itmCreate &itHelium3FuelRod; 1))

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

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