Processes container

From TrainzOnline
(Difference between revisions)
Jump to: navigation, search
(Suggest this page be deleted. See note at start of page.)
(Clarified that this is an array element.)
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
''(Note by PCAS1986.  I suggest this page is actually describing a process-element container and not a processes container.  There is now a page describing a [[processes-element]] container.  Perhaps this page should be deleted?)''
 
 
 
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.
  
==Supported Tags==
+
==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

[edit] Categories

Personal tools