Games/Factorio
From r00tedvw.com wiki
(Difference between revisions)
(→Conditions) |
|||
(5 intermediate revisions by one user not shown) | |||
Line 14: | Line 14: | ||
# connect chests together and then to the decider combinator input | # connect chests together and then to the decider combinator input | ||
# connect train station to decider combinator output | # connect train station to decider combinator output | ||
+ | # connect train station to decider combinator input | ||
# connect train station to arithmetic combinator input | # connect train station to arithmetic combinator input | ||
# decider combinator output connects to arithmetic combinator input | # decider combinator output connects to arithmetic combinator input | ||
# arithmetic combinator output connects to the grid | # arithmetic combinator output connects to the grid | ||
+ | |||
===Decider combinator config=== | ===Decider combinator config=== | ||
====Conditions==== | ====Conditions==== | ||
− | if resource < (less than) static value | + | * if resource < (less than) static value |
+ | AND | ||
+ | * "C" is < (less than) 1 | ||
====Outputs==== | ====Outputs==== | ||
select "L" and define a static value of 1 | select "L" and define a static value of 1 | ||
Line 28: | Line 32: | ||
select resource | select resource | ||
===Train stop config=== | ===Train stop config=== | ||
− | set "Set train limit" and select "L" | + | * set "Set train limit" and select "L" |
+ | * Read train count "C" | ||
==Provider Station== | ==Provider Station== | ||
Line 36: | Line 41: | ||
* Decider Combinator x2 | * Decider Combinator x2 | ||
* Train Stop | * Train Stop | ||
+ | * communication grid | ||
===Connections=== | ===Connections=== | ||
# connect chests together and then to the decider combinator #1 input | # connect chests together and then to the decider combinator #1 input | ||
# decider combinator #1 output to train stop | # decider combinator #1 output to train stop | ||
+ | # train stop is connected to decider combinator #2 input | ||
+ | # decider combinator #2 output is connected to the communication grid | ||
===Decider combinator #1 config=== | ===Decider combinator #1 config=== | ||
====Conditions==== | ====Conditions==== | ||
Line 45: | Line 53: | ||
select "L" and define a static value of 1 | select "L" and define a static value of 1 | ||
===Train stop config=== | ===Train stop config=== | ||
− | set "Set train limit" and select "L" | + | * set "Set train limit" and select "L" |
+ | * set "Read train count" and select "C" | ||
+ | ===Decider combinator #2 config=== | ||
+ | ====Conditions==== | ||
+ | if "C" > (greater than) 0 | ||
+ | ====Outputs==== | ||
+ | select <resource> and define a static value of 1 | ||
+ | |||
+ | ==Depot== | ||
+ | Where trains live until they are called for use | ||
+ | ===Items Needed=== | ||
+ | * Train Stop | ||
+ | * communication grid | ||
+ | ===Train stop config=== | ||
+ | All train stops should be set to the same configuration | ||
+ | * Select "Send to train" | ||
+ | * Rename "Depot" | ||
+ | |||
+ | ==Train== | ||
+ | ===Config=== | ||
+ | ====Schedule==== | ||
+ | This should be set only to "depot" | ||
+ | ====Interrupts==== | ||
+ | # Create a new interrupt. Name it "<resource image> Loop" | ||
+ | =====Conditions===== | ||
+ | * <resource> provider is not full #you get this by selecting "station is not full" and then selecting the <resource> provider | ||
+ | AND | ||
+ | * <resource> requester is not full #you get this by selecting "station is not full" and then selecting the <resource> requester | ||
+ | AND | ||
+ | * Circuit <resource> < (less than) 0 | ||
+ | |||
+ | =====Targets===== | ||
+ | * <resource> provider -- Full cargo inventory | ||
+ | * <resource> requester -- Empty cargo inventory |
Latest revision as of 23:44, 10 January 2025
Contents |
[edit] LTN style Logistics Train Network
Requirements:
- Factorio 2.0 with Interrupts
Reference: https://www.youtube.com/watch?v=EggDldJVggM&t=2009s
[edit] Requester Station
Where you request resources to be delivered to.
[edit] Items Needed
- Chest(s)
- Decider Combinator
- Arithmetic Combinator
- Train Stop
- communication grid
[edit] Connections
- connect chests together and then to the decider combinator input
- connect train station to decider combinator output
- connect train station to decider combinator input
- connect train station to arithmetic combinator input
- decider combinator output connects to arithmetic combinator input
- arithmetic combinator output connects to the grid
[edit] Decider combinator config
[edit] Conditions
- if resource < (less than) static value
AND
- "C" is < (less than) 1
[edit] Outputs
select "L" and define a static value of 1
[edit] Arithmetic Combinator config
[edit] Input
select "L" and multiply by -1
[edit] Output
select resource
[edit] Train stop config
- set "Set train limit" and select "L"
- Read train count "C"
[edit] Provider Station
Where you provider specific resources from.
[edit] Items Needed
- Chest(s)
- Decider Combinator x2
- Train Stop
- communication grid
[edit] Connections
- connect chests together and then to the decider combinator #1 input
- decider combinator #1 output to train stop
- train stop is connected to decider combinator #2 input
- decider combinator #2 output is connected to the communication grid
[edit] Decider combinator #1 config
[edit] Conditions
if resource is > (greater than) static value
[edit] Outputs
select "L" and define a static value of 1
[edit] Train stop config
- set "Set train limit" and select "L"
- set "Read train count" and select "C"
[edit] Decider combinator #2 config
[edit] Conditions
if "C" > (greater than) 0
[edit] Outputs
select <resource> and define a static value of 1
[edit] Depot
Where trains live until they are called for use
[edit] Items Needed
- Train Stop
- communication grid
[edit] Train stop config
All train stops should be set to the same configuration
- Select "Send to train"
- Rename "Depot"
[edit] Train
[edit] Config
[edit] Schedule
This should be set only to "depot"
[edit] Interrupts
- Create a new interrupt. Name it "<resource image> Loop"
[edit] Conditions
- <resource> provider is not full #you get this by selecting "station is not full" and then selecting the <resource> provider
AND
- <resource> requester is not full #you get this by selecting "station is not full" and then selecting the <resource> requester
AND
- Circuit <resource> < (less than) 0
[edit] Targets
- <resource> provider -- Full cargo inventory
- <resource> requester -- Empty cargo inventory