Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003898Dwarf FortressReactionspublic2011-01-18 09:102014-07-31 10:57
ReporterAlluvian_Est-Endrati 
Assigned ToToady One 
PrioritynormalSeveritymajorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformWindowsOSWindows 7OS Version
Product Version0.31.18 
Target VersionFixed in Version0.40.06 
Summary0003898: Entire Bone Stacks are used in Reactions instead of a single Bone
DescriptionFor several pre-scripted reactions, as well as custom reactions (such as for a custom building) there are problems when using bone as a material. In specific the problem is that an entire stack of bone will be utilized instead of a single bone.

Crafting a bone bow, at the bowyer, is an example of one of the reactions that seems to work properly at the moment. However for all other custom reactions I have tried, an entire stack of bone is used up as the Reagent in production.

The item is still produced out of the reaction, but the entire stack is depleted in its construction.
Steps To ReproduceSlaughter/Butcher some creature to get some bone.
Use the following reaction information as a custom reaction.

[REACTION:MAKE_BONE_BLOCKS]
[NAME:Make bone Blocks]
[BUILDING:BONE_QUARRY:NONE]
[REAGENT:A:1:BONE:NONE:NONE:NONE][ANY_BONE_MATERIAL][USE_BODY_COMPONENT]
[PRODUCT:100:1:BLOCKS:NONE:GET_MATERIAL_FROM_REAGENT:A:NONE]
[SKILL:BONECARVE]

Attempted to even use something like [PRODUCT_DIMENSION:1] to reduce the amount of material utilized, to no avail.

A bone block would be produced correctly with the following reaction. However if you had a stack of 12 cow bones, it would make a single block just as if you had access to only a single cow bone but 'waste' 11 bones in the process.
Additional InformationThis problem seems endemic regardless of what is being made in the PRODUCT line. Attempts with other product types (chair, armor, door, etc.) result in the same stack use. For Reagent purposes I would guess that a stack of bone looks just like a single bone for material purposes.

Tried adding the following to the bone material template:
[REACTION_CLASS:BONE]
[MATERIAL_REACTION_PRODUCT:BONE_MAT:LOCAL_CREATURE_MAT:BONE]

And then changing the reagent above to something like this:
[REAGENT:A:1:BONE:NONE:NONE:NONE][REACTION_CLASS:BONE]
[HAS_MATERIAL_REACTION_PRODUCT:BONE_MAT][USE_BODY_COMPONENT]

Did not fix the issue of utilizing a whole stack of the substance.
Tagsbody parts, bones, dwarf fortress mode, reactions, workshops
Attached Files

- Relationships
related to 0002011resolvedToady One Decorating with bone/horn uses whole stack 
has duplicate 0006727resolvedlethosor Crafting certain items from bone uses entire stack rather than individual bones. 
child of 0000808resolvedToady One Processing Raw Turtles only makes one shell per stack, and other stack size issues 

-  Notes
(0014904)
Quietust (reporter)
2011-01-18 19:21

The "BONE:NONE:NONE:NONE" in the reagent is technically incorrect, since BONE is not an item token (see http://df.magmawiki.com/index.php/Item_token [^] for a list) - you should either be using NONE (which is probably what it was using anyways) or possibly CORPSE/CORPSEPIECE (which might not work as expected).
(0025168)
lethosor (manager)
2014-07-08 15:52

Still a problem in 0.40.01, according to 0006727
(0027123)
Liens (reporter)
2014-07-21 05:51

Confirming still an issue in 0.40.03

- Issue History
Date Modified Username Field Change
2011-01-18 09:10 Alluvian_Est-Endrati New Issue
2011-01-18 09:10 Alluvian_Est-Endrati Tag Attached: bone
2011-01-18 09:11 Alluvian_Est-Endrati Tag Attached: body parts
2011-01-18 09:11 Alluvian_Est-Endrati Tag Attached: bones
2011-01-18 09:11 Alluvian_Est-Endrati Tag Attached: reactions
2011-01-18 09:12 Alluvian_Est-Endrati Tag Attached: dwarf fortress mode
2011-01-18 09:12 Alluvian_Est-Endrati Tag Attached: stock
2011-01-18 09:12 Alluvian_Est-Endrati Tag Attached: stockpiles
2011-01-18 09:12 Alluvian_Est-Endrati Tag Attached: workshops
2011-01-18 12:34 Logical2u Relationship added child of 0002011
2011-01-18 19:21 Quietust Note Added: 0014904
2012-02-26 11:47 Buglist Issue Monitored: Buglist
2012-02-27 06:39 Footkerchief Summary Entire Bone Statcks are used in Reactions instead of a single Bone => Entire Bone Stacks are used in Reactions instead of a single Bone
2013-12-07 05:14 Thundercraft Issue Monitored: Thundercraft
2014-07-08 15:49 lethosor Relationship added has duplicate 0006727
2014-07-08 15:52 lethosor Note Added: 0025168
2014-07-21 05:51 Liens Note Added: 0027123
2014-07-21 05:57 lethosor Tag Detached: stock
2014-07-21 05:57 lethosor Tag Detached: stockpiles
2014-07-21 05:58 lethosor Tag Detached: bone
2014-07-27 21:34 int_ua Issue Monitored: int_ua
2014-07-30 12:12 Toady One Relationship added child of 0000808
2014-07-30 12:12 Toady One Relationship replaced related to 0002011
2014-07-31 10:57 Toady One Status new => resolved
2014-07-31 10:57 Toady One Fixed in Version => Next Version
2014-07-31 10:57 Toady One Resolution open => fixed
2014-07-31 10:57 Toady One Assigned To => Toady One
2016-07-22 04:18 park66665 Issue Monitored: park66665
2017-08-02 09:33 park66665 Issue End Monitor: park66665


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker