Skip to content

PrerequisiteNodFactory

Changed in 0.2.0

The BuildingTypes that satisfy a NODFACTORY prerequisite.

Specification
Applies to
global rules
File
rules.ini
Section
[General]
Value
list of BuildingTypes
When omitted
(empty)

A player meets a NODFACTORY entry in a Prerequisite= list by owning a structure of any type on this list. One is enough, and the order of the list does not matter.

A computer house skips prerequisites when it produces, but its base planner checks this list. There, NODFACTORY is met once any listed type is in the plan.

Separate the BuildingType IDs with commas and no spaces. IDs are matched without regard to case, and an ID that matches no BuildingType is dropped. An empty value leaves the list already loaded in place.

List only BuildingType IDs. A group name such as POWER or FACTORY stays in the list but never satisfies it. When a computer house plans a structure that needs NODFACTORY, such an entry can be read as an invalid BuildingType, which stops a Debug build of the game.

If the list holds no valid ID, NODFACTORY can never be met. A player cannot build any type that names it, and the base planner leaves such types out of the plan.

See also — production

History

  1. Changed0.2.0In development

    Let a base plan satisfy a side factory prerequisite