hauling aliases can take from multile stockpiles

develop
myk002 2021-02-03 13:51:02 -08:00
parent 2eea9fd692
commit 6c6a9968ff
No known key found for this signature in database
GPG Key ID: 8A39CA0FA0C16E78
2 changed files with 24 additions and 8 deletions

@ -36,7 +36,9 @@ quantum: {linksonly}{nocontainers}{quantum_enable}{givename}
stop_name: {Empty} stop_name: {Empty}
route_enable: {quantum_enable}{enablecorpses}{enablerefuse} route_enable: {quantum_enable}{enablecorpses}{enablerefuse}
quantumstop: ^hrn{name}&sn{stop_name}&&xxx{route_enable enter_sp_config={enter_sp_config_hauling}}s{move}p^{move_back}^q sp_link: s{move}p{move_back}
sp_links: {sp_link}
quantumstop: ^hrn{name}&sn{stop_name}&&xxx{route_enable enter_sp_config={enter_sp_config_hauling}}{sp_links}^^q
quantumstopfromeast: {quantumstop move={Right} move_back={Left}} quantumstopfromeast: {quantumstop move={Right} move_back={Left}}
quantumstopfromsouth: {quantumstop move={Down} move_back={Up}} quantumstopfromsouth: {quantumstop move={Down} move_back={Up}}
quantumstopfromwest: {quantumstop move={Left} move_back={Right}} quantumstopfromwest: {quantumstop move={Left} move_back={Right}}

@ -346,11 +346,15 @@ These aliases make it easy to create :wiki:`minecart stop-based quantum stockpil
+----------------------+ | +----------------------+ |
| quantumstopfromwest | | | quantumstopfromwest | |
+----------------------+------------------+ +----------------------+------------------+
| sp_link | | move |
| | | move_back |
+----------------------+------------------+
| quantumstop | | name | | quantumstop | | name |
| | | stop_name | | | | stop_name |
| | | route_enable | | | | route_enable |
| | | move | | | | move |
| | | move_back | | | | move_back |
| | | sp_links |
+----------------------+------------------+ +----------------------+------------------+
The idea is to use a minecart on a track stop to dump an infinite number of The idea is to use a minecart on a track stop to dump an infinite number of
@ -453,17 +457,27 @@ building your aliases on the ``*prefix`` aliases described later in this
guide. guide.
Finally, the ``quantumstop`` alias is a more general version of the Finally, the ``quantumstop`` alias is a more general version of the
``quantumstopfrom*`` aliases. The ``quantumstopfrom*`` aliases assume that the ``quantumstopfrom*`` aliases. The ``quantumstopfrom*`` aliases assume that a
feeder stockpile is orthogonally adjacent to your track stop (which is how single feeder stockpile is orthogonally adjacent to your track stop (which is
most people set them up). If your feeder stockpile is somewhere further away, how most people set them up). If your feeder stockpile is somewhere further
you can use the ``quantumstop`` alias directly. In addition to the away, or you have multiple feeder stockpiles to link, you can use the
``quantumstopfrom*`` sub-aliases, you can also define the ``move`` and ``quantumstop`` alias directly. In addition to the sub-aliases used in the
``move_back`` sub-aliases, which let you specify the cursor keys required to ``quantumstopfrom*`` alias, you can define the ``move`` and ``move_back``
move from the track stop to the feeder stockpile and back again, respectively:: sub-aliases, which let you specify the cursor keys required to move from the
track stop to the (single) feeder stockpile and back again, respectively::
#query #query
{quantumstop move="{Right 2}{Up}" move_back="{Down}{Left 2}"} {quantumstop move="{Right 2}{Up}" move_back="{Down}{Left 2}"}
If you have multiple stockpiles to link, define the ``sp_links`` sub-alias,
which can chain several ``sp_link`` aliases together, each with their own
movement configuration::
#query
{quantumstop sp_links="{sp_link move=""{Right}{Up}"" move_back=""{Down}{Left}""}{sp_link move=""{Right}{Down}"" move_back=""{Up}{Left}""}"}
Note the doubled quotes for quoted elements that are within the outer quotes.
Farm plots Farm plots
~~~~~~~~~~ ~~~~~~~~~~