Overview
An integer representing the power production rate for the current game.If you're looking for what sets the starting power, check baseType.
The power level setting defines the rate at which your derricks produce oil. The higher the power level, the more oil they will produce.
The order in which things are built and researched will usually be quite different depending on the power level, so your script should act accordingly.
Values
Value | Description |
---|---|
400 | Low power |
700 | Medium power |
1000 | High power levels |
Examples
Switching based on power level setting
switch (powerType) { case 1000: { console("it's a high power game"); break; } case 700: { console("it's a medium power game"); break; } case 400: { console("it's a low power game"); break; } default: { console("unrecognised power level!"); } }
See also