Functions Documentation
View Function Edit Function
Name shpRechargeShield
Syntax (shpRechargeShield ship number)
Argument List ship: The ship that has a shield to recharge.
number: The amount you want to recharge.
Returns condition: True if successful, Nil otherwise.
Category ship, shield, repair/damage
Description Recharges the ships shields the given amount. Does not recharge over the shields max hp.
(shpRechargeShield gplayership 10)

Adds ten hp to the player's shield.
Comment Useful for repairing a shield from in code.