Processes container

From TrainzOnline
Jump to: navigation, search

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

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

Categories

Personal tools