AddAbility

addAbility(, , ...see Abilities...)

Description Adds an ability to the ship, such as the ability to attack, cloak, or turn on a defense field. Found in ".ship" files. Most abilities can either start out active or inactive. If inactive, the ability can be activated by researching an upgrade or building a subsystem (or by another ship using the addShipAbility function).

Arguments
 * : this will generally be a reference NewShipType.
 * : the name of the ability.

Abilities