From 23461e17c2a8d3c7384a92b32d58110ce05036a1 Mon Sep 17 00:00:00 2001 From: myk002 Date: Wed, 24 Feb 2021 19:50:29 -0800 Subject: [PATCH] separate sand bags into their own stockpile since quantum stockpiling them dumps out their contents --- data/blueprints/library/dreamfort.csv | 36 +++++++++++++-------------- data/quickfort/aliases-common.txt | 8 ++++++ docs/guides/quickfort-alias-guide.rst | 13 +++++++--- 3 files changed, 35 insertions(+), 22 deletions(-) diff --git a/data/blueprints/library/dreamfort.csv b/data/blueprints/library/dreamfort.csv index 6aea5a79b..79b6dcd07 100644 --- a/data/blueprints/library/dreamfort.csv +++ b/data/blueprints/library/dreamfort.csv @@ -2141,7 +2141,7 @@ Features: with separate stockpiles for: - A reserve of uncut gems for strange moods that the jeweler's workshop cannot take from - Steel bars and coal so you can see at a glance if you're low on either -- Liquids that cannot be quantum stockpiled (e.g. lye) +- Items that cannot be quantum stockpiled (e.g. lye and sand bags) - Meltable weapons and armor "" Workshops: @@ -2274,7 +2274,7 @@ query/industry_query ,,f,`,`,`,`,`,`,`,`,`,`,`,`,~,~,~,~,~,`,`,`,`,`,`,`,`,`,`,`,`,` ,,f,`,`,`,`,`,`,`,`,`,`,`,`,e(5x1),,,~,~,`,`,`,`,`,`,`,`,`,`,`,`,` ,,f,`,`,`,`,`,`,`,`,`,`,`,,,`,,`,,,`,`,`,`,`,`,`,`,`,`,`,` -,,f,`,`,`,`,`,`,w(3x5),,,afnguS(2x5),`,,`,`,`,`,`,,rhl(5x5),,,~,~,`,`,`,`,`,`,` +,,f,`,`,`,`,`,`,w(2x5),,afnguS(3x5),,`,,`,`,`,`,`,,rhl(5x5),,,~,~,`,`,`,`,`,`,` ,,f,`,`,`,`,`,`,~,~,~,~,~,`,`,,,,`,`,~,~,~,~,~,`,`,`,`,`,`,` ,,f,`,`,`,`,c,`,~,~,~,~,~,,`,,`,,`,,~,~,~,~,~,`,r,`,`,`,`,` ,,f,`,`,`,`,`,`,~,~,~,~,~,`,`,,,,`,`,~,~,~,~,~,`,`,`,`,`,`,` @@ -2286,12 +2286,12 @@ query/industry_query ,,,,`,`,`,`,`,`,`,`,`,`,`,~,~,~,~,~,`,`,`,`,pd(7x3),,,~,~,~,~ ,,,,`,`,`,`,`,`,`,`,`,`,`,~,~,~,~,~,`,`,`,`,~,~,~,~,~,~,~ ,,,,`,`,`,`,`,`,`,`,`,`,`,`,`,`,`,`,`,`,`,`,~,~,~,~,~,~,~ -,,,,`,`,`,`,`,`,`,`,`,`,`,`,`,c,`,`,`,`,`,`,`,`,`,`,`,`,` -,,,,`,`,`,`,`,`,`,`,`,`,`,`,`,`,`,`,`,`,`,`,pd(7x3),,,~,~,~,~ -,,,,`,`,`,`,`,`,`,`,`,`,`,`,`,`,`,`,`,`,`,`,~,~,~,~,~,~,~ -,,,,`,`,`,`,`,`,`,`,`,`,`,`,`,`,`,`,`,`,`,`,~,~,~,~,~,~,~ +,,,,`,`,`,`,`,`,`,`,`,`,`,b,`,c,`,b,`,`,`,`,`,`,`,`,`,`,` +,,,,`,`,`,`,`,`,`,`,`,`,`,b,b,b,b,b,`,`,`,`,pd(7x3),,,~,~,~,~ +,,,,`,`,`,`,`,`,`,`,`,`,`,b,`,`,`,b,`,`,`,`,~,~,~,~,~,~,~ +,,,,`,`,`,`,`,`,`,`,`,`,`,b,`,`,`,b,`,`,`,`,~,~,~,~,~,~,~ ,,,,,,,,,,,`,`,`,`,`,`,`,`,`,`,`,`,` -,,,,,,,,,,,b(6x1),,,~,~,~,`,b(6x1),,,~,~,~ +,,,,,,,,,,,u(6x1),,,~,~,~,`,b(6x1),,,~,~,~ "#query label(industry_query) start(18; 18) hidden() message(remember to: @@ -2314,11 +2314,11 @@ query/industry_query ,,nocontainers,`,`,`,`,`,`,`,`,`,`,`,`,~,~,~,~,~,`,`,`,`,`,`,`,`,`,`,`,`,` ,,"{givename name=""non-quantum liquids""}",`,~,`,`,~,`,`,~,`,`,`,`,nocontainers,"{givename name=""gem feeder""}",~,~,~,`,`,`,`,~,`,`,~,`,`,`,`,` ,,~,`,`,`,`,`,`,`,`,`,`,`,,,`,,`,,,`,`,`,`,`,`,`,`,`,`,`,` -,,~,`,`,`,`,`,`,"{givename name=""wood feeder""}",~,~,"{givename name=""goods feeder""}",~,,`,`,`,`,`,,craftrefuse,,,,~,`,`,`,`,`,`,` -,,~,`,`,`,`,`,`,~,~,~,{cages}{permittraps},~,`,`,,,,`,`,"{givename name=""cloth/bones feeder""}",~,~,~,~,`,`,`,`,`,`,` -,,~,`,~,`,`,"{quantum name=""goods/wood quantum""}g{Up 13}{Right 10}&","{quantumstop name=""Goods/Wood quantum"" sp_links=""{sp_link move={Right} move_back={Left}}{sp_link move=""""{Right 5}"""" move_back=""""{Left 5}""""}""}{givename name=""goods/wood dumper""}",~,~,~,{tallow}{permitdye},~,,`,,`,,`,,nocontainers,~,~,~,~,"{quantumstopfromwest name=""Clothier/Bones quantum""}{givename name=""cloth/bones dumper""}","{quantum name=""cloth/bones quantum""}",`,`,~,`,` -,,~,`,`,`,`,`,`,~,~,~,nocontainers,~,`,`,,,,`,`,~,~,~,~,~,`,`,`,`,`,`,` -,,~,`,`,`,`,`,`,~,~,~,forbidcrafts,~,,`,`,`,`,`,,~,~,~,~,~,`,`,`,`,`,`,` +,,~,`,`,`,`,`,`,"{givename name=""wood feeder""}",~,"{givename name=""goods feeder""}",nocontainers,~,,`,`,`,`,`,,craftrefuse,,,,~,`,`,`,`,`,`,` +,,~,`,`,`,`,`,`,~,~,{cages}{permittraps},~,~,`,`,,,,`,`,"{givename name=""cloth/bones feeder""}",~,~,~,~,`,`,`,`,`,`,` +,,~,`,~,`,`,"{quantum name=""goods/wood quantum""}g{Up 13}{Right 10}&","{quantumstop name=""Goods/Wood quantum"" sp_links=""{sp_link move={Right} move_back={Left}}{sp_link move=""""{Right 5}"""" move_back=""""{Left 5}""""}""}{givename name=""goods/wood dumper""}",~,~,{tallow}{permitdye},~,~,,`,,`,,`,,nocontainers,~,~,~,~,"{quantumstopfromwest name=""Clothier/Bones quantum""}{givename name=""cloth/bones dumper""}","{quantum name=""cloth/bones quantum""}",`,`,~,`,` +,,~,`,`,`,`,`,`,~,~,forbidsand,~,~,`,`,,,,`,`,~,~,~,~,~,`,`,`,`,`,`,` +,,~,`,`,`,`,`,`,~,~,forbidcrafts,~,~,,`,`,`,`,`,,~,~,~,~,~,`,`,`,`,`,`,` ,,~,`,`,`,`,`,`,`,`,`,`,`,,,`,,`,,,`,`,`,`,`,`,`,`,`,`,`,` ,,~,`,~,`,`,~,`,`,~,`,`,`,`,forbidpotash,nocontainers,"{givename name=""bar/military feeder""}",~,~,`,`,`,`,~,`,`,~,`,`,`,`,` ,,~,`,`,`,`,`,`,`,`,`,`,`,`,~,~,~,~,~,`,`,`,`,`,`,`,`,`,`,`,`,` @@ -2327,11 +2327,11 @@ query/industry_query ,,,,`,`,`,`,`,`,`,`,`,`,`,~,~,~,~,~,`,`,`,`,{bronzeweapons}{permitsteelweapons}{forbidmasterworkweapons}{forbidartifactweapons} ,,,,`,`,`,`,`,`,`,`,`,`,`,`,`,"{quantumstop name=""Metalworker quantum"" sp_links=""{sp_link move={Up} move_back={Down}}{sp_link move=""""{Up 5}"""" move_back=""""{Down 5}""""}""}{givename name=""metalworker dumper""}",`,`,`,`,`,`,{bronzearmor}{permitsteelarmor}{forbidmasterworkarmor}{forbidartifactarmor} ,,,,`,`,`,`,`,`,`,`,`,~,`,`,`,"{quantum name=""metalworker quantum""}",`,`,`,~,`,`,`,`,`,`,`,`,` -,,,,`,`,`,`,`,`,`,`,`,`,`,`,`,`,`,`,`,`,`,`,nocontainers,t{Left 6}{Up 7}&,t{Left 9}{Up 1}&,"{givename name=""other meltables""}" +,,,,`,`,`,`,`,`,`,`,`,`,`,coal,"{givename name=""coal""}",t{Up}&,nocontainers,`,`,`,`,`,nocontainers,t{Left 6}{Up 7}&,t{Left 9}{Up 1}&,"{givename name=""other meltables""}" ,,,,`,`,`,`,`,`,`,`,`,`,`,`,`,`,`,`,`,`,`,`,{metalweapons}{forbidbronzeweapons}{forbidsteelweapons}{forbidmasterworkweapons}{forbidartifactweapons} ,,,,`,`,`,`,`,`,`,`,`,~,`,`,`,~,`,`,`,~,`,`,{metalarmor}{forbidbronzearmor}{forbidsteelarmor}{forbidmasterworkarmor}{forbidartifactarmor} ,,,,,,,,,,,`,`,`,`,`,`,`,`,`,`,`,`,` -,,,,,,,,,,,coal,"{givename name=""coal""}",nocontainers,,,t{Up 5}{Right}&,`,t{Up 5}{Left}&,,,nocontainers,steelbars,"{givename name=""steel""}" +,,,,,,,,,,,sand,"{givename name=""sand bags""}",nocontainers,~,~,~,`,t{Up 5}{Left}&,,,nocontainers,steelbars,"{givename name=""steel""}" #notes label(services_help) @@ -2940,13 +2940,13 @@ Guildhall Walkthrough: ,,`,`,`,`,`,`,`,,,`,,,`,`,`,`,`,`,`,,,`,`,`,,,`,`,`,`,`,`,`,,,`,,,`,`,`,`,`,`,` ,,`,`,`,`,`,`,`,d,`,`,,,`,`,`,`,`,`,`,d,`,`,`,`,`,d,`,`,`,`,`,`,`,,,`,`,d,`,`,`,`,`,`,` ,,`,`,`,`,`,`,`,,,`,,,`,`,`,`,`,`,`,,,`,s,`,,,`,`,`,`,`,`,`,,,`,,,`,`,`,`,`,`,` -,,,,,,,d,,,,`,,,,,,,,d,,,,`,,`,,,,d,,,,,,,,`,,,,d +,,,,,,,d,,,,`,,,,,,,,d,,,,d,,d,,,,d,,,,,,,,`,,,,d ,,,,,,,`,,,,`,,,,,,,,`,,,,`,`,`,,,,`,,,,,,,,`,,,,` -,,,,,,t,`,`,`,`,`,`,`,`,`,`,`,`,`,`,`,`,,,,`,`,`,`,`,`,`,`,`,`,`,`,`,`,`,`,t +,,,,,,t,`,`,`,`,`,`,`,`,`,`,`,`,`,`,d,`,,,,`,d,`,`,`,`,`,`,`,`,`,`,`,`,`,`,t ,,,,,,s,`,`,`,`,`,`,`,`,`,`,`,`,`,s,,`,,`,,`,,s,`,`,`,`,`,`,`,`,`,`,`,`,`,s -,,,,,,t,`,`,`,`,`,`,`,`,`,`,`,`,`,`,`,`,,,,`,`,`,`,`,`,`,`,`,`,`,`,`,`,`,`,t +,,,,,,t,`,`,`,`,`,`,`,`,`,`,`,`,`,`,d,`,,,,`,d,`,`,`,`,`,`,`,`,`,`,`,`,`,`,t ,,,,,,,`,,,,`,,,,,,,,`,,,,`,`,`,,,,`,,,,,,,,`,,,,` -,,,,,,,d,,,,`,,,,,,,,d,,,,`,,`,,,,d,,,,,,,,`,,,,d +,,,,,,,d,,,,`,,,,,,,,d,,,,d,,d,,,,d,,,,,,,,`,,,,d ,,`,`,`,`,`,`,`,,,`,,,`,`,`,`,`,`,`,,,`,s,`,,,`,`,`,`,`,`,`,,,`,,,`,`,`,`,`,`,` ,,`,`,`,`,`,`,`,d,`,`,,,`,`,`,`,`,`,`,d,`,`,`,`,`,d,`,`,`,`,`,`,`,,,`,`,d,`,`,`,`,`,`,` ,,`,`,`,`,`,`,`,,,`,,,`,`,`,`,`,`,`,,,`,`,`,,,`,`,`,`,`,`,`,,,`,,,`,`,`,`,`,`,` diff --git a/data/quickfort/aliases-common.txt b/data/quickfort/aliases-common.txt index ea5c14ba9..ff9aa334b 100644 --- a/data/quickfort/aliases-common.txt +++ b/data/quickfort/aliases-common.txt @@ -158,6 +158,14 @@ bags: {furnitureprefix}de{Right}f{Right}{Up 10}&{Left}{Down}f{Down}f{Down}f{R buckets: {furnitureprefix}de{Right}f{Right}{Up 12}&^ sand: {furnitureprefix}de{Right}f{Right}{Up}&^ +forbidpots: {furnitureprefix}{Right 2}{Up 5}&^ +forbidbuckets: {furnitureprefix}{Right 2}{Up 12}&^ +forbidsand: {furnitureprefix}{Right 2}{Up}&^ + +permitpots: {forbidpots} +permitbuckets: {forbidbuckets} +permitsand: {forbidsand} + masterworkfurniture: {masterworkonly prefix={furnitureprefix}} artifactfurniture: {artifactonly prefix={furnitureprefix}} diff --git a/docs/guides/quickfort-alias-guide.rst b/docs/guides/quickfort-alias-guide.rst index 77c3be338..a7fcf1a85 100644 --- a/docs/guides/quickfort-alias-guide.rst +++ b/docs/guides/quickfort-alias-guide.rst @@ -690,18 +690,23 @@ Furniture stockpile adjustments =================== ========================= ========================= Exclusive Forbid Permit =================== ========================= ========================= -pots +pots forbidpots permitpots bags -buckets -sand +buckets forbidbuckets permitbuckets +sand forbidsand permitsand masterworkfurniture forbidmasterworkfurniture permitmasterworkfurniture artifactfurniture forbidartifactfurniture permitartifactfurniture =================== ========================= ========================= Notes: +* The ``bags`` alias excludes coffers and other boxes by forbidding all +materials other than cloth, yarn, silk, and leather. Therefore, it is difficult +to create ``forbidbags`` and ``permitbags`` without affecting other types of +furniture stored in the same stockpile. + * Because of the limitations of Dwarf Fortress, ``bags`` cannot distinguish - between empty and filled bags + between empty bags and bags filled with gypsum powder. Refuse stockpile adjustments ````````````````````````````