I'm changing the thread/wafer ratio for gold/silver to make it give equal parts, so you can pull gold into thread from bars and melt it back into ingots without loss. ...er... maybe... if I can get this right... looks like [THREAD_METAL:GOLD:100] grants a 100-length thread.
No, [PRODUCT:100:1:THREAD:etc] gives the reaction a 100% chance to produce 1 thread without defining the number of units.
[REACTION:SPIN_GOLD_THREAD]
[NAME:spin Gold thread from bars]
[BUILDING:WORKSHOP:NONE]
[REAGENT:A:150:BAR:NO_SUBTYPE:METAL:GOLD]
[PRODUCT:15000:1:THREAD:NO_SUBTYPE:METAL:GOLD]
[FUEL]
[SKILL:STRAND_EXTRACTION]
15000 is unnecessary; it gives your reaction a 15000% chance to produce something. Through testing I've also found, in this case anyway, that defining a product dimension is unnecessary. PRODUCT:100:1 gives you a gold thread that can be woven into cloth.
Re-Edit: the word for craftshop is WORKSHOP. also, it displays all strand extraction tasks as "Extract Metal Strands" regardless of metal. Adding custom hot-keys doesn't seem to work.
Kitchen, Kiln, and Smelter are the only vanilla buildings that accept custom reactions. The extract metal strands your seeing will only take adamantine.
Now, here's the results of my experimentation:
[NAME:spin Gold thread from bars]
[BUILDING:SMELTER:NONE]
[REAGENT:A:150:BAR:NO_SUBTYPE:METAL:GOLD]
[PRODUCT:100:1:THREAD:NO_SUBTYPE:METAL:GOLD][PRODUCT_DIMENSION:15000]
[SKILL:STRAND_EXTRACTION]
This is the reaction I use. I've left the product_dimension on because it *may* affect things at the cloth->clothes stage (but the whole thing is buggy anyway).
Using that reaction, or that reaction without product dimension, I get "gold strands", which I can then make gold cloth out of at the loom. Then the process breaks down. The clothier's shop won't use metal cloth, and the forge doesn't recognize that gold can be used as a metal cloth. Changing the raws for gold by adding [ITEMS_SOFT] allows the metalsmiths forge to make gold clothes, but uses whole bars. Changing the raws for gold by adding [WAFERS] allows gold clothes to be made from gold cloth, but requires 30000 units of gold cloth (15000 units of thread makes 10000 units of cloth, which is why I suggested leaving product dimension in the reaction. I got an error that I need more cloth, but after making more, the metalsmith made the clothes
without the additional cloth), and renames all gold bars as gold wafers.
One possible way to get around it:
Make a new metal raw called "THREAD_GOLD" or something, copied directly from the raw entry for gold, but give it the wafers tag. In the gold -> thread reaction, change the product line to
[PRODUCT:100:3:THREAD:NO_SUBTYPE:METAL:THREAD_GOLD][PRODUCT_DIMENSION:15000]
. What this should do is give you a new metal with no ore to make it in bar form (not sure if dwarven traders can magic up some thread_gold bars though). The reaction should produce 3 thread of 15000 units each, which can then be processed into 3 cloth of 10000 units each, and then woven into clothes. If you don't change the names of thread_gold (
[STATE_NAME:SOLID:gold]
[STATE_NAME:SOLID_POWDER:gold dust]
[STATE_ADJ:ALL_SOLID:gold]
[STATE_NAME_ADJ:LIQUID:molten gold]
[STATE_NAME_ADJ:GAS:boiling gold]
), you probably won't be able to tell if someone likes gold or thread gold, and they won't be interchangable for preferences. I also imagine someday a noble is going to mandate the production of thread_gold goblets, so do this at your own risk