Say, I've been out of the modding game for a little while, so I'm a little unused to some of these new tokens, having never used them, but read some about them...
About a month ago, I was talking about how to make glazes for pottery better balanced by both adding more glazes in, but also by first reducing a single ore unit into a powder that could be used in multiple glazing reactions, so that instead of one tin unit making one pot's worth of glaze, one tin unit made 5 or 10 units of glaze powder, and each glaze powder made one pot's worth of glaze.
Now, I'm actually getting around to trying doing this, and Quietust was kind enough to basically lay out how he would do it, but I have a question on his method:
[REACTION:MAKE_GLAZE]
[NAME:make glaze powder]
[BUILDING:QUERN:CUSTOM_G]
[BUILDING:MILLSTONE:CUSTOM_G]
[REAGENT:glaze:1:ANY_RAW_MATERIAL:NONE:NONE:NONE] ANY_RAW_MATERIAL means powder/bars/boulders/globs
[HAS_MATERIAL_REACTION_PRODUCT:GLAZE_MAT]
[REAGENT:bag:1:BOX:NONE:NONE:NONE][EMPTY][BAG][PRESERVE_REAGENT]
[PRODUCT:100:5:POWDER_MISC:NONE:GET_MATERIAL_FROM_REAGENT:glaze:GLAZE_MAT][PRODUCT_DIMENSION:150][PRODUCT_TO_CONTAINER:bag]
[SKILL:MILLING]
For each glazing reaction:
[REAGENT:glaze:1:ANY_RAW_MATERIAL:NONE:NONE:NONE]
[HAS_MATERIAL_REACTION_PRODUCT:GLAZE_MAT]
->
[REAGENT:glaze:150:POWDER_MISC:NONE:NONE:NONE][REACTION_CLASS:GLAZE]
[REAGENT:glaze container:1:BOX:NONE:NONE:NONE][BAG][CONTAINS:glaze][PRESERVE_REAGENT][DOES_NOT_DETERMINE_PRODUCT_AMOUNT]
...
[IMPROVEMENT:100:whatever:GLAZED:GET_MATERIAL_FROM_REAGENT:glaze:GLAZE_MAT]
->
[IMPROVEMENT:100:whatever:GLAZED:GET_MATERIAL_FROM_REAGENT:glaze:NONE]
Finally, edit inorganic_other.txt and add [REACTION_CLASS:GLAZE] to each glaze material, then edit entity_default.txt and permit the MAKE_GLAZE reaction.
Seems to work rather nicely - one chunk of cassiterite makes 5 units of tin glaze powder, 1 bar of ash makes 5 units of ash glaze powder, and you only use 1 unit per glazing job.
Now, if I do it this way, wouldn't it be possible to still use an ore as a glaze instead of a powder, and worse, would it be possible to use a powder to make more powder?
Do I need to use a ANY_POWDER_MATERIAL token, and does such a token exist?
Or should I just create two sets of reaction tokens - "Makes glaze powder" and "Is a glaze powder" to separate out the steps of the process?