Necroing to say - I was tired of copying this manually into every mod I used, so I made a bash script to do it automatically:
#bonfire.sh
#goes into any df folder, even modded ones, and adds Warlord's Bonfire Mod
#Arguments:
# Directory: TLD for a DF instance (e.g. contains the executable)
#!/bin/bash
cd $1/raw/objects
echo "
[INORGANIC:COAL_BONFIRE]
[USE_MATERIAL_TEMPLATE:STONE_TEMPLATE]
[STATE_NAME_ADJ:ALL_SOLID:bonfire][DISPLAY_COLOR:0:7:1][TILE:15]
[ITEM_SYMBOL:15]
[IGNITE_POINT:11000]
[MELTING_POINT:NONE]
[MAT_FIXED_TEMP:12000]
[SPEC_HEAT:10000]
[BOILING_POINT:NONE]
[SOLID_DENSITY:10000]
[IS_STONE]
" >> inorganic_stone_mineral.txt
echo "
[REACTION:BONFIRE_START]
[NAME:Ignite large fire]
[BUILDING:BONFIRE:CUSTOM_L]
[REAGENT:A:5:WOOD:NO_SUBTYPE:PLANT_MAT:NO_SUBTYPE:WOOD][PRESERVE_REAGENT]
[PRODUCT:100:1:BOULDER:NO_SUBTYPE:INORGANIC:COAL_BONFIRE]
[FUEL]
[SKILL:SMELT]
[REACTION:FIREWOOD_START]
[NAME:Ignite small fire]
[BUILDING:BONFIRE:CUSTOM_S]
[REAGENT:A:1:WOOD:NO_SUBTYPE:PLANT_MAT:NO_SUBTYPE:WOOD][PRESERVE_REAGENT]
[PRODUCT:100:1:WOOD:NO_SUBTYPE:PLANT_MAT:FIREWOOD:WOOD]
[SKILL:SMELT]
" >> reaction_other.txt
echo "
[BUILDING_WORKSHOP:BONFIRE]
[NAME:Bonfire]
[NAME_COLOR:6:0:1]
[DIM:1:1]
[WORK_LOCATION:1:1]
[BLOCK:1:O]
[TILE:0:1:240]
[COLOR:0:1:6:0:0]
[TILE:1:1:35]
[COLOR:1:1:6:0:0]
[TILE:2:1:19]
[COLOR:2:1:6:0:0]
[TILE:3:1:30]
[COLOR:3:1:6:0:0]
[BUILD_ITEM:1:NONE:NONE:NONE:NONE][BUILDMAT][WORTHLESS_STONE_ONLY][CAN_USE_ARTIFACT]
" >> building_custom.txt
echo "
[PLANT:FIREWOOD]
[NAME:firewood][NAME_PLURAL:firewood][ADJ:firewood]
[USE_MATERIAL_TEMPLATE:STRUCTURAL:STRUCTURAL_PLANT_TEMPLATE]
[BASIC_MAT:LOCAL_PLANT_MAT:STRUCTURAL]
[USE_MATERIAL_TEMPLATE:WOOD:WOOD_TEMPLATE]
[STATE_NAME:ALL_SOLID:firewood]
[STATE_ADJ:ALL_SOLID:firewood]
[PREFIX:NONE]
[MAT_FIXED_TEMP:12000]
[TREE:LOCAL_PLANT_MAT:WOOD][TREE_TILE:5]
" >> plant_standard.txt
sed -i '/\[CIV_CONTROLLABLE\]/a \[PERMITTED_REACTION:BONFIRE_START\]\n \[PERMITTED_REACTION:FIREWOOD_START\]\n \[PERMITTED_BUILDING:BONFIRE\]' entity_default.txt
Usage: ./bonfire.sh <DF Install Directory> #obviously changes if the script is named something else.
It should work with any mod, unless there's a mod that totally removes one of those default raw files; it inserts entity information after the [CIV_CONTROLLABLE] tag so changing the playable race won't throw it off. Linux only, but hopefully it helps someone.