User Tools

Site Tools


modding:function:shprechargeitem

Discuss this page on this pages TalkPage

shpRechargeItem

See shpRechargeItem at Xelerus

Syntax (shpRechargeItem ship expression number)
Arguments ship: The ship that has the item to recharge.
expression: An item struct or item list pointer to the item you want to recharge.
number: The number of charges you want to add to the item.
Returns condition: True if successful, Nil otherwise.
Category item, ship
Description Adds the given number of charges to the item on the ship.

Example

Return to Functions list

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