[
  {
    "type": "terrain",
    "id": "t_laminated_door_glass_c",
    "name": "closed laminated glass door",
    "description": "A closed laminated glass door, composed of layers of glass and plastic held together by an interlayer.",
    "symbol": "+",
    "color": "light_cyan",
    "move_cost": 0,
    "looks_like": "t_reinforced_door_glass_c",
    "roof": "t_flat_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "rotates_to": "INDOORFLOOR",
    "flags": [ "TRANSPARENT", "DOOR", "NOITEM", "MINEABLE", "BLOCK_WIND", "SUPPORTS_ROOF" ],
    "open": "t_laminated_door_glass_o",
    "bash": {
      "str_min": 100,
      "str_max": 180,
      "sound": "glass breaking!",
      "sound_fail": "whack!",
      "sound_vol": 20,
      "sound_fail_vol": 14,
      "ter_set": "t_mdoor_frame",
      "items": [ { "item": "glass_shard", "count": [ 42, 84 ] }, { "item": "scrap", "count": [ 3, 5 ] } ]
    },
    "shoot": { "reduce_damage": [ 2, 12 ], "reduce_damage_laser": [ 0, 7 ], "destroy_damage": [ 40, 120 ], "no_laser_destroy": true }
  },
  {
    "type": "terrain",
    "id": "t_laminated_door_glass_o",
    "name": "open laminated glass door",
    "description": "A laminated glass door, composed of layers of glass and plastic held together by an interlayer.  It's open.",
    "symbol": "'",
    "color": "light_cyan",
    "move_cost": 2,
    "looks_like": "t_reinforced_door_glass_o",
    "roof": "t_flat_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [ "TRANSPARENT", "FLAT", "ROAD", "MINEABLE", "SUPPORTS_ROOF" ],
    "close": "t_laminated_door_glass_c",
    "bash": {
      "str_min": 100,
      "str_max": 180,
      "sound": "glass breaking!",
      "sound_fail": "whack!",
      "sound_vol": 20,
      "sound_fail_vol": 14,
      "ter_set": "t_mdoor_frame",
      "items": [ { "item": "glass_shard", "count": [ 42, 84 ] }, { "item": "scrap", "count": [ 3, 5 ] } ]
    }
  },
  {
    "type": "terrain",
    "id": "t_ballistic_door_glass_c",
    "name": "closed ballistic glass door",
    "description": "A ballistic glass door, consisting of layers of laminated glass.",
    "symbol": "+",
    "color": "light_cyan",
    "move_cost": 0,
    "looks_like": "t_reinforced_door_glass_c",
    "roof": "t_flat_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "rotates_to": "INDOORFLOOR",
    "flags": [ "TRANSPARENT", "DOOR", "NOITEM", "MINEABLE", "BLOCK_WIND", "SUPPORTS_ROOF" ],
    "open": "t_ballistic_door_glass_o",
    "bash": {
      "str_min": 200,
      "str_max": 400,
      "sound": "glass breaking!",
      "sound_fail": "whack!",
      "sound_vol": 20,
      "sound_fail_vol": 14,
      "ter_set": "t_mdoor_frame",
      "items": [ { "item": "glass_shard", "count": [ 42, 84 ] }, { "item": "scrap", "count": [ 3, 5 ] } ]
    },
    "shoot": {
      "reduce_damage": [ 30, 60 ],
      "reduce_damage_laser": [ 0, 10 ],
      "destroy_damage": [ 80, 200 ],
      "no_laser_destroy": true
    }
  },
  {
    "type": "terrain",
    "id": "t_ballistic_door_glass_o",
    "name": "open ballistic glass door",
    "description": "A ballistic glass door, consisting of layers of laminated glass.  It's open.",
    "symbol": "'",
    "color": "light_cyan",
    "move_cost": 2,
    "looks_like": "t_reinforced_door_glass_o",
    "roof": "t_flat_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [ "TRANSPARENT", "FLAT", "ROAD", "MINEABLE", "SUPPORTS_ROOF" ],
    "close": "t_ballistic_door_glass_c",
    "bash": {
      "str_min": 200,
      "str_max": 400,
      "sound": "glass breaking!",
      "sound_fail": "whack!",
      "sound_vol": 20,
      "sound_fail_vol": 14,
      "ter_set": "t_mdoor_frame",
      "items": [ { "item": "glass_shard", "count": [ 42, 84 ] }, { "item": "scrap", "count": [ 3, 5 ] } ]
    }
  },
  {
    "type": "terrain",
    "id": "t_reinforced_door_glass_c",
    "name": "closed reinforced glass door",
    "description": "A closed glass door reinforced with woven steel wires in a stylish, but practical pattern.",
    "symbol": "+",
    "looks_like": "t_door_glass_c",
    "color": "light_cyan",
    "move_cost": 0,
    "roof": "t_flat_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "rotates_to": "INDOORFLOOR",
    "flags": [ "TRANSPARENT", "DOOR", "NOITEM", "MINEABLE", "BLOCK_WIND", "SUPPORTS_ROOF" ],
    "open": "t_reinforced_door_glass_o",
    "bash": {
      "str_min": 40,
      "str_max": 210,
      "sound": "glass breaking!",
      "sound_fail": "whack!",
      "sound_vol": 20,
      "sound_fail_vol": 14,
      "ter_set": "t_mdoor_frame",
      "items": [
        { "item": "glass_shard", "count": [ 42, 84 ] },
        { "item": "mc_wire", "prob": 20 },
        { "item": "scrap", "count": [ 3, 5 ] }
      ]
    },
    "shoot": {
      "reduce_damage": [ 15, 30 ],
      "reduce_damage_laser": [ 0, 10 ],
      "destroy_damage": [ 60, 160 ],
      "no_laser_destroy": true
    }
  },
  {
    "type": "terrain",
    "id": "t_reinforced_door_glass_lab_c",
    "name": "closed reinforced glass door",
    "description": "A closed glass door reinforced with woven steel wires in a stylish, but practical pattern.",
    "symbol": "+",
    "looks_like": "t_reinforced_door_glass_c",
    "color": "light_cyan",
    "move_cost": 0,
    "roof": "t_flat_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "rotates_to": "INDOORFLOOR",
    "flags": [ "TRANSPARENT", "DOOR", "NOITEM", "MINEABLE", "SUPPORTS_ROOF" ],
    "open": "t_reinforced_door_glass_lab_o",
    "bash": {
      "str_min": 40,
      "str_max": 210,
      "sound": "glass breaking!",
      "sound_fail": "whack!",
      "sound_vol": 20,
      "sound_fail_vol": 14,
      "ter_set": "t_thconc_floor",
      "items": [
        { "item": "glass_shard", "count": [ 42, 84 ] },
        { "item": "mc_wire", "prob": 20 },
        { "item": "scrap", "count": [ 3, 5 ] }
      ]
    },
    "shoot": {
      "reduce_damage": [ 15, 30 ],
      "reduce_damage_laser": [ 0, 10 ],
      "destroy_damage": [ 60, 160 ],
      "no_laser_destroy": true
    }
  },
  {
    "type": "terrain",
    "id": "t_reinforced_door_glass_o",
    "name": "open reinforced glass door",
    "description": "A glass door reinforced with woven steel wires in a stylish, but practical pattern.  It's open.",
    "symbol": "'",
    "looks_like": "t_door_glass_o",
    "color": "light_cyan",
    "move_cost": 2,
    "roof": "t_flat_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [ "TRANSPARENT", "FLAT", "ROAD", "MINEABLE", "SUPPORTS_ROOF" ],
    "close": "t_reinforced_door_glass_c",
    "bash": {
      "str_min": 40,
      "str_max": 210,
      "sound": "glass breaking!",
      "sound_fail": "whack!",
      "sound_vol": 20,
      "sound_fail_vol": 14,
      "ter_set": "t_mdoor_frame",
      "items": [
        { "item": "glass_shard", "count": [ 42, 84 ] },
        { "item": "mc_wire", "prob": 20 },
        { "item": "scrap", "count": [ 3, 5 ] }
      ]
    }
  },
  {
    "type": "terrain",
    "id": "t_reinforced_door_glass_lab_o",
    "name": "open reinforced glass door",
    "description": "A glass door reinforced with woven steel wires in a stylish, but practical pattern.  It's open.",
    "symbol": "'",
    "looks_like": "t_reinforced_door_glass_o",
    "color": "light_cyan",
    "move_cost": 2,
    "roof": "t_flat_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [ "TRANSPARENT", "FLAT", "ROAD", "MINEABLE", "SUPPORTS_ROOF" ],
    "close": "t_reinforced_door_glass_lab_c",
    "bash": {
      "str_min": 40,
      "str_max": 210,
      "sound": "glass breaking!",
      "sound_fail": "whack!",
      "sound_vol": 20,
      "sound_fail_vol": 14,
      "ter_set": "t_thconc_floor",
      "items": [
        { "item": "glass_shard", "count": [ 42, 84 ] },
        { "item": "mc_wire", "prob": 20 },
        { "item": "scrap", "count": [ 3, 5 ] }
      ]
    }
  },
  {
    "type": "terrain",
    "id": "t_door_c",
    "name": "closed wood door",
    "description": "A standard wooden door that doesn't look very resilient.  It'd probably burn easily, too.",
    "symbol": "+",
    "color": "brown",
    "move_cost": 0,
    "coverage": 95,
    "roof": "t_wood_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "rotates_to": "INDOORFLOOR",
    "flags": [ "FLAMMABLE_ASH", "DOOR", "NOITEM", "BARRICADABLE_DOOR", "BLOCK_WIND", "SUPPORTS_ROOF" ],
    "open": "t_door_o",
    "deconstruct": {
      "ter_set": "t_door_frame",
      "items": [
        { "item": "2x4", "count": 4 },
        { "item": "wood_panel", "count": 1 },
        { "item": "nail", "charges": [ 6, 12 ] },
        { "item": "hinge", "count": 2 }
      ]
    },
    "bash": {
      "str_min": 8,
      "str_max": 80,
      "str_min_blocked": 15,
      "str_max_blocked": 100,
      "sound": "smash!",
      "sound_fail": "whump!",
      "ter_set": "t_door_b",
      "items": [
        { "item": "2x4", "prob": 25 },
        { "item": "wood_panel", "prob": 10 },
        { "item": "splinter", "count": [ 1, 2 ] },
        { "item": "nail", "charges": [ 0, 2 ] }
      ],
      "hit_field": [ "fd_dust", 2 ],
      "destroyed_field": [ "fd_splinters", 1 ]
    },
    "prying": { "result": "t_door_o", "message": "You notice the door is unlocked, so you simply open it.", "prying_data": {  } },
    "shoot": { "reduce_damage": [ 15, 30 ], "reduce_damage_laser": [ 5, 20 ], "destroy_damage": [ 20, 90 ] }
  },
  {
    "type": "terrain",
    "id": "t_door_elocked",
    "name": "closed wood door with an electronic lock",
    "description": "A standard wooden door that doesn't look very resilient.  It'd probably burn easily, too.  This one has a deadbolt electronic lock, so it's likely locked.  You could pry it open, guessing the code is out of the question, or unlock the deadbolt from the inside.",
    "symbol": "+",
    "looks_like": "t_door_c",
    "color": "brown",
    "move_cost": 0,
    "coverage": 95,
    "roof": "t_wood_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [
      "FLAMMABLE_ASH",
      "NOITEM",
      "OPENCLOSE_INSIDE",
      "REDUCE_SCENT",
      "BARRICADABLE_DOOR",
      "LOCKED",
      "BLOCK_WIND",
      "SUPPORTS_ROOF"
    ],
    "examine_action": "locked_object",
    "open": "t_door_o",
    "bash": {
      "str_min": 8,
      "str_max": 80,
      "str_min_blocked": 15,
      "str_max_blocked": 100,
      "sound": "smash!",
      "sound_fail": "whump!",
      "ter_set": "t_door_b",
      "items": [
        { "item": "2x4", "prob": 25 },
        { "item": "wood_panel", "prob": 10 },
        { "item": "splinter", "count": [ 1, 2 ] },
        { "item": "nail", "charges": [ 0, 2 ] }
      ],
      "hit_field": [ "fd_dust", 2 ],
      "destroyed_field": [ "fd_splinters", 1 ]
    },
    "prying": {
      "result": "t_door_o",
      "message": "You pry open the door.",
      "prying_data": { "difficulty": 6, "prying_level": 2, "noisy": true, "failure": "You pry, but can't pry open the door." }
    },
    "shoot": { "reduce_damage": [ 15, 30 ], "reduce_damage_laser": [ 5, 20 ], "destroy_damage": [ 20, 90 ] }
  },
  {
    "type": "terrain",
    "id": "t_door_elocked_peep",
    "name": "closed wood door",
    "description": "A regular door made of ordinary wood, except this one has a peephole.  If you examined it more closely, you'd be able to peek through the hole.  This one has a deadbolt numpad, so it's likely locked.  You could pry it open, guessing the code is out of the question, or unlock the deadbolt from the inside.",
    "symbol": "+",
    "looks_like": "t_door_c_peep",
    "color": "brown",
    "move_cost": 0,
    "coverage": 95,
    "roof": "t_wood_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [
      "FLAMMABLE_ASH",
      "NOITEM",
      "OPENCLOSE_INSIDE",
      "REDUCE_SCENT",
      "BARRICADABLE_DOOR",
      "LOCKED",
      "BLOCK_WIND",
      "SUPPORTS_ROOF"
    ],
    "open": "t_door_o_peep",
    "examine_action": "door_peephole",
    "bash": {
      "str_min": 8,
      "str_max": 80,
      "str_min_blocked": 15,
      "str_max_blocked": 100,
      "sound": "smash!",
      "sound_fail": "whump!",
      "ter_set": "t_door_b_peep",
      "items": [
        { "item": "peephole", "prob": 75 },
        { "item": "2x4", "prob": 25 },
        { "item": "splinter", "count": [ 1, 2 ] },
        { "item": "nail", "charges": [ 0, 2 ] }
      ],
      "hit_field": [ "fd_dust", 2 ],
      "destroyed_field": [ "fd_splinters", 1 ]
    },
    "prying": {
      "result": "t_door_o_peep",
      "message": "You pry open the door.",
      "prying_data": { "difficulty": 6, "prying_level": 2, "noisy": true, "failure": "You pry, but can't pry open the door." }
    },
    "shoot": { "reduce_damage": [ 15, 30 ], "reduce_damage_laser": [ 5, 20 ], "destroy_damage": [ 20, 90 ] }
  },
  {
    "type": "terrain",
    "id": "t_door_elocked_alarm",
    "name": "closed wood door",
    "description": "A standard wooden door that doesn't look very resilient.  It'd probably burn easily, too.  This one has an electronic keypad, so it's likely locked.  You could pry it open, guessing the code is out of the question.",
    "symbol": "+",
    "looks_like": "t_door_locked",
    "color": "brown",
    "move_cost": 0,
    "coverage": 95,
    "roof": "t_wood_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [ "FLAMMABLE_ASH", "ALARMED", "NOITEM", "REDUCE_SCENT", "BARRICADABLE_DOOR", "LOCKED", "BLOCK_WIND", "SUPPORTS_ROOF" ],
    "examine_action": "locked_object",
    "bash": {
      "str_min": 8,
      "str_max": 80,
      "str_min_blocked": 15,
      "str_max_blocked": 100,
      "sound": "smash!",
      "sound_fail": "whump!",
      "ter_set": "t_door_b",
      "items": [
        { "item": "2x4", "prob": 25 },
        { "item": "wood_panel", "prob": 10 },
        { "item": "splinter", "count": [ 1, 2 ] },
        { "item": "nail", "charges": [ 0, 2 ] }
      ],
      "hit_field": [ "fd_dust", 2 ],
      "destroyed_field": [ "fd_splinters", 1 ]
    },
    "prying": {
      "result": "t_door_o",
      "message": "You pry open the door.",
      "prying_data": { "difficulty": 6, "prying_level": 2, "noisy": true, "alarm": true, "failure": "You pry, but can't pry open the door." }
    },
    "shoot": { "reduce_damage": [ 15, 30 ], "reduce_damage_laser": [ 5, 20 ], "destroy_damage": [ 20, 90 ] }
  },
  {
    "type": "terrain",
    "id": "t_door_lab_c",
    "name": "closed wood door",
    "description": "A standard wooden door that doesn't look very resilient.  It'd probably burn easily, too.",
    "symbol": "+",
    "looks_like": "t_door_c",
    "color": "brown",
    "move_cost": 0,
    "coverage": 95,
    "roof": "t_wood_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "rotates_to": "INDOORFLOOR",
    "flags": [ "FLAMMABLE_ASH", "DOOR", "NOITEM", "BARRICADABLE_DOOR", "SUPPORTS_ROOF" ],
    "open": "t_door_lab_o",
    "deconstruct": {
      "ter_set": "t_door_lab_frame",
      "items": [
        { "item": "2x4", "count": 4 },
        { "item": "wood_panel", "count": 1 },
        { "item": "nail", "charges": [ 6, 12 ] },
        { "item": "hinge", "count": 2 }
      ]
    },
    "bash": {
      "str_min": 8,
      "str_max": 80,
      "str_min_blocked": 15,
      "str_max_blocked": 100,
      "sound": "smash!",
      "sound_fail": "whump!",
      "ter_set": "t_door_lab_b",
      "items": [
        { "item": "2x4", "prob": 25 },
        { "item": "wood_panel", "prob": 10 },
        { "item": "splinter", "count": [ 1, 2 ] },
        { "item": "nail", "charges": [ 0, 2 ] }
      ],
      "hit_field": [ "fd_dust", 2 ],
      "destroyed_field": [ "fd_splinters", 1 ]
    },
    "shoot": { "reduce_damage": [ 15, 30 ], "reduce_damage_laser": [ 5, 20 ], "destroy_damage": [ 20, 90 ] }
  },
  {
    "type": "terrain",
    "id": "t_door_white_c",
    "name": "closed wood door",
    "description": "A standard wooden door that doesn't look very resilient.  It'd probably burn easily, too.",
    "symbol": "+",
    "looks_like": "t_door_c",
    "color": "brown",
    "move_cost": 0,
    "coverage": 95,
    "roof": "t_wood_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "rotates_to": "INDOORFLOOR",
    "flags": [ "FLAMMABLE_ASH", "DOOR", "NOITEM", "BARRICADABLE_DOOR", "SUPPORTS_ROOF" ],
    "open": "t_door_white_o",
    "deconstruct": {
      "ter_set": "t_door_white_frame",
      "items": [
        { "item": "2x4", "count": 4 },
        { "item": "wood_panel", "count": 1 },
        { "item": "nail", "charges": [ 6, 12 ] },
        { "item": "hinge", "count": 2 }
      ]
    },
    "bash": {
      "str_min": 8,
      "str_max": 80,
      "str_min_blocked": 15,
      "str_max_blocked": 100,
      "sound": "smash!",
      "sound_fail": "whump!",
      "ter_set": "t_door_white_b",
      "items": [
        { "item": "2x4", "prob": 25 },
        { "item": "wood_panel", "prob": 10 },
        { "item": "splinter", "count": [ 1, 2 ] },
        { "item": "nail", "charges": [ 0, 2 ] }
      ],
      "hit_field": [ "fd_dust", 2 ],
      "destroyed_field": [ "fd_splinters", 1 ]
    },
    "shoot": { "reduce_damage": [ 15, 30 ], "reduce_damage_laser": [ 5, 20 ], "destroy_damage": [ 20, 90 ] }
  },
  {
    "type": "terrain",
    "id": "t_door_gray_c",
    "name": "closed wood door",
    "description": "A standard wooden door that doesn't look very resilient.  It'd probably burn easily, too.",
    "symbol": "+",
    "looks_like": "t_door_c",
    "color": "brown",
    "move_cost": 0,
    "coverage": 95,
    "roof": "t_wood_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "rotates_to": "INDOORFLOOR",
    "flags": [ "FLAMMABLE_ASH", "DOOR", "NOITEM", "BARRICADABLE_DOOR", "SUPPORTS_ROOF" ],
    "open": "t_door_gray_o",
    "deconstruct": {
      "ter_set": "t_door_gray_frame",
      "items": [
        { "item": "2x4", "count": 4 },
        { "item": "wood_panel", "count": 1 },
        { "item": "nail", "charges": [ 6, 12 ] },
        { "item": "hinge", "count": 2 }
      ]
    },
    "bash": {
      "str_min": 8,
      "str_max": 80,
      "str_min_blocked": 15,
      "str_max_blocked": 100,
      "sound": "smash!",
      "sound_fail": "whump!",
      "ter_set": "t_door_gray_b",
      "items": [
        { "item": "2x4", "prob": 25 },
        { "item": "wood_panel", "prob": 10 },
        { "item": "splinter", "count": [ 1, 2 ] },
        { "item": "nail", "charges": [ 0, 2 ] }
      ],
      "hit_field": [ "fd_dust", 2 ],
      "destroyed_field": [ "fd_splinters", 1 ]
    },
    "shoot": { "reduce_damage": [ 15, 30 ], "reduce_damage_laser": [ 5, 20 ], "destroy_damage": [ 20, 90 ] }
  },
  {
    "type": "terrain",
    "id": "t_door_red_c",
    "name": "closed wood door",
    "description": "A standard wooden door that doesn't look very resilient.  It'd probably burn easily, too.",
    "symbol": "+",
    "looks_like": "t_door_c",
    "color": "brown",
    "move_cost": 0,
    "coverage": 95,
    "roof": "t_wood_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "rotates_to": "INDOORFLOOR",
    "flags": [ "FLAMMABLE_ASH", "DOOR", "NOITEM", "BARRICADABLE_DOOR", "SUPPORTS_ROOF" ],
    "open": "t_door_red_o",
    "deconstruct": {
      "ter_set": "t_door_red_frame",
      "items": [
        { "item": "2x4", "count": 4 },
        { "item": "wood_panel", "count": 1 },
        { "item": "nail", "charges": [ 6, 12 ] },
        { "item": "hinge", "count": 2 }
      ]
    },
    "bash": {
      "str_min": 8,
      "str_max": 80,
      "str_min_blocked": 15,
      "str_max_blocked": 100,
      "sound": "smash!",
      "sound_fail": "whump!",
      "ter_set": "t_door_red_b",
      "items": [
        { "item": "2x4", "prob": 25 },
        { "item": "wood_panel", "prob": 10 },
        { "item": "splinter", "count": [ 1, 2 ] },
        { "item": "nail", "charges": [ 0, 2 ] }
      ],
      "hit_field": [ "fd_dust", 2 ],
      "destroyed_field": [ "fd_splinters", 1 ]
    },
    "shoot": { "reduce_damage": [ 15, 30 ], "reduce_damage_laser": [ 5, 20 ], "destroy_damage": [ 20, 90 ] }
  },
  {
    "type": "terrain",
    "id": "t_door_green_c",
    "name": "closed wood door",
    "description": "A standard wooden door that doesn't look very resilient.  It'd probably burn easily, too.",
    "symbol": "+",
    "looks_like": "t_door_c",
    "color": "brown",
    "move_cost": 0,
    "coverage": 95,
    "roof": "t_wood_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "rotates_to": "INDOORFLOOR",
    "flags": [ "FLAMMABLE_ASH", "DOOR", "NOITEM", "BARRICADABLE_DOOR", "SUPPORTS_ROOF" ],
    "open": "t_door_green_o",
    "deconstruct": {
      "ter_set": "t_door_green_frame",
      "items": [
        { "item": "2x4", "count": 4 },
        { "item": "wood_panel", "count": 1 },
        { "item": "nail", "charges": [ 6, 12 ] },
        { "item": "hinge", "count": 2 }
      ]
    },
    "bash": {
      "str_min": 8,
      "str_max": 80,
      "str_min_blocked": 15,
      "str_max_blocked": 100,
      "sound": "smash!",
      "sound_fail": "whump!",
      "ter_set": "t_door_green_b",
      "items": [
        { "item": "2x4", "prob": 25 },
        { "item": "wood_panel", "prob": 10 },
        { "item": "splinter", "count": [ 1, 2 ] },
        { "item": "nail", "charges": [ 0, 2 ] }
      ],
      "hit_field": [ "fd_dust", 2 ],
      "destroyed_field": [ "fd_splinters", 1 ]
    },
    "shoot": { "reduce_damage": [ 15, 30 ], "reduce_damage_laser": [ 5, 20 ], "destroy_damage": [ 20, 90 ] }
  },
  {
    "type": "terrain",
    "id": "t_door_white_o",
    "name": "open wood door",
    "description": "A standard wooden door that doesn't look very resilient.  It'd probably burn easily, too.  This one is wide open.",
    "symbol": "'",
    "looks_like": "t_door_o",
    "color": "brown",
    "move_cost": 2,
    "roof": "t_wood_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [ "FLAMMABLE_ASH", "TRANSPARENT", "FLAT", "BARRICADABLE_DOOR", "ROAD", "SUPPORTS_ROOF" ],
    "deconstruct": {
      "ter_set": "t_door_white_frame",
      "items": [
        { "item": "2x4", "count": 4 },
        { "item": "wood_panel", "count": 1 },
        { "item": "nail", "charges": [ 6, 12 ] },
        { "item": "hinge", "count": 2 }
      ]
    },
    "close": "t_door_white_c",
    "bash": {
      "str_min": 5,
      "str_max": 80,
      "str_min_blocked": 7,
      "str_max_blocked": 100,
      "sound": "crash!",
      "sound_fail": "whump!",
      "ter_set": "t_door_white_frame",
      "items": [
        { "item": "2x4", "count": [ 1, 3 ] },
        { "item": "nail", "charges": [ 1, 6 ] },
        { "item": "splinter", "count": [ 2, 6 ] },
        { "item": "hinge", "count": [ 1, 2 ] }
      ],
      "hit_field": [ "fd_dust", 2 ],
      "destroyed_field": [ "fd_splinters", 1 ]
    }
  },
  {
    "type": "terrain",
    "id": "t_door_gray_o",
    "name": "open wood door",
    "description": "A standard wooden door that doesn't look very resilient.  It'd probably burn easily, too.  This one is wide open.",
    "symbol": "'",
    "looks_like": "t_door_o",
    "color": "brown",
    "move_cost": 2,
    "roof": "t_wood_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [ "FLAMMABLE_ASH", "TRANSPARENT", "FLAT", "BARRICADABLE_DOOR", "ROAD", "SUPPORTS_ROOF" ],
    "deconstruct": {
      "ter_set": "t_door_gray_frame",
      "items": [
        { "item": "2x4", "count": 4 },
        { "item": "wood_panel", "count": 1 },
        { "item": "nail", "charges": [ 6, 12 ] },
        { "item": "hinge", "count": 2 }
      ]
    },
    "close": "t_door_gray_c",
    "bash": {
      "str_min": 5,
      "str_max": 80,
      "str_min_blocked": 7,
      "str_max_blocked": 100,
      "sound": "crash!",
      "sound_fail": "whump!",
      "ter_set": "t_door_gray_frame",
      "items": [
        { "item": "2x4", "count": [ 1, 3 ] },
        { "item": "nail", "charges": [ 1, 6 ] },
        { "item": "splinter", "count": [ 2, 6 ] },
        { "item": "hinge", "count": [ 1, 2 ] }
      ],
      "hit_field": [ "fd_dust", 2 ],
      "destroyed_field": [ "fd_splinters", 1 ]
    }
  },
  {
    "type": "terrain",
    "id": "t_door_red_o",
    "name": "open wood door",
    "description": "A standard wooden door that doesn't look very resilient.  It'd probably burn easily, too.  This one is wide open.",
    "symbol": "'",
    "looks_like": "t_door_o",
    "color": "brown",
    "move_cost": 2,
    "roof": "t_wood_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [ "FLAMMABLE_ASH", "TRANSPARENT", "FLAT", "BARRICADABLE_DOOR", "ROAD", "SUPPORTS_ROOF" ],
    "deconstruct": {
      "ter_set": "t_door_red_frame",
      "items": [
        { "item": "2x4", "count": 4 },
        { "item": "wood_panel", "count": 1 },
        { "item": "nail", "charges": [ 6, 12 ] },
        { "item": "hinge", "count": 2 }
      ]
    },
    "close": "t_door_red_c",
    "bash": {
      "str_min": 5,
      "str_max": 80,
      "str_min_blocked": 7,
      "str_max_blocked": 100,
      "sound": "crash!",
      "sound_fail": "whump!",
      "ter_set": "t_door_red_frame",
      "items": [
        { "item": "2x4", "count": [ 1, 3 ] },
        { "item": "nail", "charges": [ 1, 6 ] },
        { "item": "splinter", "count": [ 2, 6 ] },
        { "item": "hinge", "count": [ 1, 2 ] }
      ],
      "hit_field": [ "fd_dust", 2 ],
      "destroyed_field": [ "fd_splinters", 1 ]
    }
  },
  {
    "type": "terrain",
    "id": "t_door_green_o",
    "name": "open wood door",
    "description": "A standard wooden door that doesn't look very resilient.  It'd probably burn easily, too.  This one is wide open.",
    "symbol": "'",
    "looks_like": "t_door_o",
    "color": "brown",
    "move_cost": 2,
    "roof": "t_wood_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [ "FLAMMABLE_ASH", "TRANSPARENT", "FLAT", "BARRICADABLE_DOOR", "ROAD", "SUPPORTS_ROOF" ],
    "deconstruct": {
      "ter_set": "t_door_green_frame",
      "items": [
        { "item": "2x4", "count": 4 },
        { "item": "wood_panel", "count": 1 },
        { "item": "nail", "charges": [ 6, 12 ] },
        { "item": "hinge", "count": 2 }
      ]
    },
    "close": "t_door_green_c",
    "bash": {
      "str_min": 5,
      "str_max": 80,
      "str_min_blocked": 7,
      "str_max_blocked": 100,
      "sound": "crash!",
      "sound_fail": "whump!",
      "ter_set": "t_door_green_frame",
      "items": [
        { "item": "2x4", "count": [ 1, 3 ] },
        { "item": "nail", "charges": [ 1, 6 ] },
        { "item": "splinter", "count": [ 2, 6 ] },
        { "item": "hinge", "count": [ 1, 2 ] }
      ],
      "hit_field": [ "fd_dust", 2 ],
      "destroyed_field": [ "fd_splinters", 1 ]
    }
  },
  {
    "type": "terrain",
    "id": "t_door_white_b",
    "name": "damaged wood door",
    "description": "A trashed wooden door, with a large hole in the middle that you can see right through.  The doorknob is so messed up that it can't be opened anymore.  It could be fixed up with a few planks.",
    "symbol": "&",
    "looks_like": "t_door_b",
    "color": "brown",
    "move_cost": 0,
    "coverage": 60,
    "roof": "t_wood_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [ "TRANSPARENT", "FLAMMABLE_ASH", "NOITEM", "REDUCE_SCENT", "BARRICADABLE_DOOR_DAMAGED", "PERMEABLE", "SUPPORTS_ROOF" ],
    "bash": {
      "str_min": 5,
      "str_max": 70,
      "str_min_blocked": 7,
      "str_max_blocked": 90,
      "sound": "crash!",
      "sound_fail": "whump!",
      "ter_set": "t_door_white_frame",
      "items": [
        { "item": "2x4", "count": [ 1, 2 ] },
        { "item": "nail", "charges": [ 1, 4 ] },
        { "item": "splinter", "count": [ 1, 4 ] },
        { "item": "hinge", "count": [ 1, 2 ] }
      ],
      "hit_field": [ "fd_dust", 2 ],
      "destroyed_field": [ "fd_splinters", 1 ]
    },
    "shoot": { "chance_to_hit": 20, "reduce_damage": [ 10, 25 ], "reduce_damage_laser": [ 5, 20 ], "destroy_damage": [ 20, 70 ] }
  },
  {
    "type": "terrain",
    "id": "t_door_gray_b",
    "name": "damaged wood door",
    "description": "A trashed wooden door, with a large hole in the middle that you can see right through.  The doorknob is so messed up that it can't be opened anymore.  It could be fixed up with a few planks.",
    "symbol": "&",
    "looks_like": "t_door_b",
    "color": "brown",
    "move_cost": 0,
    "coverage": 60,
    "roof": "t_wood_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [ "TRANSPARENT", "FLAMMABLE_ASH", "NOITEM", "REDUCE_SCENT", "BARRICADABLE_DOOR_DAMAGED", "PERMEABLE", "SUPPORTS_ROOF" ],
    "bash": {
      "str_min": 5,
      "str_max": 70,
      "str_min_blocked": 7,
      "str_max_blocked": 90,
      "sound": "crash!",
      "sound_fail": "whump!",
      "ter_set": "t_door_gray_frame",
      "items": [
        { "item": "2x4", "count": [ 1, 2 ] },
        { "item": "nail", "charges": [ 1, 4 ] },
        { "item": "splinter", "count": [ 1, 4 ] },
        { "item": "hinge", "count": [ 1, 2 ] }
      ],
      "hit_field": [ "fd_dust", 2 ],
      "destroyed_field": [ "fd_splinters", 1 ]
    },
    "shoot": { "chance_to_hit": 20, "reduce_damage": [ 10, 25 ], "reduce_damage_laser": [ 5, 20 ], "destroy_damage": [ 20, 70 ] }
  },
  {
    "type": "terrain",
    "id": "t_door_red_b",
    "name": "damaged wood door",
    "description": "A trashed wooden door, with a large hole in the middle that you can see right through.  The doorknob is so messed up that it can't be opened anymore.  It could be fixed up with a few planks.",
    "symbol": "&",
    "looks_like": "t_door_b",
    "color": "brown",
    "move_cost": 0,
    "coverage": 60,
    "roof": "t_wood_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [ "TRANSPARENT", "FLAMMABLE_ASH", "NOITEM", "REDUCE_SCENT", "BARRICADABLE_DOOR_DAMAGED", "PERMEABLE", "SUPPORTS_ROOF" ],
    "bash": {
      "str_min": 5,
      "str_max": 70,
      "str_min_blocked": 7,
      "str_max_blocked": 90,
      "sound": "crash!",
      "sound_fail": "whump!",
      "ter_set": "t_door_red_frame",
      "items": [
        { "item": "2x4", "count": [ 1, 2 ] },
        { "item": "nail", "charges": [ 1, 4 ] },
        { "item": "splinter", "count": [ 1, 4 ] },
        { "item": "hinge", "count": [ 1, 2 ] }
      ],
      "hit_field": [ "fd_dust", 2 ],
      "destroyed_field": [ "fd_splinters", 1 ]
    },
    "shoot": { "chance_to_hit": 20, "reduce_damage": [ 10, 25 ], "reduce_damage_laser": [ 5, 20 ], "destroy_damage": [ 20, 70 ] }
  },
  {
    "type": "terrain",
    "id": "t_door_green_b",
    "name": "damaged wood door",
    "description": "A trashed wooden door, with a large hole in the middle that you can see right through.  The doorknob is so messed up that it can't be opened anymore.  It could be fixed up with a few planks.",
    "symbol": "&",
    "looks_like": "t_door_b",
    "color": "brown",
    "move_cost": 0,
    "coverage": 60,
    "roof": "t_wood_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [ "TRANSPARENT", "FLAMMABLE_ASH", "NOITEM", "REDUCE_SCENT", "BARRICADABLE_DOOR_DAMAGED", "PERMEABLE", "SUPPORTS_ROOF" ],
    "bash": {
      "str_min": 5,
      "str_max": 70,
      "str_min_blocked": 7,
      "str_max_blocked": 90,
      "sound": "crash!",
      "sound_fail": "whump!",
      "ter_set": "t_door_green_frame",
      "items": [
        { "item": "2x4", "count": [ 1, 2 ] },
        { "item": "nail", "charges": [ 1, 4 ] },
        { "item": "splinter", "count": [ 1, 4 ] },
        { "item": "hinge", "count": [ 1, 2 ] }
      ],
      "hit_field": [ "fd_dust", 2 ],
      "destroyed_field": [ "fd_splinters", 1 ]
    },
    "shoot": { "chance_to_hit": 20, "reduce_damage": [ 10, 25 ], "reduce_damage_laser": [ 5, 20 ], "destroy_damage": [ 20, 70 ] }
  },
  {
    "type": "terrain",
    "id": "t_door_white_frame",
    "name": "empty door frame",
    "description": "An empty door frame made from planks and nails.  A variety of doors could be constructed here.",
    "symbol": ".",
    "looks_like": "t_door_frame",
    "color": "brown",
    "move_cost": 2,
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [ "FLAMMABLE_ASH", "TRANSPARENT", "FLAT", "ROAD", "SUPPORTS_ROOF" ],
    "bash": {
      "str_min": 6,
      "str_max": 25,
      "sound": "crunch!",
      "sound_fail": "whump!",
      "ter_set": "t_null",
      "items": [
        { "item": "2x4", "count": [ 3, 6 ] },
        { "item": "splinter", "count": [ 3, 6 ] },
        { "item": "nail", "charges": [ 6, 12 ] }
      ],
      "hit_field": [ "fd_dust", 2 ],
      "destroyed_field": [ "fd_splinters", 1 ]
    },
    "deconstruct": { "ter_set": "t_linoleum_white", "items": [ { "item": "2x4", "count": 12 }, { "item": "nail", "charges": 24 } ] }
  },
  {
    "type": "terrain",
    "id": "t_door_gray_frame",
    "name": "empty door frame",
    "description": "An empty door frame made from planks and nails.  A variety of doors could be constructed here.",
    "symbol": ".",
    "looks_like": "t_door_frame",
    "color": "brown",
    "move_cost": 2,
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [ "FLAMMABLE_ASH", "TRANSPARENT", "FLAT", "ROAD", "SUPPORTS_ROOF" ],
    "bash": {
      "str_min": 6,
      "str_max": 25,
      "sound": "crunch!",
      "sound_fail": "whump!",
      "ter_set": "t_null",
      "items": [
        { "item": "2x4", "count": [ 3, 6 ] },
        { "item": "splinter", "count": [ 3, 6 ] },
        { "item": "nail", "charges": [ 6, 12 ] }
      ],
      "hit_field": [ "fd_dust", 2 ],
      "destroyed_field": [ "fd_splinters", 1 ]
    },
    "deconstruct": { "ter_set": "t_linoleum_gray", "items": [ { "item": "2x4", "count": 12 }, { "item": "nail", "charges": 24 } ] }
  },
  {
    "type": "terrain",
    "id": "t_door_red_frame",
    "name": "empty door frame",
    "description": "An empty door frame made from planks and nails.  A variety of doors could be constructed here.",
    "symbol": ".",
    "looks_like": "t_door_frame",
    "color": "brown",
    "move_cost": 2,
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [ "FLAMMABLE_ASH", "TRANSPARENT", "FLAT", "ROAD", "SUPPORTS_ROOF" ],
    "bash": {
      "str_min": 6,
      "str_max": 25,
      "sound": "crunch!",
      "sound_fail": "whump!",
      "ter_set": "t_null",
      "items": [
        { "item": "2x4", "count": [ 3, 6 ] },
        { "item": "splinter", "count": [ 3, 6 ] },
        { "item": "nail", "charges": [ 6, 12 ] }
      ],
      "hit_field": [ "fd_dust", 2 ],
      "destroyed_field": [ "fd_splinters", 1 ]
    },
    "deconstruct": { "ter_set": "t_carpet_red", "items": [ { "item": "2x4", "count": 12 }, { "item": "nail", "charges": 24 } ] }
  },
  {
    "type": "terrain",
    "id": "t_door_green_frame",
    "name": "empty door frame",
    "description": "An empty door frame made from planks and nails.  A variety of doors could be constructed here.",
    "symbol": ".",
    "looks_like": "t_door_frame",
    "color": "brown",
    "move_cost": 2,
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [ "FLAMMABLE_ASH", "TRANSPARENT", "FLAT", "ROAD", "SUPPORTS_ROOF" ],
    "bash": {
      "str_min": 6,
      "str_max": 25,
      "sound": "crunch!",
      "sound_fail": "whump!",
      "ter_set": "t_null",
      "items": [
        { "item": "2x4", "count": [ 3, 6 ] },
        { "item": "splinter", "count": [ 3, 6 ] },
        { "item": "nail", "charges": [ 6, 12 ] }
      ],
      "hit_field": [ "fd_dust", 2 ],
      "destroyed_field": [ "fd_splinters", 1 ]
    },
    "deconstruct": { "ter_set": "t_carpet_green", "items": [ { "item": "2x4", "count": 12 }, { "item": "nail", "charges": 24 } ] }
  },
  {
    "type": "terrain",
    "id": "t_door_glass_red_c",
    "name": "closed glass door",
    "description": "A sliding glass door, clear enough that an animal or a particularly dumb person could slam right into it.  This one is closed, so don't hurt yourself.",
    "symbol": "+",
    "looks_like": "t_door_glass_c",
    "color": "light_cyan",
    "move_cost": 0,
    "roof": "t_flat_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "rotates_to": "INDOORFLOOR",
    "flags": [ "TRANSPARENT", "DOOR", "NOITEM", "SUPPORTS_ROOF" ],
    "open": "t_door_glass_red_o",
    "deconstruct": { "ter_set": "t_door_red_frame", "items": [ { "item": "glass_sheet", "count": 1 } ] },
    "bash": {
      "str_min": 6,
      "str_max": 20,
      "sound": "glass breaking!",
      "sound_fail": "whack!",
      "sound_vol": 16,
      "sound_fail_vol": 10,
      "ter_set": "t_door_red_frame",
      "items": [ { "item": "glass_shard", "count": [ 42, 84 ] } ]
    },
    "shoot": { "reduce_damage": [ 1, 8 ], "reduce_damage_laser": [ 0, 5 ], "destroy_damage": [ 4, 16 ], "no_laser_destroy": true }
  },
  {
    "type": "terrain",
    "id": "t_door_glass_green_c",
    "name": "closed glass door",
    "description": "A sliding glass door, clear enough that an animal or a particularly dumb person could slam right into it.  This one is closed, so don't hurt yourself.",
    "symbol": "+",
    "looks_like": "t_door_glass_c",
    "color": "light_cyan",
    "move_cost": 0,
    "roof": "t_flat_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "rotates_to": "INDOORFLOOR",
    "flags": [ "TRANSPARENT", "DOOR", "NOITEM", "SUPPORTS_ROOF" ],
    "open": "t_door_glass_green_o",
    "deconstruct": { "ter_set": "t_door_green_frame", "items": [ { "item": "glass_sheet", "count": 1 } ] },
    "bash": {
      "str_min": 6,
      "str_max": 20,
      "sound": "glass breaking!",
      "sound_fail": "whack!",
      "sound_vol": 16,
      "sound_fail_vol": 10,
      "ter_set": "t_door_green_frame",
      "items": [ { "item": "glass_shard", "count": [ 42, 84 ] } ]
    },
    "shoot": { "reduce_damage": [ 1, 8 ], "reduce_damage_laser": [ 0, 5 ], "destroy_damage": [ 4, 16 ], "no_laser_destroy": true }
  },
  {
    "type": "terrain",
    "id": "t_door_glass_white_c",
    "name": "closed glass door",
    "description": "A sliding glass door, clear enough that an animal or a particularly dumb person could slam right into it.  This one is closed, so don't hurt yourself.",
    "symbol": "+",
    "looks_like": "t_door_glass_c",
    "color": "light_cyan",
    "move_cost": 0,
    "roof": "t_flat_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "rotates_to": "INDOORFLOOR",
    "flags": [ "TRANSPARENT", "DOOR", "NOITEM", "SUPPORTS_ROOF" ],
    "open": "t_door_glass_white_o",
    "deconstruct": { "ter_set": "t_door_white_frame", "items": [ { "item": "glass_sheet", "count": 1 } ] },
    "bash": {
      "str_min": 6,
      "str_max": 20,
      "sound": "glass breaking!",
      "sound_fail": "whack!",
      "sound_vol": 16,
      "sound_fail_vol": 10,
      "ter_set": "t_door_white_frame",
      "items": [ { "item": "glass_shard", "count": [ 42, 84 ] } ]
    },
    "shoot": { "reduce_damage": [ 1, 8 ], "reduce_damage_laser": [ 0, 5 ], "destroy_damage": [ 4, 16 ], "no_laser_destroy": true }
  },
  {
    "type": "terrain",
    "id": "t_door_glass_gray_c",
    "name": "closed glass door",
    "description": "A sliding glass door, clear enough that an animal or a particularly dumb person could slam right into it.  This one is closed, so don't hurt yourself.",
    "symbol": "+",
    "looks_like": "t_door_glass_c",
    "color": "light_cyan",
    "move_cost": 0,
    "roof": "t_flat_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "rotates_to": "INDOORFLOOR",
    "flags": [ "TRANSPARENT", "DOOR", "NOITEM", "SUPPORTS_ROOF" ],
    "open": "t_door_glass_gray_o",
    "deconstruct": { "ter_set": "t_door_gray_frame", "items": [ { "item": "glass_sheet", "count": 1 } ] },
    "bash": {
      "str_min": 6,
      "str_max": 20,
      "sound": "glass breaking!",
      "sound_fail": "whack!",
      "sound_vol": 16,
      "sound_fail_vol": 10,
      "ter_set": "t_door_gray_frame",
      "items": [ { "item": "glass_shard", "count": [ 42, 84 ] } ]
    },
    "shoot": { "reduce_damage": [ 1, 8 ], "reduce_damage_laser": [ 0, 5 ], "destroy_damage": [ 4, 16 ], "no_laser_destroy": true }
  },
  {
    "type": "terrain",
    "id": "t_door_glass_red_o",
    "name": "open glass door",
    "description": "A sliding glass door that has been left open for all manner of things to travel through.",
    "symbol": "'",
    "looks_like": "t_door_glass_o",
    "color": "light_cyan",
    "move_cost": 2,
    "roof": "t_flat_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [ "TRANSPARENT", "FLAT", "ROAD", "SUPPORTS_ROOF" ],
    "close": "t_door_glass_red_c",
    "deconstruct": { "ter_set": "t_door_red_frame", "items": [ { "item": "glass_sheet", "count": 1 } ] },
    "bash": {
      "str_min": 4,
      "str_max": 20,
      "sound": "glass breaking!",
      "sound_fail": "whack!",
      "sound_vol": 16,
      "sound_fail_vol": 10,
      "ter_set": "t_door_red_frame",
      "items": [ { "item": "glass_shard", "count": [ 42, 84 ] } ]
    },
    "shoot": { "reduce_damage": [ 1, 8 ], "reduce_damage_laser": [ 0, 5 ], "destroy_damage": [ 4, 16 ], "no_laser_destroy": true }
  },
  {
    "type": "terrain",
    "id": "t_door_glass_green_o",
    "name": "open glass door",
    "description": "A sliding glass door that has been left open for all manner of things to travel through.",
    "symbol": "'",
    "looks_like": "t_door_glass_o",
    "color": "light_cyan",
    "move_cost": 2,
    "roof": "t_flat_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [ "TRANSPARENT", "FLAT", "ROAD", "SUPPORTS_ROOF" ],
    "close": "t_door_glass_green_c",
    "deconstruct": { "ter_set": "t_door_green_frame", "items": [ { "item": "glass_sheet", "count": 1 } ] },
    "bash": {
      "str_min": 4,
      "str_max": 20,
      "sound": "glass breaking!",
      "sound_fail": "whack!",
      "sound_vol": 16,
      "sound_fail_vol": 10,
      "ter_set": "t_door_green_frame",
      "items": [ { "item": "glass_shard", "count": [ 42, 84 ] } ]
    }
  },
  {
    "type": "terrain",
    "id": "t_door_glass_white_o",
    "name": "open glass door",
    "description": "A sliding glass door that has been left open for all manner of things to travel through.",
    "symbol": "'",
    "looks_like": "t_door_glass_o",
    "color": "light_cyan",
    "move_cost": 2,
    "roof": "t_flat_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [ "TRANSPARENT", "FLAT", "ROAD", "SUPPORTS_ROOF" ],
    "close": "t_door_glass_white_c",
    "deconstruct": { "ter_set": "t_door_white_frame", "items": [ { "item": "glass_sheet", "count": 1 } ] },
    "bash": {
      "str_min": 4,
      "str_max": 20,
      "sound": "glass breaking!",
      "sound_fail": "whack!",
      "sound_vol": 16,
      "sound_fail_vol": 10,
      "ter_set": "t_door_white_frame",
      "items": [ { "item": "glass_shard", "count": [ 42, 84 ] } ]
    }
  },
  {
    "type": "terrain",
    "id": "t_door_glass_gray_o",
    "name": "open glass door",
    "description": "A sliding glass door that has been left open for all manner of things to travel through.",
    "symbol": "'",
    "looks_like": "t_door_glass_o",
    "color": "light_cyan",
    "move_cost": 2,
    "roof": "t_flat_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [ "TRANSPARENT", "FLAT", "ROAD", "SUPPORTS_ROOF" ],
    "close": "t_door_glass_gray_c",
    "deconstruct": { "ter_set": "t_door_gray_frame", "items": [ { "item": "glass_sheet", "count": 1 } ] },
    "bash": {
      "str_min": 4,
      "str_max": 20,
      "sound": "glass breaking!",
      "sound_fail": "whack!",
      "sound_vol": 16,
      "sound_fail_vol": 10,
      "ter_set": "t_door_gray_frame",
      "items": [ { "item": "glass_shard", "count": [ 42, 84 ] } ]
    }
  },
  {
    "type": "terrain",
    "id": "t_door_lighthouse_lens_c",
    "name": "closed lighthouse lens hinged section",
    "description": "An intricate arrangement of glass, designed to focus light from within to be visible over long distances.  This section of the lens is on hinges and can be opened for maintenance.",
    "symbol": "+",
    "looks_like": "t_door_glass_c",
    "color": "light_cyan",
    "move_cost": 0,
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "rotates_to": "INDOORFLOOR",
    "flags": [ "TRANSPARENT", "DOOR", "NOITEM", "BLOCK_WIND" ],
    "open": "t_door_lighthouse_lens_o",
    "bash": {
      "str_min": 6,
      "str_max": 20,
      "sound": "glass breaking!",
      "sound_fail": "whack!",
      "sound_vol": 16,
      "sound_fail_vol": 10,
      "ter_set": "t_null",
      "items": [ { "item": "glass_shard", "count": [ 42, 84 ] }, { "item": "scrap", "count": [ 3, 6 ] } ]
    }
  },
  {
    "type": "terrain",
    "id": "t_door_lighthouse_lens_o",
    "name": "open lighthouse lens hinged section",
    "description": "An intricate arrangement of glass, designed to focus light from within to be visible over long distances.  This section of the lens is hinged and is currently open.",
    "symbol": "'",
    "looks_like": "t_door_glass_o",
    "color": "light_cyan",
    "move_cost": 2,
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [ "TRANSPARENT" ],
    "close": "t_door_lighthouse_lens_c",
    "bash": {
      "str_min": 4,
      "str_max": 20,
      "sound": "glass breaking!",
      "sound_fail": "whack!",
      "sound_vol": 16,
      "sound_fail_vol": 10,
      "ter_set": "t_null",
      "items": [ { "item": "glass_shard", "count": [ 42, 84 ] }, { "item": "scrap", "count": [ 3, 6 ] } ]
    }
  },
  {
    "type": "terrain",
    "id": "t_door_c_peep",
    "name": "closed wood door with peephole",
    "description": "A regular door made of ordinary wood, except this one has a peephole.  If you examined it more closely, you'd be able to peek through the hole.",
    "symbol": "+",
    "looks_like": "t_door_c",
    "color": "brown",
    "move_cost": 0,
    "coverage": 95,
    "roof": "t_wood_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "rotates_to": "INDOORFLOOR",
    "flags": [ "FLAMMABLE_ASH", "DOOR", "NOITEM", "BARRICADABLE_DOOR", "BLOCK_WIND", "SUPPORTS_ROOF" ],
    "examine_action": "door_peephole",
    "open": "t_door_o_peep",
    "deconstruct": {
      "ter_set": "t_door_frame",
      "items": [
        { "item": "peephole", "count": 1 },
        { "item": "2x4", "count": 4 },
        { "item": "nail", "charges": [ 6, 12 ] },
        { "item": "hinge", "count": 2 }
      ]
    },
    "bash": {
      "str_min": 8,
      "str_max": 80,
      "str_min_blocked": 15,
      "str_max_blocked": 100,
      "sound": "smash!",
      "sound_fail": "whump!",
      "ter_set": "t_door_b_peep",
      "items": [
        { "item": "peephole", "prob": 75 },
        { "item": "2x4", "prob": 25 },
        { "item": "splinter", "count": [ 1, 2 ] },
        { "item": "nail", "charges": [ 0, 2 ] }
      ],
      "hit_field": [ "fd_dust", 2 ],
      "destroyed_field": [ "fd_splinters", 1 ]
    },
    "prying": { "result": "t_door_o_peep", "message": "You notice the door is unlocked, so you simply open it.", "prying_data": {  } },
    "shoot": { "reduce_damage": [ 15, 30 ], "reduce_damage_laser": [ 5, 20 ], "destroy_damage": [ 20, 90 ] }
  },
  {
    "type": "terrain",
    "id": "t_door_b",
    "name": "damaged wood door",
    "description": "A trashed wooden door, with a large hole in the middle that you can see right through.  The doorknob is so messed up that it can't be opened anymore.  It could be fixed up with a few planks.",
    "symbol": "&",
    "looks_like": "t_door_c",
    "color": "brown",
    "move_cost": 0,
    "coverage": 60,
    "roof": "t_wood_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [ "TRANSPARENT", "FLAMMABLE_ASH", "NOITEM", "REDUCE_SCENT", "BARRICADABLE_DOOR_DAMAGED", "PERMEABLE", "SUPPORTS_ROOF" ],
    "bash": {
      "str_min": 5,
      "str_max": 70,
      "str_min_blocked": 7,
      "str_max_blocked": 90,
      "sound": "crash!",
      "sound_fail": "whump!",
      "ter_set": "t_door_frame",
      "items": [
        { "item": "2x4", "count": [ 1, 2 ] },
        { "item": "nail", "charges": [ 1, 4 ] },
        { "item": "splinter", "count": [ 1, 4 ] },
        { "item": "hinge", "count": [ 1, 2 ] }
      ],
      "hit_field": [ "fd_dust", 2 ],
      "destroyed_field": [ "fd_splinters", 1 ]
    },
    "shoot": { "chance_to_hit": 20, "reduce_damage": [ 10, 25 ], "reduce_damage_laser": [ 5, 20 ], "destroy_damage": [ 20, 70 ] }
  },
  {
    "type": "terrain",
    "id": "t_door_lab_b",
    "name": "damaged wood door",
    "description": "A trashed wooden door, with a large hole in the middle that you can see right through.  The doorknob is so messed up that it can't be opened anymore.  It could be fixed up with a few planks.",
    "symbol": "&",
    "looks_like": "t_door_b",
    "color": "brown",
    "move_cost": 0,
    "coverage": 60,
    "roof": "t_wood_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [ "TRANSPARENT", "FLAMMABLE_ASH", "NOITEM", "REDUCE_SCENT", "BARRICADABLE_DOOR_DAMAGED", "PERMEABLE", "SUPPORTS_ROOF" ],
    "bash": {
      "str_min": 5,
      "str_max": 70,
      "str_min_blocked": 7,
      "str_max_blocked": 90,
      "sound": "crash!",
      "sound_fail": "whump!",
      "ter_set": "t_door_lab_frame",
      "items": [
        { "item": "2x4", "count": [ 1, 2 ] },
        { "item": "nail", "charges": [ 1, 4 ] },
        { "item": "splinter", "count": [ 1, 4 ] },
        { "item": "hinge", "count": [ 1, 2 ] }
      ],
      "hit_field": [ "fd_dust", 2 ],
      "destroyed_field": [ "fd_splinters", 1 ]
    },
    "shoot": { "chance_to_hit": 20, "reduce_damage": [ 10, 25 ], "reduce_damage_laser": [ 5, 20 ], "destroy_damage": [ 20, 70 ] }
  },
  {
    "type": "terrain",
    "id": "t_door_b_peep",
    "name": "damaged wood door with peephole",
    "//": "There's no need for a use-peephole, because the door is transparent",
    "description": "The bad news is that the peephole is broken and you can't use it to look through the door.  The good news is that the door is nearly broken down, so there's nothing blocking the view.  Also, the doorknob is so messed up that it can't be opened anymore.  A few planks, nails, and the right tools could patch up all the damage.",
    "symbol": "&",
    "looks_like": "t_door_b",
    "color": "brown",
    "move_cost": 0,
    "coverage": 60,
    "roof": "t_wood_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [ "TRANSPARENT", "FLAMMABLE_ASH", "NOITEM", "REDUCE_SCENT", "BARRICADABLE_DOOR_DAMAGED", "PERMEABLE", "SUPPORTS_ROOF" ],
    "bash": {
      "str_min": 5,
      "str_max": 70,
      "str_min_blocked": 7,
      "str_max_blocked": 90,
      "sound": "crash!",
      "sound_fail": "whump!",
      "ter_set": "t_door_frame",
      "items": [
        { "item": "2x4", "prob": 50 },
        { "item": "2x4", "count": [ 1, 2 ] },
        { "item": "nail", "charges": [ 1, 4 ] },
        { "item": "splinter", "count": [ 1, 4 ] },
        { "item": "hinge", "count": [ 1, 2 ] }
      ],
      "hit_field": [ "fd_dust", 2 ],
      "destroyed_field": [ "fd_splinters", 1 ]
    },
    "shoot": { "chance_to_hit": 20, "reduce_damage": [ 10, 25 ], "reduce_damage_laser": [ 5, 20 ], "destroy_damage": [ 20, 70 ] }
  },
  {
    "type": "terrain",
    "id": "t_door_o",
    "name": "open wood door",
    "description": "A standard wooden door that doesn't look very resilient.  It'd probably burn easily, too.  This one is wide open.",
    "symbol": "'",
    "color": "brown",
    "move_cost": 2,
    "roof": "t_wood_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [ "FLAMMABLE_ASH", "TRANSPARENT", "FLAT", "BARRICADABLE_DOOR", "ROAD", "SUPPORTS_ROOF" ],
    "deconstruct": {
      "ter_set": "t_door_frame",
      "items": [
        { "item": "2x4", "count": 4 },
        { "item": "wood_panel", "count": 1 },
        { "item": "nail", "charges": [ 6, 12 ] },
        { "item": "hinge", "count": 2 }
      ]
    },
    "close": "t_door_c",
    "bash": {
      "str_min": 5,
      "str_max": 80,
      "str_min_blocked": 7,
      "str_max_blocked": 100,
      "sound": "crash!",
      "sound_fail": "whump!",
      "ter_set": "t_door_frame",
      "items": [
        { "item": "2x4", "count": [ 1, 3 ] },
        { "item": "nail", "charges": [ 1, 6 ] },
        { "item": "splinter", "count": [ 2, 6 ] },
        { "item": "hinge", "count": [ 1, 2 ] }
      ],
      "hit_field": [ "fd_dust", 2 ],
      "destroyed_field": [ "fd_splinters", 1 ]
    }
  },
  {
    "type": "terrain",
    "id": "t_door_lab_o",
    "name": "open wood door",
    "description": "A standard wooden door that doesn't look very resilient.  It'd probably burn easily, too.  This one is wide open.",
    "symbol": "'",
    "looks_like": "t_door_o",
    "color": "brown",
    "move_cost": 2,
    "roof": "t_wood_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [ "FLAMMABLE_ASH", "TRANSPARENT", "FLAT", "BARRICADABLE_DOOR", "ROAD", "SUPPORTS_ROOF" ],
    "deconstruct": {
      "ter_set": "t_door_lab_frame",
      "items": [
        { "item": "2x4", "count": 4 },
        { "item": "wood_panel", "count": 1 },
        { "item": "nail", "charges": [ 6, 12 ] },
        { "item": "hinge", "count": 2 }
      ]
    },
    "close": "t_door_lab_c",
    "bash": {
      "str_min": 5,
      "str_max": 80,
      "str_min_blocked": 7,
      "str_max_blocked": 100,
      "sound": "crash!",
      "sound_fail": "whump!",
      "ter_set": "t_door_lab_frame",
      "items": [
        { "item": "2x4", "count": [ 1, 3 ] },
        { "item": "nail", "charges": [ 1, 6 ] },
        { "item": "splinter", "count": [ 2, 6 ] }
      ],
      "hit_field": [ "fd_dust", 2 ],
      "destroyed_field": [ "fd_splinters", 1 ]
    }
  },
  {
    "type": "terrain",
    "id": "t_door_o_peep",
    "name": "open wood door with peephole",
    "description": "A regular door made of ordinary wood, except this one has a peephole.  If you examined it more closely, you'd be able to peek through the hole.  No need right now though, since the door is open anyway.",
    "symbol": "'",
    "looks_like": "t_door_o",
    "color": "brown",
    "move_cost": 2,
    "roof": "t_wood_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [ "FLAMMABLE_ASH", "TRANSPARENT", "FLAT", "BARRICADABLE_DOOR", "ROAD", "SUPPORTS_ROOF" ],
    "deconstruct": {
      "ter_set": "t_door_frame",
      "items": [
        { "item": "peephole", "count": 1 },
        { "item": "2x4", "count": 4 },
        { "item": "wood_panel", "count": 1 },
        { "item": "nail", "charges": [ 6, 12 ] },
        { "item": "hinge", "count": [ 1, 2 ] }
      ]
    },
    "close": "t_door_c_peep",
    "bash": {
      "str_min": 5,
      "str_max": 80,
      "str_min_blocked": 7,
      "str_max_blocked": 100,
      "sound": "crash!",
      "sound_fail": "whump!",
      "ter_set": "t_door_frame",
      "items": [
        { "item": "peephole", "prob": 50 },
        { "item": "2x4", "count": [ 1, 3 ] },
        { "item": "nail", "charges": [ 1, 6 ] },
        { "item": "splinter", "count": [ 2, 6 ] },
        { "item": "hinge", "count": [ 1, 2 ] }
      ],
      "hit_field": [ "fd_dust", 2 ],
      "destroyed_field": [ "fd_splinters", 1 ]
    }
  },
  {
    "type": "terrain",
    "id": "t_rdoor_c",
    "name": "closed reinforced wood door",
    "description": "Just like other wooden doors, except this one has layers of nailed-on planks and an additional hinge for reinforcement.  It might be barricaded, but it's still susceptible to fire.",
    "symbol": "+",
    "looks_like": "t_door_c",
    "color": "red",
    "move_cost": 0,
    "coverage": 100,
    "roof": "t_wood_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "rotates_to": "INDOORFLOOR",
    "flags": [ "FLAMMABLE_ASH", "DOOR", "NOITEM", "BARRICADABLE_DOOR_REINFORCED", "BLOCK_WIND", "SUPPORTS_ROOF" ],
    "open": "t_rdoor_o",
    "deconstruct": {
      "ter_set": "t_door_c",
      "items": [
        { "item": "2x4", "count": 24 },
        { "item": "wood_panel", "count": 2 },
        { "item": "nail", "charges": [ 36, 48 ] },
        { "item": "hinge", "count": 1 }
      ]
    },
    "bash": {
      "str_min": 18,
      "str_max": 100,
      "str_min_blocked": 25,
      "str_max_blocked": 120,
      "sound": "smash!",
      "sound_fail": "whump!",
      "ter_set": "t_rdoor_b",
      "items": [
        { "item": "2x4", "count": [ 1, 4 ] },
        { "item": "splinter", "count": [ 2, 4 ] },
        { "item": "nail", "charges": [ 4, 12 ] }
      ],
      "hit_field": [ "fd_dust", 2 ],
      "destroyed_field": [ "fd_splinters", 1 ]
    },
    "shoot": { "reduce_damage": [ 20, 35 ], "reduce_damage_laser": [ 10, 30 ], "destroy_damage": [ 30, 100 ] }
  },
  {
    "type": "terrain",
    "id": "t_rdoor_b",
    "name": "damaged reinforced wood door",
    "description": "Despite someone's best efforts at reinforcing this door, there are splintering planks and visible holes in the wood, it could soon be smashed apart completely if not repaired.  The doorknob is all messed up and the door can't be opened until it's fixed.",
    "symbol": "&",
    "looks_like": "t_door_b",
    "color": "red",
    "move_cost": 0,
    "coverage": 75,
    "roof": "t_wood_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [
      "TRANSPARENT",
      "FLAMMABLE_ASH",
      "NOITEM",
      "REDUCE_SCENT",
      "BARRICADABLE_DOOR_REINFORCED_DAMAGED",
      "PERMEABLE",
      "SUPPORTS_ROOF"
    ],
    "bash": {
      "str_min": 12,
      "str_max": 90,
      "str_min_blocked": 20,
      "str_max_blocked": 100,
      "sound": "crash!",
      "sound_fail": "wham!",
      "ter_set": "t_door_b",
      "items": [
        { "item": "2x4", "count": [ 1, 4 ] },
        { "item": "nail", "charges": [ 4, 18 ] },
        { "item": "splinter", "count": [ 2, 4 ] },
        { "item": "hinge", "count": [ 0, 1 ] }
      ],
      "hit_field": [ "fd_dust", 2 ],
      "destroyed_field": [ "fd_splinters", 1 ]
    },
    "shoot": { "chance_to_hit": 20, "reduce_damage": [ 15, 30 ], "reduce_damage_laser": [ 10, 30 ], "destroy_damage": [ 30, 80 ] }
  },
  {
    "type": "terrain",
    "id": "t_rdoor_o",
    "name": "open reinforced wood door",
    "description": "Just like other wooden doors, except this one has layers of nailed-on planks for reinforcement.  It might be fortified, but it's still susceptible to fire.  It's open, so it's not stopping anything right now.",
    "symbol": "'",
    "looks_like": "t_door_o",
    "color": "red",
    "move_cost": 2,
    "roof": "t_wood_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [ "FLAMMABLE_ASH", "TRANSPARENT", "FLAT", "BARRICADABLE_DOOR_REINFORCED", "ROAD", "SUPPORTS_ROOF" ],
    "deconstruct": {
      "ter_set": "t_door_c",
      "items": [
        { "item": "2x4", "count": 24 },
        { "item": "wood_panel", "count": 1 },
        { "item": "nail", "charges": [ 36, 48 ] },
        { "item": "hinge", "count": 1 }
      ]
    },
    "close": "t_rdoor_c",
    "bash": {
      "str_min": 12,
      "str_max": 100,
      "str_min_blocked": 20,
      "str_max_blocked": 120,
      "sound": "crash!",
      "sound_fail": "wham!",
      "ter_set": "t_door_b",
      "items": [
        { "item": "2x4", "count": [ 2, 8 ] },
        { "item": "nail", "charges": [ 8, 30 ] },
        { "item": "splinter", "count": [ 4, 8 ] },
        { "item": "hinge", "count": [ 0, 1 ] }
      ],
      "hit_field": [ "fd_dust", 2 ],
      "destroyed_field": [ "fd_splinters", 1 ]
    }
  },
  {
    "type": "terrain",
    "id": "t_door_locked_interior",
    "name": "closed wood door",
    "description": "A standard wooden door that doesn't look very resilient.  It'd probably burn easily, too.  This one has an extra keyhole, so it's likely locked.  You could pry it open or pick the lock.",
    "symbol": "+",
    "looks_like": "t_door_locked",
    "color": "brown",
    "move_cost": 0,
    "coverage": 95,
    "lockpick_result": "t_door_c",
    "lockpick_message": "With a satisfying click, the lock on the door opens.",
    "roof": "t_wood_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [ "FLAMMABLE_ASH", "NOITEM", "REDUCE_SCENT", "BARRICADABLE_DOOR", "LOCKED", "BLOCK_WIND", "PICKABLE", "SUPPORTS_ROOF" ],
    "examine_action": "locked_object",
    "bash": {
      "str_min": 8,
      "str_max": 80,
      "str_min_blocked": 15,
      "str_max_blocked": 100,
      "sound": "smash!",
      "sound_fail": "whump!",
      "ter_set": "t_door_b",
      "items": [
        { "item": "2x4", "prob": 25 },
        { "item": "wood_panel", "prob": 10 },
        { "item": "splinter", "count": [ 1, 2 ] },
        { "item": "nail", "charges": [ 0, 2 ] }
      ],
      "hit_field": [ "fd_dust", 2 ],
      "destroyed_field": [ "fd_splinters", 1 ]
    },
    "prying": {
      "result": "t_door_o",
      "message": "You pry open the door.",
      "prying_data": { "difficulty": 6, "prying_level": 2, "noisy": true, "failure": "You pry, but can't pry open the door." }
    },
    "shoot": { "reduce_damage": [ 15, 30 ], "reduce_damage_laser": [ 5, 20 ], "destroy_damage": [ 20, 90 ] }
  },
  {
    "type": "terrain",
    "id": "t_door_locked",
    "name": "closed wood door",
    "description": "A standard wooden door that doesn't look very resilient.  It'd probably burn easily, too.  This one has a deadbolt keyhole, so it's likely locked.  You could pry it open or pick the lock, or unlock the deadbolt from the inside.",
    "symbol": "+",
    "looks_like": "t_door_c",
    "color": "brown",
    "move_cost": 0,
    "coverage": 95,
    "lockpick_result": "t_door_c",
    "lockpick_message": "With a satisfying click, the lock on the door opens.",
    "roof": "t_wood_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [
      "FLAMMABLE_ASH",
      "NOITEM",
      "OPENCLOSE_INSIDE",
      "REDUCE_SCENT",
      "BARRICADABLE_DOOR",
      "LOCKED",
      "PICKABLE",
      "BLOCK_WIND",
      "SUPPORTS_ROOF"
    ],
    "examine_action": "locked_object",
    "open": "t_door_o",
    "bash": {
      "str_min": 8,
      "str_max": 80,
      "str_min_blocked": 15,
      "str_max_blocked": 100,
      "sound": "smash!",
      "sound_fail": "whump!",
      "ter_set": "t_door_b",
      "items": [
        { "item": "2x4", "prob": 25 },
        { "item": "wood_panel", "prob": 10 },
        { "item": "splinter", "count": [ 1, 2 ] },
        { "item": "nail", "charges": [ 0, 2 ] }
      ],
      "hit_field": [ "fd_dust", 2 ],
      "destroyed_field": [ "fd_splinters", 1 ]
    },
    "prying": {
      "result": "t_door_o",
      "message": "You pry open the door.",
      "prying_data": { "difficulty": 6, "prying_level": 2, "noisy": true, "failure": "You pry, but can't pry open the door." }
    },
    "shoot": { "reduce_damage": [ 15, 30 ], "reduce_damage_laser": [ 5, 20 ], "destroy_damage": [ 20, 90 ] }
  },
  {
    "type": "terrain",
    "id": "t_door_locked_peep",
    "name": "closed wood door",
    "description": "A regular door made of ordinary wood, except this one has a peephole.  If you examined it more closely, you'd be able to peek through the hole.  This one has a deadbolt keyhole, so it's likely locked.  You could pry it open or pick the lock, or unlock the deadbolt from the inside.",
    "symbol": "+",
    "looks_like": "t_door_c_peep",
    "color": "brown",
    "move_cost": 0,
    "coverage": 95,
    "lockpick_result": "t_door_c_peep",
    "lockpick_message": "With a satisfying click, the lock on the door opens.",
    "roof": "t_wood_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [
      "FLAMMABLE_ASH",
      "NOITEM",
      "OPENCLOSE_INSIDE",
      "REDUCE_SCENT",
      "BARRICADABLE_DOOR",
      "LOCKED",
      "PICKABLE",
      "BLOCK_WIND",
      "SUPPORTS_ROOF"
    ],
    "open": "t_door_o_peep",
    "examine_action": "door_peephole",
    "bash": {
      "str_min": 8,
      "str_max": 80,
      "str_min_blocked": 15,
      "str_max_blocked": 100,
      "sound": "smash!",
      "sound_fail": "whump!",
      "ter_set": "t_door_b_peep",
      "items": [
        { "item": "peephole", "prob": 75 },
        { "item": "2x4", "prob": 25 },
        { "item": "splinter", "count": [ 1, 2 ] },
        { "item": "nail", "charges": [ 0, 2 ] }
      ],
      "hit_field": [ "fd_dust", 2 ],
      "destroyed_field": [ "fd_splinters", 1 ]
    },
    "prying": {
      "result": "t_door_o_peep",
      "message": "You pry open the door.",
      "prying_data": { "difficulty": 6, "prying_level": 2, "noisy": true, "failure": "You pry, but can't pry open the door." }
    },
    "shoot": { "reduce_damage": [ 15, 30 ], "reduce_damage_laser": [ 5, 20 ], "destroy_damage": [ 20, 90 ] }
  },
  {
    "type": "terrain",
    "id": "t_door_locked_alarm",
    "name": "closed wood door",
    "description": "A standard wooden door that doesn't look very resilient.  It'd probably burn easily, too.  This one has an extra keyhole, so it's likely locked.  You could pry it open or pick the lock.",
    "symbol": "+",
    "looks_like": "t_door_locked",
    "color": "brown",
    "move_cost": 0,
    "coverage": 95,
    "lockpick_result": "t_door_c",
    "lockpick_message": "With a satisfying click, the lock on the door opens.",
    "roof": "t_wood_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [
      "FLAMMABLE_ASH",
      "ALARMED",
      "NOITEM",
      "REDUCE_SCENT",
      "BARRICADABLE_DOOR",
      "LOCKED",
      "BLOCK_WIND",
      "PICKABLE",
      "SUPPORTS_ROOF"
    ],
    "examine_action": "locked_object",
    "bash": {
      "str_min": 8,
      "str_max": 80,
      "str_min_blocked": 15,
      "str_max_blocked": 100,
      "sound": "smash!",
      "sound_fail": "whump!",
      "ter_set": "t_door_b",
      "items": [
        { "item": "2x4", "prob": 25 },
        { "item": "wood_panel", "prob": 10 },
        { "item": "splinter", "count": [ 1, 2 ] },
        { "item": "nail", "charges": [ 0, 2 ] }
      ],
      "hit_field": [ "fd_dust", 2 ],
      "destroyed_field": [ "fd_splinters", 1 ]
    },
    "prying": {
      "result": "t_door_o",
      "message": "You pry open the door.",
      "prying_data": { "difficulty": 6, "prying_level": 2, "noisy": true, "alarm": true, "failure": "You pry, but can't pry open the door." }
    },
    "shoot": { "reduce_damage": [ 15, 30 ], "reduce_damage_laser": [ 5, 20 ], "destroy_damage": [ 20, 90 ] }
  },
  {
    "type": "terrain",
    "id": "t_door_curtain_c",
    "name": "closed door curtain",
    "description": "Repurposed curtains from a window covering a door frame.  Could be easily taken down for supplies or placed somewhere else.",
    "symbol": "+",
    "looks_like": "t_curtains",
    "color": "dark_gray",
    "move_cost": 0,
    "coverage": 95,
    "roof": "t_wood_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "rotates_to": "INDOORFLOOR",
    "flags": [ "FLAMMABLE_ASH", "DOOR", "NOITEM", "EASY_DECONSTRUCT", "SUPPORTS_ROOF" ],
    "open": "t_door_curtain_o",
    "deconstruct": {
      "ter_set": "t_dirt",
      "items": [ { "item": "stick", "count": 1 }, { "item": "sheet", "count": 2 }, { "item": "withered", "count": 12 } ]
    },
    "bash": {
      "str_min": 1,
      "str_max": 4,
      "sound": "rrrrip!",
      "sound_fail": "slap!",
      "sound_vol": 6,
      "sound_fail_vol": 3,
      "ter_set": "t_dirt",
      "items": [
        { "item": "sheet", "count": [ 0, 1 ] },
        { "item": "cotton_patchwork", "count": [ 2, 5 ] },
        { "item": "stick", "count": 1 },
        { "item": "withered", "count": [ 2, 12 ] }
      ]
    }
  },
  {
    "type": "terrain",
    "id": "t_door_makeshift_c",
    "name": "closed makeshift door",
    "description": "A makeshift screen consisting of planks bound together with rope, hanging vertically from the top of the doorway.  Could be easily taken down and re-purposed.",
    "symbol": "+",
    "looks_like": "t_door_c",
    "color": "brown",
    "move_cost": 0,
    "coverage": 95,
    "roof": "t_wood_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "rotates_to": "INDOORFLOOR",
    "flags": [ "FLAMMABLE_ASH", "DOOR", "NOITEM", "EASY_DECONSTRUCT", "BLOCK_WIND", "SUPPORTS_ROOF" ],
    "open": "t_door_makeshift_o",
    "deconstruct": { "ter_set": "t_door_frame", "items": [ { "item": "2x4", "count": 6 }, { "item": "rope_makeshift_6", "count": 2 } ] },
    "bash": {
      "str_min": 4,
      "str_max": 20,
      "str_min_blocked": 6,
      "str_max_blocked": 30,
      "sound": "crack.",
      "sound_fail": "wham.",
      "ter_set": "t_door_frame",
      "items": [
        { "item": "2x4", "count": [ 2, 5 ] },
        { "item": "rope_makeshift_6", "count": [ 0, 1 ] },
        { "item": "withered", "count": [ 2, 12 ] },
        { "item": "splinter", "count": [ 5, 10 ] }
      ],
      "hit_field": [ "fd_dust", 2 ],
      "destroyed_field": [ "fd_splinters", 1 ]
    }
  },
  {
    "type": "terrain",
    "id": "t_door_curtain_o",
    "name": "open door curtain",
    "description": "Repurposed curtains from a window covering a door frame.  Could be easily taken down for supplies or placed somewhere else.  The curtains are open, bundled, and tied next to the doorway.",
    "symbol": "'",
    "looks_like": "t_door_frame",
    "color": "dark_gray",
    "move_cost": 2,
    "roof": "t_wood_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [ "FLAMMABLE_ASH", "TRANSPARENT", "FLAT", "ROAD", "EASY_DECONSTRUCT", "SUPPORTS_ROOF" ],
    "deconstruct": {
      "ter_set": "t_dirt",
      "items": [ { "item": "stick", "count": 1 }, { "item": "sheet", "count": 2 }, { "item": "withered", "count": 12 } ]
    },
    "close": "t_door_curtain_c",
    "bash": {
      "str_min": 1,
      "str_max": 4,
      "sound": "rrrrip!",
      "sound_fail": "slap!",
      "sound_vol": 5,
      "sound_fail_vol": 2,
      "ter_set": "t_dirt",
      "items": [
        { "item": "sheet", "count": [ 0, 1 ] },
        { "item": "cotton_patchwork", "count": [ 2, 5 ] },
        { "item": "stick", "count": 1 },
        { "item": "withered", "count": [ 2, 12 ] }
      ]
    }
  },
  {
    "type": "terrain",
    "id": "t_door_grass_curtain_c",
    "name": "closed grass curtain",
    "description": "Sheets of grass yarn covering a door frame.  Could be easily taken down for supplies or placed somewhere else.",
    "symbol": "+",
    "looks_like": "t_door_curtain_c",
    "color": "dark_gray",
    "move_cost": 0,
    "coverage": 95,
    "roof": "t_wood_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "rotates_to": "INDOORFLOOR",
    "flags": [ "FLAMMABLE_ASH", "DOOR", "NOITEM", "EASY_DECONSTRUCT", "SUPPORTS_ROOF" ],
    "open": "t_door_grass_curtain_o",
    "deconstruct": {
      "ter_set": "t_dirt",
      "items": [ { "item": "stick", "count": 1 }, { "item": "grass_sheet", "count": 2 }, { "item": "cordage_6", "count": 6 } ]
    },
    "bash": {
      "str_min": 1,
      "str_max": 4,
      "sound": "rrrrip!",
      "sound_fail": "slap!",
      "sound_vol": 6,
      "sound_fail_vol": 3,
      "ter_set": "t_dirt",
      "items": [
        { "item": "grass_sheet", "count": [ 0, 1 ] },
        { "item": "grass_yarn", "count": [ 2, 5 ] },
        { "item": "stick", "count": 1 },
        { "item": "cordage_6", "count": [ 2, 5 ] }
      ]
    }
  },
  {
    "type": "terrain",
    "id": "t_door_grass_curtain_o",
    "name": "open grass curtain",
    "description": "Sheets of grass yarn covering a door frame.  Could be easily taken down for supplies or placed somewhere else.  The curtains are open, bundled, and tied next to the doorway.",
    "symbol": "'",
    "looks_like": "t_door_curtain_o",
    "color": "dark_gray",
    "move_cost": 2,
    "roof": "t_wood_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [ "FLAMMABLE_ASH", "TRANSPARENT", "FLAT", "ROAD", "EASY_DECONSTRUCT", "SUPPORTS_ROOF" ],
    "deconstruct": {
      "ter_set": "t_dirt",
      "items": [ { "item": "stick", "count": 1 }, { "item": "grass_sheet", "count": 2 }, { "item": "cordage_6", "count": 6 } ]
    },
    "close": "t_door_grass_curtain_c",
    "bash": {
      "str_min": 1,
      "str_max": 4,
      "sound": "rrrrip!",
      "sound_fail": "slap!",
      "sound_vol": 5,
      "sound_fail_vol": 2,
      "ter_set": "t_dirt",
      "items": [
        { "item": "grass_sheet", "count": [ 0, 1 ] },
        { "item": "grass_yarn", "count": [ 2, 5 ] },
        { "item": "stick", "count": 1 },
        { "item": "cordage_6", "count": [ 2, 5 ] }
      ]
    }
  },
  {
    "type": "terrain",
    "id": "t_door_makeshift_o",
    "name": "open makeshift door",
    "description": "A makeshift screen consisting of planks bound together with rope, hanging from the top of the doorway.  Could be easily taken down and re-purposed.  The planks have been rolled up and attached to the top of the doorway, allowing free movement through.",
    "symbol": "'",
    "looks_like": "t_door_o",
    "color": "brown",
    "move_cost": 2,
    "roof": "t_wood_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [ "FLAMMABLE_ASH", "TRANSPARENT", "FLAT", "ROAD", "EASY_DECONSTRUCT", "SUPPORTS_ROOF" ],
    "deconstruct": { "ter_set": "t_door_frame", "items": [ { "item": "2x4", "count": 6 }, { "item": "rope_makeshift_6", "count": 2 } ] },
    "close": "t_door_makeshift_c",
    "bash": {
      "str_min": 3,
      "str_max": 20,
      "str_min_blocked": 4,
      "str_max_blocked": 30,
      "sound": "crack.",
      "sound_fail": "wham.",
      "ter_set": "t_door_frame",
      "items": [
        { "item": "2x4", "count": [ 2, 5 ] },
        { "item": "rope_makeshift_6", "count": [ 0, 1 ] },
        { "item": "withered", "count": [ 2, 12 ] },
        { "item": "splinter", "count": [ 5, 10 ] }
      ],
      "hit_field": [ "fd_dust", 2 ],
      "destroyed_field": [ "fd_splinters", 1 ]
    }
  },
  {
    "type": "terrain",
    "id": "t_door_frame",
    "name": "empty door frame",
    "description": "An empty door frame made from planks and nails.  A variety of doors could be constructed here.",
    "symbol": ".",
    "looks_like": "t_floor",
    "color": "brown",
    "move_cost": 2,
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [ "FLAMMABLE_ASH", "TRANSPARENT", "FLAT", "ROAD", "SUPPORTS_ROOF" ],
    "bash": {
      "str_min": 6,
      "str_max": 25,
      "sound": "crunch!",
      "sound_fail": "whump!",
      "ter_set": "t_null",
      "items": [
        { "item": "2x4", "count": [ 3, 6 ] },
        { "item": "splinter", "count": [ 3, 6 ] },
        { "item": "nail", "charges": [ 6, 12 ] }
      ],
      "hit_field": [ "fd_dust", 2 ],
      "destroyed_field": [ "fd_splinters", 1 ]
    },
    "deconstruct": { "ter_set": "t_floor", "items": [ { "item": "2x4", "count": 12 }, { "item": "nail", "charges": 24 } ] }
  },
  {
    "type": "terrain",
    "id": "t_door_lab_frame",
    "name": "empty door frame",
    "description": "An empty door frame made from planks and nails.  A variety of doors could be constructed here.",
    "symbol": ".",
    "looks_like": "t_door_frame",
    "color": "brown",
    "move_cost": 2,
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [ "FLAMMABLE_ASH", "TRANSPARENT", "FLAT", "ROAD", "SUPPORTS_ROOF" ],
    "bash": {
      "str_min": 6,
      "str_max": 25,
      "sound": "crunch!",
      "sound_fail": "whump!",
      "ter_set": "t_null",
      "items": [
        { "item": "2x4", "count": [ 3, 6 ] },
        { "item": "splinter", "count": [ 3, 6 ] },
        { "item": "nail", "charges": [ 6, 12 ] }
      ],
      "hit_field": [ "fd_dust", 2 ],
      "destroyed_field": [ "fd_splinters", 1 ]
    },
    "deconstruct": { "ter_set": "t_thconc_floor", "items": [ { "item": "2x4", "count": 12 }, { "item": "nail", "charges": 24 } ] }
  },
  {
    "type": "terrain",
    "id": "t_mdoor_frame",
    "name": "empty metal door frame",
    "description": "An empty door frame made of steel and assorted metal.  A variety of doors could be constructed here.",
    "symbol": ".",
    "looks_like": "t_door_frame",
    "color": "dark_gray",
    "move_cost": 2,
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [ "TRANSPARENT", "FLAT", "ROAD", "SUPPORTS_ROOF" ],
    "bash": {
      "str_min": 18,
      "str_max": 75,
      "sound": "metal screeching!",
      "sound_fail": "clang!",
      "ter_set": "t_null",
      "items": [ { "item": "spike", "count": [ 2, 4 ] }, { "item": "scrap", "count": [ 3, 6 ] } ]
    }
  },
  {
    "type": "terrain",
    "id": "t_mdoor_lab_frame",
    "name": "empty metal door frame",
    "description": "An empty door frame made of steel and assorted metal.  A variety of doors could be constructed here.",
    "symbol": ".",
    "looks_like": "t_mdoor_frame",
    "color": "dark_gray",
    "move_cost": 2,
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [ "TRANSPARENT", "FLAT", "ROAD", "SUPPORTS_ROOF" ],
    "bash": {
      "str_min": 18,
      "str_max": 75,
      "sound": "metal screeching!",
      "sound_fail": "clang!",
      "ter_set": "t_thconc_floor",
      "items": [ { "item": "spike", "count": [ 2, 4 ] }, { "item": "scrap", "count": [ 3, 6 ] } ]
    }
  },
  {
    "type": "terrain",
    "id": "t_m_frame",
    "name": "empty metal window frame",
    "description": "An empty window frame constructed from assembled metal and carefully braced with various hardware.",
    "symbol": ".",
    "looks_like": "t_mdoor_frame",
    "color": "dark_gray",
    "move_cost": 2,
    "roof": "t_metal_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [ "TRANSPARENT", "FLAT", "ROAD", "SUPPORTS_ROOF" ],
    "bash": {
      "str_min": 18,
      "str_max": 75,
      "sound": "metal screeching!",
      "sound_fail": "clang!",
      "ter_set": "t_null",
      "items": [ { "item": "spike", "count": [ 2, 4 ] }, { "item": "scrap", "count": [ 3, 6 ] } ]
    }
  },
  {
    "type": "terrain",
    "id": "t_door_boarded",
    "name": "boarded up door",
    "description": "A standard wooden door that has several planks across it, nailed down to board it up and increase its durability.  It's still flammable, though.",
    "symbol": "#",
    "looks_like": "t_door_locked",
    "color": "brown",
    "move_cost": 0,
    "coverage": 95,
    "roof": "t_wood_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [ "FLAMMABLE_ASH", "NOITEM", "WALL", "REDUCE_SCENT", "BLOCK_WIND", "SUPPORTS_ROOF" ],
    "bash": {
      "str_min": 15,
      "str_max": 80,
      "str_min_blocked": 17,
      "str_max_blocked": 100,
      "sound": "crash!",
      "sound_fail": "wham!",
      "ter_set": "t_door_b",
      "items": [
        { "item": "2x4", "count": [ 1, 3 ] },
        { "item": "wood_panel", "prob": 10 },
        { "item": "nail", "charges": [ 2, 10 ] },
        { "item": "splinter", "count": [ 1, 2 ] }
      ],
      "hit_field": [ "fd_dust", 2 ],
      "destroyed_field": [ "fd_splinters", 1 ]
    },
    "prying": {
      "result": "t_door_c",
      "duration": "30 seconds",
      "message": "You pry the boards from the door.",
      "byproducts": [ { "item": "nail", "count": 8 }, { "item": "2x4", "count": 4 } ],
      "prying_data": { "prying_nails": true }
    },
    "shoot": { "reduce_damage": [ 20, 35 ], "reduce_damage_laser": [ 10, 30 ], "destroy_damage": [ 30, 90 ] }
  },
  {
    "type": "terrain",
    "id": "t_door_boarded_damaged",
    "name": "boarded up damaged door",
    "description": "A boarded up wooden door, except that some of the planks are fractured or coming loose.  Without repairs, it could be broken down easily.",
    "symbol": "#",
    "looks_like": "t_door_b",
    "color": "brown",
    "move_cost": 0,
    "coverage": 95,
    "roof": "t_wood_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [ "FLAMMABLE_ASH", "NOITEM", "WALL", "REDUCE_SCENT", "SUPPORTS_ROOF" ],
    "bash": {
      "str_min": 10,
      "str_max": 40,
      "str_min_blocked": 9,
      "str_max_blocked": 50,
      "sound": "crash!",
      "sound_fail": "wham!",
      "ter_set": "t_door_frame",
      "items": [
        { "item": "2x4", "count": [ 1, 8 ] },
        { "item": "nail", "charges": [ 2, 20 ] },
        { "item": "splinter", "count": 1 },
        { "item": "hinge", "count": [ 1, 2 ] }
      ],
      "hit_field": [ "fd_dust", 2 ],
      "destroyed_field": [ "fd_splinters", 1 ]
    },
    "prying": {
      "result": "t_door_b",
      "duration": "30 seconds",
      "message": "You pry the boards from the door.",
      "byproducts": [ { "item": "nail", "count": 8 }, { "item": "2x4", "count": 4 } ],
      "prying_data": { "prying_nails": true }
    },
    "shoot": { "reduce_damage": [ 15, 30 ], "reduce_damage_laser": [ 10, 30 ], "destroy_damage": [ 30, 70 ] }
  },
  {
    "type": "terrain",
    "id": "t_door_boarded_peep",
    "name": "boarded up door with peephole",
    "description": "A boarded up door made of ordinary wood, except this one has a peephole.  Although it's been covered up in planks, you could still look through the peephole if you were close enough.",
    "symbol": "#",
    "looks_like": "t_door_boarded",
    "color": "brown",
    "move_cost": 0,
    "coverage": 95,
    "roof": "t_wood_roof",
    "examine_action": "door_peephole",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [ "FLAMMABLE_ASH", "NOITEM", "WALL", "REDUCE_SCENT", "BLOCK_WIND", "SUPPORTS_ROOF" ],
    "bash": {
      "str_min": 15,
      "str_max": 80,
      "str_min_blocked": 17,
      "str_max_blocked": 100,
      "sound": "crash!",
      "sound_fail": "wham!",
      "ter_set": "t_door_b_peep",
      "items": [
        { "item": "2x4", "count": [ 1, 3 ] },
        { "item": "nail", "charges": [ 2, 10 ] },
        { "item": "splinter", "count": [ 1, 2 ] }
      ],
      "hit_field": [ "fd_dust", 2 ],
      "destroyed_field": [ "fd_splinters", 1 ]
    },
    "prying": {
      "result": "t_door_c_peep",
      "duration": "30 seconds",
      "message": "You pry the boards from the door.",
      "byproducts": [ { "item": "nail", "count": 8 }, { "item": "2x4", "count": 4 } ],
      "prying_data": { "prying_nails": true }
    },
    "shoot": { "reduce_damage": [ 20, 35 ], "reduce_damage_laser": [ 10, 30 ], "destroy_damage": [ 30, 90 ] }
  },
  {
    "type": "terrain",
    "id": "t_rdoor_boarded",
    "name": "boarded up reinforced door",
    "description": "An additionally reinforced door of layered planks that has been boarded up with more wood to prevent it from opening.  It's still susceptible to fire.",
    "symbol": "#",
    "looks_like": "t_door_boarded",
    "color": "brown",
    "move_cost": 0,
    "coverage": 95,
    "roof": "t_wood_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [ "FLAMMABLE_ASH", "NOITEM", "WALL", "NO_SCENT", "BLOCK_WIND", "SUPPORTS_ROOF" ],
    "bash": {
      "str_min": 25,
      "str_max": 60,
      "str_min_blocked": 32,
      "str_max_blocked": 70,
      "sound": "crash!",
      "sound_fail": "wham!",
      "ter_set": "t_rdoor_b",
      "items": [
        { "item": "2x4", "count": [ 1, 4 ] },
        { "item": "wood_panel", "prob": 10 },
        { "item": "nail", "charges": [ 1, 8 ] },
        { "item": "splinter", "count": 1 }
      ],
      "hit_field": [ "fd_dust", 2 ],
      "destroyed_field": [ "fd_splinters", 1 ]
    },
    "prying": {
      "result": "t_rdoor_c",
      "duration": "30 seconds",
      "message": "You pry the boards from the door.",
      "byproducts": [ { "item": "nail", "count": 8 }, { "item": "2x4", "count": 4 } ],
      "prying_data": { "prying_nails": true }
    },
    "shoot": { "reduce_damage": [ 25, 40 ], "reduce_damage_laser": [ 15, 40 ], "destroy_damage": [ 40, 100 ] }
  },
  {
    "type": "terrain",
    "id": "t_rdoor_boarded_damaged",
    "name": "boarded up damaged reinforced door",
    "description": "A battered and torn reinforced door with planks bursting from the joints.  The boarded up planks are fragmented and in pieces, this doesn't look like an easy repair.",
    "symbol": "#",
    "looks_like": "t_door_b",
    "color": "brown",
    "move_cost": 0,
    "coverage": 95,
    "roof": "t_wood_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [ "FLAMMABLE_ASH", "NOITEM", "WALL", "NO_SCENT", "SUPPORTS_ROOF" ],
    "bash": {
      "str_min": 20,
      "str_max": 50,
      "str_min_blocked": 24,
      "str_max_blocked": 60,
      "sound": "crash!",
      "sound_fail": "wham!",
      "ter_set": "t_door_b",
      "items": [
        { "item": "2x4", "count": [ 2, 16 ] },
        { "item": "nail", "charges": [ 6, 54 ] },
        { "item": "splinter", "count": 1 },
        { "item": "hinge", "count": [ 0, 1 ] }
      ],
      "hit_field": [ "fd_dust", 2 ],
      "destroyed_field": [ "fd_splinters", 1 ]
    },
    "prying": {
      "result": "t_rdoor_b",
      "duration": "30 seconds",
      "message": "You pry the boards from the door.",
      "byproducts": [ { "item": "nail", "count": 8 }, { "item": "2x4", "count": 4 } ],
      "prying_data": { "prying_nails": true }
    },
    "shoot": { "reduce_damage": [ 20, 35 ], "reduce_damage_laser": [ 10, 30 ], "destroy_damage": [ 30, 90 ] }
  },
  {
    "type": "terrain",
    "id": "t_door_boarded_damaged_peep",
    "name": "boarded up damaged door with peephole",
    "description": "A wrecked door made of ordinary wood, except this one has a peephole and some partly-splintered boards nailed across it.  The peephole is damaged and can't be used to see through.",
    "symbol": "#",
    "looks_like": "t_door_boarded_damaged",
    "color": "brown",
    "move_cost": 0,
    "coverage": 95,
    "roof": "t_wood_roof",
    "examine_action": "door_peephole",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [ "FLAMMABLE_ASH", "NOITEM", "WALL", "NO_SCENT", "SUPPORTS_ROOF" ],
    "bash": {
      "str_min": 10,
      "str_max": 40,
      "str_min_blocked": 9,
      "str_max_blocked": 50,
      "sound": "crash!",
      "sound_fail": "wham!",
      "ter_set": "t_door_frame",
      "items": [
        { "item": "peephole", "prob": 75 },
        { "item": "2x4", "count": [ 1, 8 ] },
        { "item": "nail", "charges": [ 2, 20 ] },
        { "item": "splinter", "count": 1 },
        { "item": "hinge", "count": [ 1, 2 ] }
      ],
      "hit_field": [ "fd_dust", 2 ],
      "destroyed_field": [ "fd_splinters", 1 ]
    },
    "prying": {
      "result": "t_door_b_peep",
      "duration": "30 seconds",
      "message": "You pry the boards from the door.",
      "byproducts": [ { "item": "nail", "count": 8 }, { "item": "2x4", "count": 4 } ],
      "prying_data": { "prying_nails": true }
    },
    "shoot": { "reduce_damage": [ 15, 30 ], "reduce_damage_laser": [ 10, 30 ], "destroy_damage": [ 30, 70 ] }
  },
  {
    "type": "terrain",
    "id": "t_door_metal_c",
    "name": "closed metal door",
    "description": "An extremely resilient door made of assorted steel, carved and pounded into shape.",
    "symbol": "+",
    "looks_like": "t_door_c",
    "color": "cyan",
    "move_cost": 0,
    "coverage": 95,
    "roof": "t_metal_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "rotates_to": "INDOORFLOOR",
    "flags": [ "NOITEM", "DOOR", "BLOCK_WIND", "SUPPORTS_ROOF" ],
    "open": "t_door_metal_o",
    "oxytorch": {
      "result": "t_mdoor_frame",
      "duration": "14 seconds",
      "byproducts": [ { "item": "steel_plate", "count": [ 0, 1 ] }, { "item": "mc_steel_chunk", "count": [ 3, 8 ] } ]
    },
    "bash": {
      "str_min": 80,
      "str_max": 250,
      "sound": "metal screeching!",
      "sound_fail": "clang!",
      "ter_set": "t_mdoor_frame",
      "items": [
        { "item": "scrap", "count": [ 12, 24 ] },
        { "item": "steel_plate", "prob": 75 },
        { "item": "hinge", "count": [ 1, 3 ] }
      ]
    }
  },
  {
    "type": "terrain",
    "id": "t_door_metal_corrugated_c",
    "name": "closed corrugated metal door",
    "description": "A thin door made of corrugated steel held in a frame.",
    "symbol": "+",
    "looks_like": "t_door_c",
    "color": "cyan",
    "move_cost": 0,
    "coverage": 95,
    "roof": "t_metal_flat_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "rotates_to": "INDOORFLOOR",
    "flags": [ "NOITEM", "DOOR", "BLOCK_WIND", "SUPPORTS_ROOF" ],
    "open": "t_door_metal_corrugated_o",
    "bash": {
      "str_min": 30,
      "str_max": 210,
      "sound": "metal screeching!",
      "sound_fail": "clang!",
      "ter_set": "t_mdoor_frame",
      "items": [
        { "item": "scrap", "count": [ 4, 8 ] },
        { "item": "steel_plate", "prob": 75 },
        { "item": "hinge", "count": [ 1, 3 ] }
      ]
    }
  },
  {
    "type": "terrain",
    "id": "t_secretdoor_metal_c",
    "name": "metal wall",
    "description": "An industrially fabricated thick sheet carefully positioned and joined seamlessly with perimeter sealant, this wall is capable of resisting extreme elements as well as hostile forces.  Blast load rated and extremely fire-retardant, breaching it will require specialized tools or an industrial vehicle.",
    "symbol": "#",
    "looks_like": "t_wall_metal",
    "color": "cyan",
    "move_cost": 0,
    "roof": "t_metal_floor",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "rotates_to": "INDOORFLOOR",
    "flags": [ "NOITEM", "DOOR", "AUTO_WALL_SYMBOL", "SUPPORTS_ROOF" ],
    "open": "t_secretdoor_metal_o",
    "bash": {
      "str_min": 80,
      "str_max": 250,
      "sound": "metal screeching!",
      "sound_fail": "clang!",
      "ter_set": "t_mdoor_frame",
      "items": [ { "item": "scrap", "count": [ 12, 24 ] }, { "item": "steel_plate", "prob": 75 } ]
    }
  },
  {
    "type": "terrain",
    "id": "t_secretdoor_metal_o",
    "name": "open secret door",
    "looks_like": "t_mdoor_frame",
    "description": "This apparently normal segment of metal wall has opened to reveal a secret passage.",
    "symbol": "'",
    "color": "cyan",
    "move_cost": 2,
    "roof": "t_metal_floor",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [ "TRANSPARENT", "FLAT", "ROAD", "SUPPORTS_ROOF" ],
    "close": "t_secretdoor_metal_c",
    "bash": {
      "str_min": 80,
      "str_max": 250,
      "sound": "metal screeching!",
      "sound_fail": "clang!",
      "ter_set": "t_mdoor_frame",
      "items": [ { "item": "scrap", "count": [ 12, 24 ] }, { "item": "steel_plate", "prob": 75 } ]
    }
  },
  {
    "type": "terrain",
    "id": "t_secretdoor_concrete_c",
    "name": "concrete wall",
    "description": "A faux concrete wall positioned and joined seamlessly with the wall, this wall is capable of resisting extreme elements as well as hostile forces.  Blast load rated and extremely fire-retardant, breaching it will require specialized tools or an industrial vehicle.",
    "symbol": "#",
    "looks_like": "t_concrete_wall",
    "color": "light_gray",
    "move_cost": 0,
    "roof": "t_metal_floor",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "rotates_to": "INDOORFLOOR",
    "flags": [ "NOITEM", "DOOR", "AUTO_WALL_SYMBOL", "SUPPORTS_ROOF" ],
    "open": "t_secretdoor_concrete_o",
    "bash": {
      "str_min": 80,
      "str_max": 250,
      "sound": "metal screeching!",
      "sound_fail": "clang!",
      "ter_set": "t_mdoor_frame",
      "items": [
        { "item": "rebar", "count": [ 2, 6 ] },
        { "item": "rock", "count": [ 10, 22 ] },
        { "item": "chain", "count": [ 0, 2 ] },
        { "item": "spring", "count": [ 1, 3 ] },
        { "item": "rock", "count": [ 2, 4 ] },
        { "item": "scrap", "charges": [ 4, 12 ] }
      ]
    }
  },
  {
    "type": "terrain",
    "id": "t_secretdoor_concrete_o",
    "name": "open secret door",
    "looks_like": "t_thconc_floor",
    "description": "This apparently normal segment of concrete wall has opened to reveal a secret passage.",
    "symbol": "'",
    "color": "light_gray",
    "move_cost": 2,
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [ "TRANSPARENT", "FLAT", "ROAD", "SUPPORTS_ROOF" ],
    "close": "t_secretdoor_concrete_c",
    "bash": {
      "str_min": 80,
      "str_max": 250,
      "sound": "whump!",
      "sound_fail": "thwack!",
      "ter_set": "t_mdoor_frame",
      "items": [
        { "item": "rebar", "count": [ 2, 6 ] },
        { "item": "rock", "count": [ 10, 22 ] },
        { "item": "chain", "count": [ 0, 2 ] },
        { "item": "spring", "count": [ 1, 3 ] },
        { "item": "rock", "count": [ 2, 4 ] },
        { "item": "scrap", "charges": [ 4, 12 ] }
      ]
    }
  },
  {
    "type": "terrain",
    "id": "t_door_metal_lab_c",
    "name": "closed metal door",
    "description": "An extremely resilient door made of assorted steel, carved and pounded into shape.",
    "symbol": "+",
    "looks_like": "t_door_metal_c",
    "color": "cyan",
    "move_cost": 0,
    "coverage": 95,
    "roof": "t_metal_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "rotates_to": "INDOORFLOOR",
    "flags": [ "NOITEM", "DOOR", "SUPPORTS_ROOF" ],
    "open": "t_door_metal_lab_o",
    "bash": {
      "str_min": 80,
      "str_max": 250,
      "sound": "metal screeching!",
      "sound_fail": "clang!",
      "ter_set": "t_mdoor_lab_frame",
      "items": [
        { "item": "scrap", "count": [ 12, 24 ] },
        { "item": "steel_plate", "prob": 75 },
        { "item": "hinge", "count": [ 1, 3 ] }
      ]
    }
  },
  {
    "type": "terrain",
    "id": "t_door_metal_elocked",
    "name": "electronic locked metal door",
    "description": "An extremely resilient door made of assorted steel, carved and pounded into shape.  It is locked by an electronic keypad.",
    "symbol": "+",
    "looks_like": "t_door_metal_c",
    "color": "cyan",
    "move_cost": 0,
    "coverage": 95,
    "roof": "t_metal_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "rotates_to": "INDOORFLOOR",
    "flags": [ "NOITEM", "DOOR", "LOCKED", "SUPPORTS_ROOF" ],
    "oxytorch": {
      "result": "t_mdoor_frame",
      "duration": "14 seconds",
      "byproducts": [ { "item": "steel_plate", "count": [ 0, 1 ] }, { "item": "mc_steel_chunk", "count": [ 3, 8 ] } ]
    },
    "bash": {
      "str_min": 80,
      "str_max": 250,
      "sound": "metal screeching!",
      "sound_fail": "clang!",
      "ter_set": "t_mdoor_lab_frame",
      "items": [
        { "item": "scrap", "count": [ 12, 24 ] },
        { "item": "steel_plate", "prob": 75 },
        { "item": "hinge", "count": [ 1, 3 ] }
      ]
    }
  },
  {
    "type": "terrain",
    "id": "t_door_metal_o",
    "name": "open metal door",
    "description": "An extremely resilient door made of assorted steel, carved and pounded into shape.  It's open, so no tools are needed to break in.",
    "symbol": "'",
    "looks_like": "t_door_o",
    "color": "cyan",
    "move_cost": 2,
    "roof": "t_metal_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [ "TRANSPARENT", "FLAT", "ROAD", "SUPPORTS_ROOF" ],
    "close": "t_door_metal_c",
    "bash": {
      "str_min": 80,
      "str_max": 250,
      "sound": "metal screeching!",
      "sound_fail": "clang!",
      "ter_set": "t_mdoor_frame",
      "items": [
        { "item": "scrap", "count": [ 12, 24 ] },
        { "item": "steel_plate", "prob": 75 },
        { "item": "hinge", "count": [ 1, 3 ] }
      ]
    }
  },
  {
    "type": "terrain",
    "id": "t_door_metal_corrugated_o",
    "name": "open corrugated metal door",
    "description": "A thin door made of corrugated steel held in a frame.  It's open, so no tools are needed to break in.",
    "symbol": "'",
    "looks_like": "t_door_o",
    "color": "cyan",
    "move_cost": 2,
    "roof": "t_metal_flat_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [ "TRANSPARENT", "FLAT", "ROAD", "SUPPORTS_ROOF" ],
    "close": "t_door_metal_corrugated_c",
    "bash": {
      "str_min": 30,
      "str_max": 210,
      "sound": "metal screeching!",
      "sound_fail": "clang!",
      "ter_set": "t_mdoor_frame",
      "items": [
        { "item": "scrap", "count": [ 4, 8 ] },
        { "item": "steel_plate", "prob": 75 },
        { "item": "hinge", "count": [ 1, 3 ] }
      ]
    }
  },
  {
    "type": "terrain",
    "id": "t_door_metal_lab_o",
    "name": "open metal door",
    "description": "An extremely resilient door made of assorted steel, carved and pounded into shape.  It's open, so no tools are needed to break in.",
    "symbol": "'",
    "looks_like": "t_door_metal_o",
    "color": "cyan",
    "move_cost": 2,
    "roof": "t_metal_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [ "TRANSPARENT", "FLAT", "ROAD", "SUPPORTS_ROOF" ],
    "close": "t_door_metal_lab_c",
    "bash": {
      "str_min": 80,
      "str_max": 250,
      "sound": "metal screeching!",
      "sound_fail": "clang!",
      "ter_set": "t_mdoor_lab_frame",
      "items": [
        { "item": "scrap", "count": [ 12, 24 ] },
        { "item": "steel_plate", "prob": 75 },
        { "item": "hinge", "count": [ 1, 3 ] }
      ]
    }
  },
  {
    "type": "terrain",
    "id": "t_door_metal_c_peep",
    "name": "closed metal door with peephole",
    "description": "An extremely resilient door made of assorted steel, carved and pounded into shape.  If you examined it more closely, you'd be able to peek through the peephole.",
    "symbol": "+",
    "looks_like": "t_door_metal_c",
    "color": "cyan",
    "move_cost": 0,
    "coverage": 95,
    "roof": "t_metal_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "rotates_to": "INDOORFLOOR",
    "flags": [ "NOITEM", "DOOR", "BLOCK_WIND", "SUPPORTS_ROOF" ],
    "open": "t_door_metal_o_peep",
    "examine_action": "door_peephole",
    "bash": {
      "str_min": 80,
      "str_max": 250,
      "sound": "metal screeching!",
      "sound_fail": "clang!",
      "ter_set": "t_mdoor_frame",
      "items": [
        { "item": "peephole", "prob": 75 },
        { "item": "scrap", "count": [ 12, 24 ] },
        { "item": "steel_plate", "prob": 75 },
        { "item": "hinge", "count": [ 1, 3 ] }
      ]
    }
  },
  {
    "type": "terrain",
    "id": "t_door_metal_o_peep",
    "name": "open metal door with peephole",
    "description": "An extremely resilient door made of assorted steel, carved and pounded into shape.  If you examined it more closely, you'd be able to peek through the peephole.  No need right now though, since the door is open anyway.",
    "symbol": "'",
    "looks_like": "t_door_metal_o",
    "color": "cyan",
    "move_cost": 2,
    "roof": "t_metal_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [ "TRANSPARENT", "FLAT", "ROAD", "SUPPORTS_ROOF" ],
    "close": "t_door_metal_c_peep",
    "bash": {
      "str_min": 80,
      "str_max": 250,
      "sound": "metal screeching!",
      "sound_fail": "clang!",
      "ter_set": "t_mdoor_frame",
      "items": [
        { "item": "peephole", "prob": 75 },
        { "item": "scrap", "count": [ 12, 24 ] },
        { "item": "steel_plate", "prob": 75 },
        { "item": "hinge", "count": [ 1, 3 ] }
      ]
    }
  },
  {
    "type": "terrain",
    "id": "t_door_metal_locked",
    "name": "closed metal door",
    "description": "A galvanized steel door, forged to withstand punishment and impede anyone or anything.  Typically used in conjunction with automated electronic locking mechanisms that require an external source to unlock.",
    "//": "Actually locked",
    "symbol": "+",
    "looks_like": "t_door_metal_c",
    "color": "cyan",
    "move_cost": 0,
    "coverage": 95,
    "roof": "t_metal_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [ "NOITEM", "REDUCE_SCENT", "LOCKED", "BLOCK_WIND", "SUPPORTS_ROOF" ],
    "oxytorch": {
      "result": "t_mdoor_frame",
      "duration": "14 seconds",
      "byproducts": [ { "item": "steel_plate", "count": [ 0, 1 ] }, { "item": "mc_steel_chunk", "count": [ 3, 8 ] } ]
    },
    "bash": {
      "str_min": 80,
      "str_max": 250,
      "sound": "metal screeching!",
      "sound_fail": "clang!",
      "ter_set": "t_mdoor_frame",
      "items": [
        { "item": "scrap", "count": [ 12, 24 ] },
        { "item": "steel_plate", "prob": 75 },
        { "item": "hinge", "count": [ 1, 3 ] }
      ]
    }
  },
  {
    "type": "terrain",
    "id": "t_door_metal_interior_locked",
    "copy-from": "t_door_metal_locked",
    "looks_like": "t_door_metal_pickable",
    "//": "Same as t_door_metal_pickable, but without OPENCLOSE_INSIDE. Due the inheritance issues cannot copy from the t_door_metal_pickable, delete doesn't work with flags",
    "examine_action": "locked_object",
    "lockpick_result": "t_door_metal_c",
    "lockpick_message": "With a satisfying click, the lock on the door opens.",
    "oxytorch": {
      "result": "t_mdoor_frame",
      "duration": "14 seconds",
      "byproducts": [ { "item": "steel_plate", "count": [ 0, 1 ] }, { "item": "mc_steel_chunk", "count": [ 3, 8 ] } ]
    },
    "symbol": "+",
    "color": "cyan",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [ "NOITEM", "REDUCE_SCENT", "LOCKED", "BLOCK_WIND", "PICKABLE", "SUPPORTS_ROOF" ],
    "prying": {
      "result": "t_door_metal_o",
      "message": "You pry open the metal door.",
      "prying_data": { "difficulty": 8, "prying_level": 4, "noisy": true, "failure": "The metal door is too thick." }
    }
  },
  {
    "type": "terrain",
    "id": "t_door_metal_pickable",
    "name": "closed metal door",
    "description": "An extremely resilient door made of assorted steel, carved and pounded into shape.  This one has an extra keyhole, so it's likely locked.  You could probably pick the lock.",
    "//": "Actually pickable, but locked",
    "symbol": "+",
    "looks_like": "t_door_metal_locked",
    "color": "cyan",
    "move_cost": 0,
    "coverage": 95,
    "lockpick_result": "t_door_metal_c",
    "lockpick_message": "With a satisfying click, the lock on the door opens.",
    "roof": "t_metal_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [ "NOITEM", "REDUCE_SCENT", "OPENCLOSE_INSIDE", "LOCKED", "BLOCK_WIND", "PICKABLE", "SUPPORTS_ROOF" ],
    "open": "t_door_metal_o",
    "prying": {
      "result": "t_door_metal_o",
      "message": "You pry open the metal door.",
      "prying_data": { "difficulty": 8, "prying_level": 4, "noisy": true, "failure": "The metal door is too thick." }
    },
    "examine_action": "locked_object",
    "oxytorch": {
      "result": "t_mdoor_frame",
      "duration": "14 seconds",
      "byproducts": [ { "item": "steel_plate", "count": [ 0, 1 ] }, { "item": "mc_steel_chunk", "count": [ 3, 8 ] } ]
    },
    "bash": {
      "str_min": 80,
      "str_max": 250,
      "sound": "metal screeching!",
      "sound_fail": "clang!",
      "ter_set": "t_mdoor_frame",
      "items": [
        { "item": "scrap", "count": [ 12, 24 ] },
        { "item": "steel_plate", "prob": 75 },
        { "item": "hinge", "count": [ 1, 3 ] }
      ]
    }
  },
  {
    "type": "terrain",
    "id": "t_door_bar_c",
    "name": "closed bar door",
    "description": "A detention door made up of crisscrossed stainless steel bars.  The locking mechanism doesn't appear to be engaged.",
    "//": "Unlocked, only created at map gen",
    "symbol": "+",
    "looks_like": "t_door_metal_c",
    "color": "cyan",
    "move_cost": 0,
    "roof": "t_metal_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [ "TRANSPARENT", "NOITEM", "PERMEABLE", "THIN_OBSTACLE", "SUPPORTS_ROOF" ],
    "hacksaw": {
      "result": "t_mdoor_frame",
      "duration": "15 minutes",
      "message": "You finish cutting the metal.",
      "byproducts": [ { "item": "pipe", "count": 12 } ]
    },
    "open": "t_door_bar_o",
    "oxytorch": {
      "result": "t_mdoor_frame",
      "duration": "14 seconds",
      "byproducts": [ { "item": "steel_plate", "count": [ 0, 1 ] }, { "item": "mc_steel_chunk", "count": [ 3, 8 ] } ]
    },
    "bash": {
      "str_min": 45,
      "str_max": 210,
      "str_min_blocked": 55,
      "str_max_blocked": 240,
      "sound": "metal screeching!",
      "sound_fail": "clang!",
      "ter_set": "t_floor",
      "items": [
        { "item": "mc_steel_chunk", "count": [ 1, 4 ] },
        { "item": "scrap", "count": [ 3, 12 ] },
        { "item": "hinge", "count": [ 1, 2 ] }
      ]
    }
  },
  {
    "type": "terrain",
    "id": "t_door_bar_o",
    "name": "open bar door",
    "description": "A detention door made up of crisscrossed stainless steel bars.  It's wide open.  Freedom!",
    "symbol": "'",
    "looks_like": "t_door_metal_o",
    "color": "cyan",
    "move_cost": 2,
    "roof": "t_metal_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [ "TRANSPARENT", "FLAT", "ROAD", "SUPPORTS_ROOF" ],
    "close": "t_door_bar_c",
    "bash": {
      "str_min": 40,
      "str_max": 210,
      "str_min_blocked": 50,
      "str_max_blocked": 240,
      "sound": "metal screeching!",
      "sound_fail": "clang!",
      "ter_set": "t_mdoor_frame",
      "items": [
        { "item": "mc_steel_chunk", "count": [ 1, 4 ] },
        { "item": "scrap", "count": [ 3, 12 ] },
        { "item": "hinge", "count": [ 1, 2 ] }
      ]
    }
  },
  {
    "type": "terrain",
    "id": "t_door_bar_locked",
    "name": "closed bar door",
    "description": "A detention door made up of crisscrossed stainless steel bars.  The locking mechanism appears to be engaged.  You could pick it open with enough skill.",
    "//": "Locked",
    "symbol": "+",
    "looks_like": "t_door_metal_locked",
    "color": "cyan",
    "move_cost": 0,
    "roof": "t_metal_roof",
    "lockpick_result": "t_door_bar_o",
    "lockpick_message": "The door swings open…",
    "hacksaw": {
      "result": "t_mdoor_frame",
      "duration": "15 minutes",
      "message": "You finish cutting the metal.",
      "byproducts": [ { "item": "pipe", "count": 12 } ]
    },
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [ "TRANSPARENT", "NOITEM", "PERMEABLE", "LOCKED", "THIN_OBSTACLE", "PICKABLE", "SUPPORTS_ROOF" ],
    "examine_action": "locked_object_pickable",
    "oxytorch": {
      "result": "t_mdoor_frame",
      "duration": "14 seconds",
      "byproducts": [ { "item": "steel_plate", "count": [ 0, 1 ] }, { "item": "mc_steel_chunk", "count": [ 3, 8 ] } ]
    },
    "bash": {
      "str_min": 45,
      "str_max": 210,
      "str_min_blocked": 55,
      "str_max_blocked": 240,
      "sound": "metal screeching!",
      "sound_fail": "clang!",
      "ter_set": "t_mdoor_frame",
      "items": [
        { "item": "mc_steel_chunk", "count": [ 1, 4 ] },
        { "item": "scrap", "count": [ 3, 12 ] },
        { "item": "hinge", "count": [ 1, 2 ] }
      ]
    }
  },
  {
    "type": "terrain",
    "id": "t_door_glass_c",
    "name": "closed glass door",
    "description": "A sliding glass door, clear enough that an animal or a particularly dumb person could slam right into it.  This one is closed, so don't hurt yourself.",
    "symbol": "+",
    "looks_like": "t_door_c",
    "color": "light_cyan",
    "move_cost": 0,
    "roof": "t_flat_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "rotates_to": "INDOORFLOOR",
    "flags": [ "TRANSPARENT", "DOOR", "NOITEM", "BLOCK_WIND", "SUPPORTS_ROOF" ],
    "open": "t_door_glass_o",
    "deconstruct": { "ter_set": "t_door_frame", "items": [ { "item": "glass_sheet", "count": 1 } ] },
    "bash": {
      "str_min": 6,
      "str_max": 20,
      "sound": "glass breaking!",
      "sound_fail": "whack!",
      "sound_vol": 16,
      "sound_fail_vol": 10,
      "ter_set": "t_door_frame",
      "items": [ { "item": "glass_shard", "count": [ 42, 84 ] } ]
    }
  },
  {
    "type": "terrain",
    "id": "t_door_glass_lab_c",
    "name": "closed glass door",
    "description": "A sliding glass door, clear enough that an animal or a particularly dumb person could slam right into it.  This one is closed, so don't hurt yourself.",
    "symbol": "+",
    "looks_like": "t_door_glass_c",
    "color": "light_cyan",
    "move_cost": 0,
    "roof": "t_flat_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "rotates_to": "INDOORFLOOR",
    "flags": [ "TRANSPARENT", "DOOR", "NOITEM", "SUPPORTS_ROOF" ],
    "open": "t_door_glass_lab_o",
    "deconstruct": { "ter_set": "t_door_frame", "items": [ { "item": "glass_sheet", "count": 1 } ] },
    "bash": {
      "str_min": 6,
      "str_max": 20,
      "sound": "glass breaking!",
      "sound_fail": "whack!",
      "sound_vol": 16,
      "sound_fail_vol": 10,
      "ter_set": "t_strconc_floor",
      "items": [ { "item": "glass_shard", "count": [ 42, 84 ] } ]
    }
  },
  {
    "type": "terrain",
    "id": "t_door_glass_o",
    "name": "open glass door",
    "description": "A sliding glass door that has been left open for all manner of things to travel through.",
    "symbol": "'",
    "looks_like": "t_door_o",
    "color": "light_cyan",
    "move_cost": 2,
    "roof": "t_flat_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [ "TRANSPARENT", "FLAT", "ROAD", "SUPPORTS_ROOF" ],
    "close": "t_door_glass_c",
    "deconstruct": { "ter_set": "t_door_frame", "items": [ { "item": "glass_sheet", "count": 1 } ] },
    "bash": {
      "str_min": 4,
      "str_max": 20,
      "sound": "glass breaking!",
      "sound_fail": "whack!",
      "sound_vol": 16,
      "sound_fail_vol": 10,
      "ter_set": "t_door_frame",
      "items": [ { "item": "glass_shard", "count": [ 42, 84 ] } ]
    }
  },
  {
    "type": "terrain",
    "id": "t_door_glass_lab_o",
    "name": "open glass door",
    "description": "A sliding glass door that has been left open for all manner of things to travel through.",
    "symbol": "'",
    "looks_like": "t_door_glass_o",
    "color": "light_cyan",
    "move_cost": 2,
    "roof": "t_flat_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [ "TRANSPARENT", "FLAT", "ROAD", "SUPPORTS_ROOF" ],
    "close": "t_door_glass_lab_c",
    "deconstruct": { "ter_set": "t_door_frame", "items": [ { "item": "glass_sheet", "count": 1 } ] },
    "bash": {
      "str_min": 4,
      "str_max": 20,
      "sound": "glass breaking!",
      "sound_fail": "whack!",
      "sound_vol": 16,
      "sound_fail_vol": 10,
      "ter_set": "t_strconc_floor",
      "items": [ { "item": "glass_shard", "count": [ 42, 84 ] } ]
    }
  },
  {
    "type": "terrain",
    "id": "t_door_glass_frosted_c",
    "name": "closed frosted glass door",
    "description": "A sliding door of frosted white glass.",
    "symbol": "+",
    "looks_like": "t_door_glass_c",
    "color": "white",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "rotates_to": "INDOORFLOOR",
    "flags": [ "DOOR", "NOITEM", "BLOCK_WIND", "SUPPORTS_ROOF", "TRANSLUCENT" ],
    "open": "t_door_glass_frosted_o",
    "copy-from": "t_door_glass_c"
  },
  {
    "type": "terrain",
    "id": "t_door_glass_frosted_lab_c",
    "name": "closed frosted glass door",
    "description": "A sliding door of frosted white glass.",
    "symbol": "+",
    "looks_like": "t_door_glass_frosted_c",
    "color": "white",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "rotates_to": "INDOORFLOOR",
    "flags": [ "DOOR", "NOITEM", "SUPPORTS_ROOF", "TRANSLUCENT" ],
    "open": "t_door_glass_frosted_lab_o",
    "copy-from": "t_door_glass_frosted_c",
    "bash": {
      "str_min": 4,
      "str_max": 20,
      "sound": "glass breaking!",
      "sound_fail": "whack!",
      "sound_vol": 16,
      "sound_fail_vol": 10,
      "ter_set": "t_strconc_floor",
      "items": [ { "item": "glass_shard", "count": [ 42, 84 ] } ]
    }
  },
  {
    "type": "terrain",
    "id": "t_door_glass_frosted_o",
    "name": "open frosted glass door",
    "description": "A sliding glass door that has been left open for all manner of things to travel through.",
    "symbol": "'",
    "looks_like": "t_door_glass_o",
    "color": "white",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [ "TRANSPARENT", "FLAT", "ROAD", "SUPPORTS_ROOF" ],
    "close": "t_door_glass_frosted_c",
    "copy-from": "t_door_glass_o",
    "bash": {
      "str_min": 4,
      "str_max": 20,
      "sound": "glass breaking!",
      "sound_fail": "whack!",
      "sound_vol": 16,
      "sound_fail_vol": 10,
      "ter_set": "t_floor",
      "items": [ { "item": "glass_shard", "count": [ 42, 84 ] } ]
    }
  },
  {
    "type": "terrain",
    "id": "t_door_glass_frosted_lab_o",
    "name": "open frosted glass door",
    "description": "A sliding glass door that has been left open for all manner of things to travel through.",
    "symbol": "'",
    "looks_like": "t_door_glass_frosted_o",
    "color": "white",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [ "TRANSPARENT", "FLAT", "ROAD", "SUPPORTS_ROOF" ],
    "close": "t_door_glass_frosted_lab_c",
    "copy-from": "t_door_glass_lab_o"
  },
  {
    "type": "terrain",
    "id": "t_door_metal_bulkhead_c",
    "name": "closed bulkhead door",
    "description": "An extremely resilient door made of cast metal, it is watertight and opened using the fly wheel.",
    "symbol": "+",
    "looks_like": "t_door_metal_c",
    "color": "light_gray",
    "move_cost": 0,
    "coverage": 95,
    "roof": "t_metal_flat_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "rotates_to": "INDOORFLOOR",
    "flags": [ "NOITEM", "DOOR", "BLOCK_WIND", "SUPPORTS_ROOF" ],
    "open": "t_door_metal_bulkhead_o",
    "bash": {
      "str_min": 80,
      "str_max": 250,
      "sound": "metal screeching!",
      "sound_fail": "clang!",
      "ter_set": "t_mdoor_frame",
      "items": [ { "item": "scrap", "count": [ 12, 24 ] }, { "item": "steel_plate", "prob": 75 } ]
    }
  },
  {
    "type": "terrain",
    "id": "t_door_metal_bulkhead_o",
    "name": "open bulkhead door",
    "description": "An extremely resilient door made of cast metal, it is watertight, or would be if it was closed.",
    "symbol": "+",
    "looks_like": "t_door_metal_o",
    "color": "light_gray",
    "move_cost": 1,
    "coverage": 95,
    "roof": "t_metal_flat_roof",
    "connect_groups": "WALL",
    "connects_to": "WALL",
    "flags": [ "FLAT", "ROAD", "SUPPORTS_ROOF" ],
    "close": "t_door_metal_bulkhead_c",
    "bash": {
      "str_min": 80,
      "str_max": 250,
      "sound": "metal screeching!",
      "sound_fail": "clang!",
      "ter_set": "t_mdoor_frame",
      "items": [ { "item": "scrap", "count": [ 12, 24 ] }, { "item": "steel_plate", "prob": 75 } ]
    }
  }
]
