Skip to content

RefineryLimit

Parsed ceiling on refineries that the engine never uses.

This setting has no runtime effect

The engine accepts and loads it, but no gameplay code uses the stored value.

Specification
Applies to
global rules
File
rules.ini
Section
[AI]
Value
integer
When omitted
4
Used by the game
No — loaded but not used

No step of computer base planning counts refineries against a limit. When the engine generates a computer house’s plan, the refineries in it are set as the plan is built. The first BuildRefinery entry whose owners include the country the house acts as enters like any other candidate structure, and the house’s difficulty slot decides how many extra copies follow it. A plan the scenario supplies keeps the refineries the scenario lists. A house that runs out of money can also insert a refinery into its plan, as power and money interventions describes.