Shame I still can’t figure out how the hell GitHub really works. Rather than put in a deconstruct thing, you can just whack it and get your rocks back. Not as efficient as a brazier, but it only needs a digging stick (survival 1) and rocks to pull off.
Also, I haven’t tested it to make sure I didn’t screw something or other up yet - that’ll have to wait until I get home.
{
"type" : "furniture",
"id" : "f_firepit",
"name": "fire pit",
"symbol": "0",
"bgcolor": "brown",
"move_cost_mod": 0,
"required_str": -1,
"flags": ["TRANSPARENT", "CONTAINER", "FIRE_CONTAINER", "PLACE_ITEM"],
"bash": {
"str_min": 1, "str_max": 1,
"sound": "crash!",
"sound_fail": "whump!",
"items": [
{ "item": "rock", "amount": 8, "minamount": 8}
]
}
},{
"type" : "construction",
"description" : "Build Fire Pit",
"category" : "FURN",
"difficulty" : 0,
"time" : 5,
"qualities": [
[
{ "id": "DIG", "level": 1 }
]
],
"components" : [
[ [ "rock", 8 ] ]
],
"pre_special" : "check_empty",
"post_terrain" : "f_firepit"
}