Num cars (Traffic Overlay): Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Building attributes|<onlyinclude>{{#if:{{{content|}}}||
{{Building attributes|<onlyinclude>{{#if:{{{content|}}}||
{{Building attributes|formula=true|type=row|group={{{overlay|Traffic}}} Overlay| unit=vehicles/h      | attribute=NUM_CARS    | description=The amount of car traffic on this road.    }}
{{Building attributes|type=row|group={{{overlay|Traffic}}} Overlay| unit=vehicles/h      | attribute=NUM_CARS    | description=The amount of car traffic on this road.    }}
}}</onlyinclude>}}
}}</onlyinclude>}}


Line 18: Line 18:
* [[Hours ({{{overlay|Traffic}}} Overlay)]]
* [[Hours ({{{overlay|Traffic}}} Overlay)]]
* [[Cars per hour (Function Value)]]
* [[Cars per hour (Function Value)]]
{{#if:{{{formula|}}}|
{{#if: {{{tformula|}}} |* [[{{{overlay|Traffic}}} formula ({{{overlay|Traffic}}} Overlay) |{{{overlay|Traffic}}} formula]] | }}
* [[{{{overlay|Traffic}}} formula ({{{overlay|Traffic}}} Overlay) |{{{overlay|Traffic}}} formula]]
{{#if: {{{tformula|}}} |* [[Cars prequel ({{{overlay|Traffic}}} Overlay)]] | }}
* [[Cars prequel ({{{overlay|Traffic}}} Overlay)]]
}}
{{{seealso|}}}
{{{seealso|}}}
}}
}}


|}}</onlyinclude>
|}}</onlyinclude>

Latest revision as of 13:26, 1 March 2023

The value can either by a single value, or an Attribute array of values. As a single value, this reflects the amount of vehicles per hour at any point of the day. As an Attribute array, it's assumed to be an array of 24 values, each value corresponding to each hour of the day.