Skip to content

RecheckPrerequisites

Added in 0.2.0
Specification
Applies to
global rules
File
rules.ini
Section
[General]
Value
boolean
When omitted
no
rules.ini
[General]
RecheckPrerequisites=yes

With RecheckPrerequisites=yes, the sidebar check also removes a cameo whose type fails the tech-level, prerequisite or ownership gate of what a house may build. Selling or losing a structure named in the type’s Prerequisite= therefore removes the cameo, and the cameo returns once the house can build the type again. With no, the check ignores those gates, so the cameo stays and can still start production. Computer houses have no sidebar and are not affected.

With RecheckPrerequisites=yes, removing a cameo also cancels that type’s production. The item under construction and every queued copy are canceled, the credits spent so far are refunded, and a finished structure waiting to be placed is taken off the cursor.

For a structure type, the ownership gate needs a construction yard that is switched on, unless MultiMCV=yes. With RecheckPrerequisites=yes, switching off every construction yard therefore removes all structure cameos and cancels structure production. Only a construction yard whose type drains power or sets Powered=yes can be switched off. Low power does not switch a structure off.

Vinifera reads the same key with the same meaning and default.

History

  1. Added0.2.0In development

    Re-check buildability when the sidebar recalculates