Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0000801Dwarf FortressDwarf Mode -- Buildings, Generalpublic2010-04-08 09:152014-01-27 08:10
uprightpath 
Toady One 
normalmajoralways
acknowledgedopen 
0.31.01 
 
0000801: Forges don't care if bars have a small PRODUCT_DIMENSION
On a reaction product [PRODUCT_DIMENSION:X] seems to be used to set how 'large' the item is, in terms of 'volume' in the case of bars and powders, 'strand count' in threads, and thread count in cloth. However, forges do not seem to take into account the [PRODUCT_DIMENSION:X] of bars. A bar of X = 10 works as well as a bar of X = 150.

Also, in a reaction if you have an item with [PRODUCT_DIMENSION:150] and a reaction like...
[REAGENT:A:30:BAR:NONE:METAL:NONE]
... The product will have 5 chances to be made automatically. For each [PRODUCT_DIMENSION:X] with a [REAGENT:A:Y:BAR:NONE:METAL:NONE] the product(s) will have their chance to be created X % Y times.
Create a custom reaction with:
[PRODUCT:100:1:BAR:NONE:METAL:IRON][PRODUCT_DIMENSION:50]

and another with

[REAGENT:A:10:BAR:NONE:METAL:IRON]
[PRODUCT:100:3:TOY:NONE:GET_MATERIAL_FROM_REAGENT:A:NONE]

A bar made with the first custom reaction can be used at a forge with no problem, even though it's only 1/3 the size of normal bars that come from a smelter, using the METAL_ORE value of it.

If a bar made with the first reaction is then used with the second, the result is that there are 15 TOYs of various subtypes in the shop, instead of just 1.
custom buildings, forge, Intentional/Expected?, reactions, reagents
related to 0000130resolved Toady One Forge jobs always use only a single bar 
related to 0006420acknowledged Footkerchief Strange mood requests don't take item dimension into account for decoration materials 
Issue History
2010-04-08 09:15uprightpathNew Issue
2010-04-08 09:34uprightpathTag Attached: forge
2010-04-08 09:34uprightpathTag Attached: reagents
2010-04-08 09:34uprightpathTag Attached: custom buildings
2010-04-08 09:34uprightpathTag Attached: reactions
2010-04-09 03:40Khym ChanurIssue Monitored: Khym Chanur
2011-04-01 13:05FootkerchiefSummaryPRODUCT_DIMENSION issues => Forges don't care if bars have a small PRODUCT_DIMENSION
2011-04-01 13:05FootkerchiefTag Attached: Intentional/Expected?
2011-07-09 02:51DwarfuRelationship addedrelated to 0000130
2011-07-09 08:44QuietustNote Added: 0018176
2012-02-16 16:59Toady OneNote Added: 0019874
2012-02-16 16:59Toady OneAssigned To => Toady One
2012-02-16 16:59Toady OneStatusnew => acknowledged
2014-01-27 08:10FootkerchiefRelationship addedrelated to 0006420

Notes
(0018176)
Quietust   
2011-07-09 08:44   
If you make a bunch of bars with [PRODUCT_DIMENSION:1] and then try to smith something, does the forge require multiple bars? If it does, then this is effectively a duplicate of 0000130 (albeit one with a proper explanation as to what's going on).
(0019874)
Toady One   
2012-02-16 16:59   
I've fixed the vanilla case, but I haven't looked at modded reactions yet.