InvestigationsIn the current version ( 0.34.11 ) the first entry in each cloth stockpiles subcategory is broken.Whenever you create a stockpile containing one of these items or permit e.g. "Cloth (Silk)", thus including the first in list, the stockpile starts to work incorrectly.Resulting in the following behavior
(under linux):
silk and
brown recluse spider silk thread/cloth allows
all yarn / silk is separated correctlyplants and
pig tail fiber thread/cloth allows
all silk, yarn, metal / plants are separated correctlyyarn and
sheep wool yarn/cloth allows
all silk, yarn is separated correctlymetal and
adamantine strands/cloth allows
all silk, yarn, metal
One minor option to further separate stockpiles, is to use the "Additional Options" setting.Plants, silk and metal count as "Allow non-plant/animal"
(non-pa)Yarn as "Allow plant/animal"
(pa)Resulting in the following behavior
(under linux):
non-pa silk and
brown recluse spider silk thread/cloth allows
only silk, thus works as intendednon-pa plants and
pig tail fiber thread/cloth allows
all silk,metal / plants are separated correctlypa yarn and
sheep wool yarn/cloth allows
only yarn, thus working as intended (same under windows)non-pa metal and
adamantine strands/cloth allows
all silk,metalBy default the only workaround is to use stockpile links and take from links only option, while bins tend to mess things up.e.g.
- designate a pig tail "allow non-p/a" stockpile and let it give to your "allow non-p/a" silk stockpile(s). (do not use an "all silk" or "reculse spider" stockpile)
- designate a rope reed "allow non-p/a" stockpile.
- designate one to four sheep/llama/alpaca/troll "allow p/a" stockpile(s). (Hair thread counts as sheep thread)
- designate a adamantine strands stockpile set it to take from links and from strand extractors workstop only
Raw workaround for running fortsA possible solution is to create a placeholder item, replacing the bugged columns.
Every thread/cloth stockpile subcategory has a new first placeholder entry
Pig Iron Strands/Cloth.
Make sure every stockpile has disabled the
Pig Iron Strands/Cloth options and all cloth stockpiles work as intended.
Do this by adding the
following entrys to the pig iron definition inside "
savegame/raw/objects/inorganic_metals.txt" file
[INORGANIC:PIG_IRON]
[USE_MATERIAL_TEMPLATE:METAL_TEMPLATE]
[STOCKPILE_THREAD_METAL]
[THREAD_PLANT]
[YARN]
[SILK]
[STATE_NAME_ADJ:ALL_SOLID:pig iron]
[STATE_NAME_ADJ:LIQUID:molten pig iron]
[STATE_NAME_ADJ:GAS:boiling pig iron]
Raw workaround for new worldsThis creates a non-existant placeholder item, replacing the bugged columns.
Every thread/cloth stockpile subcategory has a new first placeholder entry
Bugged Stockpile Yarn/Cloth.
Make sure every stockpile has disabled the
Bugged Stockpile Yarn/Cloth options and all cloth stockpiles work as intended.
Do this by adding the
following entrys right after [OBJECTS:INORGANIC] inside "
savegame/raw/objects/inorganic_metals.txt" file
inorganic_metal
[OBJECT:INORGANIC]
[INORGANIC:CLOTHSTOCKPILE_FIX]
[USE_MATERIAL_TEMPLATE:SPONGE_TEMPLATE]
[STATE_NAME_ADJ:ALL_SOLID:bugged stockpile]
[STOCKPILE_THREAD_METAL]
[THREAD_PLANT]
[YARN]
[SILK]
...or create a new file inside your "
DF_GAMEFOLDER/raw/objects/ folder and name it
inorganic_clothstockpile_fix.txt containing:
inorganic_clothstockpile_fix
[OBJECT:INORGANIC]
[INORGANIC:CLOTHSTOCKPILE_FIX]
[USE_MATERIAL_TEMPLATE:SPONGE_TEMPLATE]
[STATE_NAME_ADJ:ALL_SOLID:bugged stockpile]
[STOCKPILE_THREAD_METAL]
[THREAD_PLANT]
[YARN]
[SILK]
A new files advantage is that tools like lazy noob pack or other tileset installing tools won't overwrite them, because they have no vanilla df name.
Known issuesYou may get a dwarf that likes
bugged stockpiles.
Additional notes:When using bins in one stockpile make sure all other taking from it are using bins too.
bin-stockpile A -> give -> bin-stockpile B --- do
non bin-stockpile A -> give -> bin-stockpile B --- do
bin-stockpile A -> give -> non bin-stockpile B --- do not