ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

The Prerequisite System

From ModEnc
Revision as of 08:42, 21 June 2006 by DCoder (talk | contribs) (Created)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The Prerequisite System controls the conditions required to build a certain object. Those conditions include:

Can this house own this object?
Checks if the house is listed in Template:TTL.
Is this house not forbidden from owning this object?
Checks if the house is not listed in Template:TTL.
Is this house allowed to own this object?
Checks if the house is listed in Template:TTL.
Does this house own all the prerequisite structures?
Checks if the house owns :
all structures listed in Template:TTL
or
at least one structure listed in Template:TTL.


If all the conditions are met, the house is allowed to build that object. Accompanied by the EVA_NewConstructionOptions sound.

Then, for VehicleTypes, an additional check takes place:

Does the house own the Template:TTL of the appropriate type?
Checks if the house has at least one structure with Template:TTL matching the object's type, and with the correct Template:TTL setting. If it doesn't, the object is removed from the Units tab, and, if that tab is open, the view jumps to the top of it. This is known as the New Construction Options Bug.