Processes container: Difference between revisions
From TrainzOnline
Jump to navigationJump to search
Suggest this page be deleted. See note at start of page. |
Clarified that this is an array element. |
||
| (One intermediate revision by one other 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 05: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.
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
{
}
start-enabled
- Type: bool
- Desc: Specifies whether this process is active by default. Processes can enabled/disabled from script.
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.
inputs
- Type: Inputs container
- Desc: Specifies the inputs for this process
outputs
- Type: Outputs container
- Desc: Specifies the outputs for this process
Example controls container
See KIND Industry