Processes container
From TrainzOnline
(Difference between revisions)
(Created page with "The Processes container is a top-level config.txt file entry used by industry assets. ==Supported Tags== Each processes subcontainer supports the fo...") |
(Clarified that this is an array element.) |
||
(2 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
The [[Processes container]] is a top-level [[config.txt file]] entry used by [[KIND_Industry|industry]] assets. | The [[Processes container]] is a top-level [[config.txt file]] entry used by [[KIND_Industry|industry]] assets. | ||
− | == | + | The Processes container is a list of process subcontainers with no standalone tags. Each process subcontainer uses the following format. Each process derives its name from the subcontainer's tag name. These names are used from script. |
+ | |||
+ | ==Process subcontainer== | ||
Each processes subcontainer supports the following tags. Each tag is shown here with its default value. | Each processes subcontainer supports the following tags. Each tag is shown here with its default value. | ||
Latest revision as of 15:45, 2 February 2014
The Processes container is a top-level config.txt file entry used by industry assets.
The Processes container is a list of process subcontainers with no standalone tags. Each process subcontainer uses the following format. Each process derives its name from the subcontainer's tag name. These names are used from script.
Contents |
[edit] Process subcontainer
Each processes subcontainer supports the following tags. Each tag is shown here with its default value.
start-enabled 1 duration N/A inputs { } outputs { }
[edit] start-enabled
- Type: bool
- Desc: Specifies whether this process is active by default. Processes can enabled/disabled from script.
[edit] duration
- Type: float
- Desc: Specifies the duration of this process in seconds. This tag is compulsory and has no default value. It must be greater than 0.
[edit] inputs
- Type: Inputs container
- Desc: Specifies the inputs for this process
[edit] outputs
- Type: Outputs container
- Desc: Specifies the outputs for this process
[edit] Example controls container
See KIND Industry