Inputs container: Difference between revisions

From TrainzOnline
Jump to navigationJump to search
No edit summary
Pcas1986 (talk | contribs)
m Note about using a zero amount.
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:


== Supported Tags ==
== Supported Tags ==
The inputs subcontainer is a list of subcontainers with no standalone tags. Each inputs subcontainer supports the following tags (shown here with its default value).
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 ====

Latest revision as of 02: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).

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

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.

queue

Type: string
Desc: Specifies the product to consume, via it's name in the queues container

Example controls container

See KIND Industry

Categories