I'm trying to change a mod over from using bars of metal and coal, (blacksmith's friend), to using a toy of the same material.
Forget seeing if it would still work as a fuel, df crashes when I try to use this reaction:
(in .txt 1)
[REACTION:MAKE_COAL_ADV]
[NAME:make coal from log]
[ADVENTURE_MODE_ENABLED]
[REAGENT:A:5:WOOD:NONE:NONE:NONE]
[PRODUCT:100:5:ITEM_TOY:ITEM_TOY_BAR:COAL:COKE][PRODUCT_DIMENSION:1]
[SKILL:SMELT]
(in .txt 2)
[ITEM_TOY:ITEM_TOY_BAR]
[NAME:bar:bars]
[SIZE:1]
[MATERIAL_SIZE:1]
[HARD_MAT]
I was just copying the template provided by the hilts in the same mod,
(in .txt 1)
[REACTION:MAKE_HILT_ADV_WOOD]
[NAME:craft wooden hilt]
[ADVENTURE_MODE_ENABLED]
[REAGENT:A:1:TOOL:ITEM_TOOL_KNIFE_CARVING:NONE:NONE][PRESERVE_REAGENT]
[REAGENT:hilt:1:WOOD:NONE:NONE:NONE]
[REAGENT:pommel stone:1:ROCK:NONE:NONE:NONE][NO_EDGE_ALLOWED]
[PRODUCT:100:1:TOY:ITEM_TOY_HILT:GET_MATERIAL_FROM_REAGENT:hilt:NONE]
[SKILL:WOODCRAFT]
(in .txt 2)
[ITEM_TOY:ITEM_TOY_HILT]
[NAME:hilt:hilts]
[HARD_MAT]
And added in the size tags in case they were needed- was my first attempt, and I'm putting this here so that I might have more to work with after work, (though I might check throughout the day, hehe).
I'm trying to do this to get around the +1 cost of every craft in adv mode, which coupled with the weight of the mats, really breaks the functionality imo. Originally I was just going to double the scavenging output, but I figured I'd try for a neater solution.
What am I doing wrong?
My thanks for your time.