Upgrade Type
Upgrades
An upgrade is an improvement to or replacement with a(n often better) variant of the entity being upgraded. A computer can be upgraded by replacing components with newer and better components. When aircraft passengers moved from economy class to business class, that is called receiving an upgrade.
How upgrades relate to the Tygron Engine
Constructions in the Tygron Engine can be upgraded, provided an upgrade definition exists which applies to that construction. A given upgrade will either not be applicable on a certain construction (because it does not have an appropriate function), or alter the function of that construction into exactly one other function.
When a construction is upgraded, it is effectively demolished and replaced with a different construction. The new construction retains the properties of the old construction, such as location or ownership. The most significant difference between the old and the new construction is its function. Another difference that can occur is a change in the amount of floors a construction has. If the construction has more or less floors than allowed by the new function, the amount of floors is increased or decreased to match the new function's allowed amount of floors.
Performing an upgrade
Kinds of upgrades
Creating and editing upgrades
An upgrade contains a set of function pairs. A construction with a function that matches the first function in one of those pairs is upgraded to the other function in that same pair.