From 4ac6716abcb137906cd513585201f33a23b0071f Mon Sep 17 00:00:00 2001 From: myk002 Date: Sun, 6 Dec 2020 10:37:09 -0800 Subject: [PATCH] add default values for optional sub-aliases --- data/quickfort/aliases-common.txt | 2 ++ docs/guides/quickfort-alias-guide.rst | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/data/quickfort/aliases-common.txt b/data/quickfort/aliases-common.txt index 97e34d7d5..509d1c4ed 100644 --- a/data/quickfort/aliases-common.txt +++ b/data/quickfort/aliases-common.txt @@ -16,6 +16,7 @@ # naming aliases ################################## +name: {Right} givename: !n{name}& namezone: ^i{givename}^q @@ -33,6 +34,7 @@ enter_sp_config_hauling: & quantum_enable: {enableanimals}{enablefood}{enablefurniture}{enablestone}{enableammo}{enablecoins}{enablebars}{enablegems}{enablefinishedgoods}{enableleather}{enablecloth}{enablewood}{enableweapons}{enablearmor}{enablesheet} quantum: {linksonly}{nocontainers}{quantum_enable}{givename} +stop_name: {Right} 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 quantumstopfromeast: {quantumstop move={Right} move_back={Left}} diff --git a/docs/guides/quickfort-alias-guide.rst b/docs/guides/quickfort-alias-guide.rst index 180345694..9f6cf30c0 100644 --- a/docs/guides/quickfort-alias-guide.rst +++ b/docs/guides/quickfort-alias-guide.rst @@ -326,7 +326,7 @@ the cursor is over buildings and stockpiles. Example: f(10x2) #query - {booze}{givename name="booze"} + {booze}{givename name=booze} ``namezone`` is intended to be used when over an activity zone. It includes commands to get into zones mode, set the zone name, and get back to query @@ -460,7 +460,7 @@ example, you can set the ``route_enable`` sub-alias: :: #query - {quantumstopfromsouth name="Armory quantum" route_enable="{enableweapons}{enablearmor}{enableammo}"} + {quantumstopfromsouth name="Steel bar quantum" route_enable="{enablebars}{steelbars}"} Any of the `stockpile configuration aliases ` can be used for either the ``quantum_enable`` or ``route_enable`` sub-aliases.