Functions Documentation |
|
Name |
objGetMaxPower |
Syntax |
(objGetMaxPower spaceObject) |
Argument List |
spaceObject: The space object that you want the max power from. |
Returns |
number: The max power of the space object in tenth-megawatts (10^5 watts). |
Category |
reactor, spaceobject
|
Description |
Returns the max power of ship space object. |
Example |
(objGetMaxPower gplayerShip)
Returns the max power of the currently equipped reactor. |
Comment |
In the core game, this function is only used in various dock services panels to determine what the next level of reactor upgrade you should get is.
The tenth-megawatt scale is the same as what's used in the <ShipClass> definiton. |