Function: Difference between revisions

From Tygron Preview Support Wiki
Jump to navigation Jump to search
Line 20: Line 20:
===Adding functions for editing===
===Adding functions for editing===
{{Editor location|||Indicators|Function Values}}
{{Editor location|||Indicators|Function Values}}
By default, functions are not yet available for editing. To edit them, they must first be added to the "Function Values" panel. When they are added, their properties can be altered as desired. Added functions can be done by following these steps:
{{Editor steps|title=add a function for editing|Click "Add".|Select the desired function in the [[function selection]] window.|Find the function in the list in the "Function Values" panel.}}
{{Editor steps|title=add a function for editing|Click "Add".|Select the desired function in the [[function selection]] window.|Find the function in the list in the "Function Values" panel.}}
By default, functions are not yet available for editing. To edit them, they must first be added to the "Function Values" panel. When they are added, their properties can be altered as desired.


===Adding new functions===
===Adding new functions===

Revision as of 11:58, 22 August 2014

Template:Learned

Functions

A function is a purpose or destination for something. In the context of spatial planning, a function specifically indicates the purpose of a building or other type of construction. A corporate skyscraper has an "office" function. A house has a residential function. A park has a leisure function.

How functions relate to the Tygron Engine

In the Tygron Engine, functions are used to refer to specific types of building. Every construction has assigned to it what type of construction it is, in the form of a function. Functions can also exist separately from constructions, as a definition of a type of building. Although many functions may exist in a game, not all functions need to be used.

Function usage

There are two ways functions can be used. Primarily, a function is used


Changing functions

This section deals with changing the values of the function itself. For changing the function of a construction, see changing constructions.


The function values editing screen.

Adding functions for editing

By default, functions are not yet available for editing. To edit them, they must first be added to the "Function Values" panel. When they are added, their properties can be altered as desired. Added functions can be done by following these steps:

How to add a function for editing:
  1. Click "Add".
  2. Select the desired function in the function selection window.
  3. Find the function in the list in the "Function Values" panel.

Adding new functions

How to add a new function:
  1. Select a function from the list to use as template.
  2. Press "Duplicate".
  3. Find the duplicated function at the bottom of the list.

Changing function

How to change the properties of functions:
  1. If the desired function is not yet present in the list, add the function to the list.
  2. Find the column with the property you wish to change.
  3. Change the value in the row of the function and the column of the property.
Editing the floor area of Social Housing.


There are many properties to be edited.

Changing effects on custom indicators

How to change the effect of functions on custom indicators:
  1. If the desired function is not yet present in the list, add the function to the list of function values
  2. Find the column with the indicator for which you wish to change the effects
  3. Change the value in the row of the function and the column of the property value
Changing the effect of offices on the economy indicator.