Inputs container
From TrainzOnline
(Difference between revisions)
(Created page with "The Inputs container is a top-level config.txt file entry used within processes containers (for KIND Industry and KIND Buildable). == ...") |
m (Note about using a zero amount.) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | The [[Inputs container]] is a top-level [[config.txt file]] entry used within [[ | + | The [[Inputs container]] is a top-level [[config.txt file]] entry used within [[Processes_container|processes]] containers (for [[KIND Industry]] and [[KIND Buildable]]). |
== Supported Tags == | == Supported Tags == | ||
− | The inputs subcontainer is a list of subcontainers with no standalone tags. Each inputs subcontainer | + | The inputs subcontainer is a list of subcontainers with no standalone tags. Each inputs subcontainer shall have a unique identifier that can be a simple number such as 0 or 1. Inputs subcontainers support the following tags (shown here with its default value). |
amount N/A | amount N/A | ||
Line 9: | Line 9: | ||
==== amount ==== | ==== amount ==== | ||
:Type: int | :Type: int | ||
− | :Desc: Specifies the amount of this input to consume for the parent process | + | :Desc: Specifies the amount of this input to consume for the parent process. If this is zero then the input container information will not appear in the View Details dialog box. For example, if you are constructing a transfer station for the same product, such as coal, as both input and output, then put some token value here. |
==== queue ==== | ==== queue ==== | ||
:Type: string | :Type: string | ||
− | :Desc: Specifies the product to consume, via it's name in the [[ | + | :Desc: Specifies the product to consume, via it's name in the [["Queues"_container|queues container]] |
== Example controls container == | == Example controls container == |
Latest revision as of 12:03, 4 December 2022
The Inputs container is a top-level config.txt file entry used within processes containers (for KIND Industry and KIND Buildable).
Contents |
[edit] Supported Tags
The inputs subcontainer is a list of subcontainers with no standalone tags. Each inputs subcontainer shall have a unique identifier that can be a simple number such as 0 or 1. Inputs subcontainers support the following tags (shown here with its default value).
amount N/A queue N/A
[edit] amount
- Type: int
- Desc: Specifies the amount of this input to consume for the parent process. If this is zero then the input container information will not appear in the View Details dialog box. For example, if you are constructing a transfer station for the same product, such as coal, as both input and output, then put some token value here.
[edit] queue
- Type: string
- Desc: Specifies the product to consume, via it's name in the queues container
[edit] Example controls container
See KIND Industry