[REACTION:CRATE_FLINT]
[NAME:Open crate of flints]
[BUILDING:!somebuilding!:!some custom key!]
[REAGENT:A:1:BAR:NONE:CREATURE_MAT:FLINT_CRATE:SOAP][DOES_NOT_DETERMINE_PRODUCT_AMOUNT]
[PRODUCT:100:10:!!your flints in right material tokens!!][PRODUCT_DIMENSION:!right product dimension!]
[AUTOMATIC]
For crate you would need a creature:
[CREATURE:FLINT_CRATE]
[NAME:::]
[USE_MATERIAL_TEMPLATE:SOAP:FLINT_CRATE_TEMPLATE]
[STATE_NAME_ADJ:ALL_SOLID:crate of flints]
[STATE_NAME_ADJ:LIQUID:crate of melted flints]
[STATE_NAME_ADJ:GAS:crate of boiling flints]
[PREFIX:NONE]
[MATERIAL_VALUE:!200!]determine crate value for trade
[ARENA_RESTRICTED]
[DOES_NOT_EXIST]
Now add this material template:
[MATERIAL_TEMPLATE:FLINT_CRATE_TEMPLATE]
[STATE_COLOR:ALL_SOLID:CREAM]
[STATE_NAME:ALL_SOLID:crate]
[STATE_ADJ:ALL_SOLID:crate]
[STATE_COLOR:LIQUID:CREAM]
[STATE_NAME:LIQUID:melted crate]
[STATE_ADJ:LIQUID:melted crate]
[STATE_COLOR:GAS:CREAM]
[STATE_NAME:GAS:crate]
[STATE_ADJ:GAS:crate]
[DISPLAY_COLOR:7:0:1]
[MATERIAL_VALUE:20]
[SPEC_HEAT:800]
[IGNITE_POINT:11508]
[MELTING_POINT:11078]
[BOILING_POINT:NONE]
[HEATDAM_POINT:10250]
[COLDDAM_POINT:9900]
[MAT_FIXED_TEMP:10050]
[SOLID_DENSITY:500]
[LIQUID_DENSITY:NONE]
[MOLAR_MASS:NONE]
[IMPACT_YIELD:10000]
[IMPACT_FRACTURE:10000]
[IMPACT_STRAIN_AT_YIELD:100]
[COMPRESSIVE_YIELD:10000]
[COMPRESSIVE_FRACTURE:10000]
[COMPRESSIVE_STRAIN_AT_YIELD:100]
[TENSILE_YIELD:10000]
[TENSILE_FRACTURE:10000]
[TENSILE_STRAIN_AT_YIELD:100]
[TORSION_YIELD:10000]
[TORSION_FRACTURE:10000]
[TORSION_STRAIN_AT_YIELD:100]
[SHEAR_YIELD:10000] no data
[SHEAR_FRACTURE:10000]
[SHEAR_STRAIN_AT_YIELD:100]
[BENDING_YIELD:10000]
[BENDING_FRACTURE:10000]
[BENDING_STRAIN_AT_YIELD:100]
[MAX_EDGE:0]
[ABSORPTION:100]
-REACTION_CLASS:SOAP- - this and last line determine that this is soap - so it won't be used in hospital.
[IMPLIES_ANIMAL_KILL] - you can delete this... but it won't change anything anyway.
-SOAP--SOAP_LEVEL:2-
Now add reaction for entity crate production to dwarves or humans - your choice:
[REACTION:CREATE_FLINT_CRATE]
[NAME:creating flint crates]
[PRODUCT:100:1:BAR:NONE:CREATURE_MAT:FLINT_CRATE:SOAP][PRODUCT_DIMENSION:150]
It should work without building - this is the mechanic of the game. That is if you add it to dwarves. If you add it to other civs feel free to add a building it is used in - but if oyu do it for dwarf entity - then your fortress will be able to spawn crates. But building is not required.
Don't forget to add entity eraction permissions.
Well that's it.