Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0005029Dwarf FortressDwarf Mode -- Jobs, Itemspublic2012-01-22 18:472012-03-15 01:17
Quietust 
Toady One 
normalminorhave not tried
resolvedfixed 
0.31.25 
0.34.06 
0005029: Tool forging ignores MATERIAL_SIZE
When forging tools, only a single bar is used, regardless of the tool's MATERIAL_SIZE. Even when making them from Adamantine, only a single wafer is requested.

This is distinct from the general problem of 0000130, though it is located in the same area of code - the non-wafer-metal code's case for "make tool" simply sets the size to 1 (as when making blocks, crafts, coins, and most other finished goods), while the wafer-metal code simply lacks a case altogether and falls into the default case of "1 wafer".
Given that all of the tools present in the default raws have a MATERIAL_SIZE of 1 (aside from cauldrons, which dwarves can't make), this isn't much of an issue, but it might cause confusion for modders.
No tags attached.
related to 0000130resolved Toady One Forge jobs always use only a single bar 
Issue History
2012-01-22 18:47QuietustNew Issue
2012-01-22 19:16FootkerchiefRelationship addedrelated to 0000130
2012-01-22 19:18QuietustNote Added: 0019410
2012-01-23 11:29nutzyNote Added: 0019413
2012-01-23 11:32nutzyNote Edited: 0019413bug_revision_view_page.php?bugnote_id=0019413#r7283
2012-01-23 18:39nutzyIssue Monitored: nutzy
2012-03-15 01:17Toady OneStatusnew => resolved
2012-03-15 01:17Toady OneFixed in Version => Next Version
2012-03-15 01:17Toady OneResolutionopen => fixed
2012-03-15 01:17Toady OneAssigned To => Toady One

Notes
(0019410)
Quietust   
2012-01-22 19:18   
Not strictly related, but in the same area of code: adamantine catapult parts and ballista parts should probably require more than a single wafer...
(0019413)
nutzy   
2012-01-23 11:29   
(edited on: 2012-01-23 11:32)
This is indeed a problem. You can mod a tool to be any size and it will still melt down to nothing.

Other tool tokens are a bit odd too. You can set any tool to [METAL_MAT] instead of [HARD_MAT] and wooden versions of it are still available on embark. It will not, however, appear on the wood or stone crafting menus.

Also, [METAL_WEAPON_MAT] has exactly the same effect as [METAL_MAT] in fortress mode. This is the same whether the tool has weapon attribute tokens or not.

I think all carving knives and the like I've found in night creatures lairs in adventure mod have been weapon metals, though, so this seems to be followed in some circumstances.

Since the tool use tag isn't used as far as I know, I would guess that tools are incomplete pending some other development. I have no idea if Toady has commented on any of this.

Edit: I think this is related to 0004979.