Upgrade Type

From Tygron Preview Support Wiki
Revision as of 12:18, 11 August 2015 by Rudolf@tygron.com (talk | contribs) (Created page with "{{stub}} {{being updated}} {{learned|what upgrades are|what role upgrades have in the Tygron Engine|what kinds of upgrades are available by default|how to add upgrades to your...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
This article is a stub.
Please note: This page is currently being updated.

Template:Learned

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.