1
DF Modding / Re: [MODDING] 0.47.x General modding questions thread - lots of new stuff!
« on: April 27, 2020, 09:37:47 pm »Hey, sorry for this dumb question, but how would I go about using Dwarven Sugar in a reaction? I can't figure out which material token to use for that.Sugar powder does not need coal, I have some pyrotechnical experience with it. You must not just mix powders, but smelt them and mill this alloy (without milling this chunk/bar will be more like smoke grenade), so you need two reactions. Reagent choosing in your reaction is wrong: there are no powder-misc-plant, exist only POWDER_MISC item type, after it PLANT_MAT:POD_SWEET.
[REACTION:MAKE_GUNPOWDER_SUGAR_SALTPETER]
[NAME:make saltpeter/sugar gunpowder]
[BUILDING:QUERN:NONE]
[BUILDING:MILLSTONE:NONE]
[REAGENT:A:150:BAR:NONE:COAL:NO_MATGLOSS]
[REAGENT:B:1:BOULDER:NONE:INORGANIC:SALTPETER]
[REAGENT:C:10:BOX:NONE:NONE:NONE][EMPTY][BAG][PRESERVE_REAGENT]
[REAGENT:C:10:BOX:NONE:NONE:NONE][CONTAINS:D][BAG][PRESERVE_REAGENT]
[REAGENT:D:10:POWDER_MISC_PLANT:POD_SWEET:NONE:NONE]
[PRODUCT:100:1:POWDER_MISC:NONE:INORGANIC:GUNPOWDER][PRODUCT_DIMENSION:150]
[PRODUCT_TO_CONTAINER:D]
[SKILL:MILLING]
Basically I'd like it to use 10 bags of Dwarven Sugar and then put the resulting powder back in those bags, but I keep getting errorlog messages about how it doesn't recognize POWDER_MISC_PLANT
Thanks for the info!