Function Value: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
Tag: Reverted
 
(One intermediate revision by the same user not shown)
Line 17: Line 17:


===Name===
===Name===
{{Function values|suppresscategory=true
{{Function values|
| {{Function values|type=row
{{Function values|type=row
   |functionvalue= | linkoverride=Name
   |functionvalue= | linkoverride=Name
   |attribute=(Property of function value)
   |attribute=(Property of function value)
Line 28: Line 28:


===Assets and visualization===
===Assets and visualization===
{{Function values|suppresscategory=yes|
{{Function values|
  {{Function values|type=row
  {{Function values|type=row
   |functionvalue= | linkoverride=Image
   |functionvalue= | linkoverride=Image
Line 52: Line 52:


===Construction===
===Construction===
{{Function values|suppresscategory=yes|
{{Function values|
{{:Align elevation (Function Value)}}
{{:Align elevation (Function Value)}}
{{:Default floors (Function Value)}}
{{:Default floors (Function Value)}}
Line 67: Line 67:


===Environment===
===Environment===
{{Function values|suppresscategory=yes|
{{Function values|
{{:Bowen ratio (Function Value)}}
{{:Bowen ratio (Function Value)}}
{{:Critical infrastructure (Function Value)}}
{{:Critical infrastructure (Function Value)}}
Line 80: Line 80:


===Network===
===Network===
{{Function values|suppresscategory=yes|
{{Function values|
{{:Pipes permitted (Function Value)}}
{{:Pipes permitted (Function Value)}}
}}
}}
Line 88: Line 88:


====Car traffic====
====Car traffic====
{{Function values|suppresscategory=yes|
{{Function values|
{{:Buses per hour (Function Value)}}
{{:Buses per hour (Function Value)}}
{{:Cars per hour (Function Value)}}
{{:Cars per hour (Function Value)}}
Line 106: Line 106:
====Other traffic====
====Other traffic====


{{Function values|suppresscategory=yes|
{{Function values|
   {{:Airplanes per hour (Function Value)}}
   {{:Airplanes per hour (Function Value)}}
   {{:Bicycles per hour (Function Value)}}
   {{:Bicycles per hour (Function Value)}}
Line 116: Line 116:


===Water===
===Water===
{{Function values|suppresscategory=yes|
{{Function values|
{{:Connected to sewer area (Function Value)}}
{{:Connected to sewer area (Function Value)}}
{{:Depth of plant roots (Function Value)}}
{{:Depth of plant roots (Function Value)}}
Line 131: Line 131:


User-defined [[Attribute]]s added to a function value always apply to the building as a whole, and cannot be [[Category Value|category-specific]].
User-defined [[Attribute]]s added to a function value always apply to the building as a whole, and cannot be [[Category Value|category-specific]].
{{Function values|suppresscategory=true
{{Function values|
| {{Function values|type=row
| {{Function values|type=row
   |functionvalue= | linkoverride= 
   |functionvalue= | linkoverride= 
Line 162: Line 162:
|api=
|api=
*[[Api session event editor functionoverride set function value]]
*[[Api session event editor functionoverride set function value]]
*[[Api session event editor functionoverride remove function value]]
}}
}}


{{editor current situation nav}}
{{editor current situation nav}}

Latest revision as of 12:33, 9 June 2026

Function values are specific values which form the general properties of any building with a specific function. A function has many function values, and any building of that function also has those function values.

Function values can be changed for an individual building, or for a function, which in turn would affect all buildings of that function.

For values related to a specific Function Category, which are handled differently, see Category Values.

Overwrites

Function Values can be defined on several levels. Primarily, they can be defined on Functions. The Function Values of Functions can be overwritten by adding them to the Function Values Table. Additionally, a Function can be duplicated, and that new Function will effectively have the same values of the original Function. Lastly, regardless of the Function a Building has, it can have its own Function Values as well. This means the used Function Values are determined as follows:

  • If a building has their own Function Value set, that value is used.
  • Otherwise, if the building's Function has an explicit Function Value defined, that value is used.
  • Otherwise, if that Function was created by duplicating another Function, that Function's value is used. This step is repeated until either a value is found, or the original Function (from which all the others are derived) is found.
  • The original Function always has a valid Function Value.

Overview of all function values

Most function values have specific effects in the context of the Tygron Platform. Individual function values can be grouped into categories based on their effects or themes.

Name

Assets and visualization

Construction

Environment

Network

Traffic

Traffic is split up into two further categories, to differentiate between traffic which may apply to Traffic Overlays and alternative types of traffic. Values are generally set based on data from Traffic Plugin.

Car traffic

Other traffic

Water

Attributes

Besides the function values which are provided by default, it is possible to add user-defined attributes to function values as well. Any attribute added is automatically available as an Attribute for all Functions, and all Buildings, although the default value of the Attribute will be 0.

User-defined Attributes added to a function value always apply to the building as a whole, and cannot be category-specific.