[
  {
    "type": "terrain",
    "id": "t_pit_shallow",
    "name": "shallow pit",
    "description": "A pit that could be dug even deeper or filled up.  Also useful as a starting foundation for some constructions.",
    "symbol": "0",
    "color": "yellow",
    "move_cost": 8,
    "flags": [ "TRANSPARENT", "DIGGABLE", "DIGGABLE_CAN_DEEPEN" ],
    "bash": { "sound": "thump", "ter_set": "t_null", "str_min": 50, "str_max": 100, "str_min_supported": 100, "bash_below": true }
  },
  {
    "type": "terrain",
    "id": "t_pit",
    "name": "pit",
    "description": "A steep hole that could seriously injure something if it fell in, potentially fatal if it was filled with sharp and dangerous things.  Deep enough for more advanced construction projects, and possibly to reach groundwater if constructed properly.",
    "symbol": "0",
    "color": "brown",
    "connect_groups": "PIT_DEEP",
    "connects_to": "PIT_DEEP",
    "move_cost": 10,
    "trap": "tr_pit",
    "flags": [ "TRANSPARENT" ],
    "bash": { "sound": "thump", "ter_set": "t_null", "str_min": 40, "str_max": 100, "str_min_supported": 100, "bash_below": true },
    "examine_action": "pit"
  },
  {
    "type": "terrain",
    "id": "t_pit_corpsed",
    "name": "corpse filled pit",
    "description": "A giant trench full of corpses, maybe even a mass graveyard.  The bodies could be dug out, but nothing in here looks remotely usable.",
    "symbol": "#",
    "color": "green",
    "move_cost": 5,
    "flags": [ "TRANSPARENT", "DIGGABLE", "PIT_FILLABLE" ],
    "bash": { "sound": "thump", "ter_set": "t_null", "str_min": 50, "str_max": 100, "str_min_supported": 100, "bash_below": true },
    "//": "left diggable to clean out corpses-KA101"
  },
  {
    "type": "terrain",
    "id": "t_pit_covered",
    "name": "covered pit",
    "description": "A deep pit with a plank placed across it, looks sturdy enough to cross safely.  The plank could be removed to make it dangerous again.",
    "symbol": "#",
    "color": "light_red",
    "connect_groups": "PIT_DEEP",
    "connects_to": "PIT_DEEP",
    "move_cost": 2,
    "flags": [ "TRANSPARENT", "ROAD" ],
    "bash": { "sound": "thump", "ter_set": "t_null", "str_min": 40, "str_max": 100, "str_min_supported": 100, "bash_below": true },
    "examine_action": "pit_covered"
  },
  {
    "type": "terrain",
    "id": "t_pit_spiked",
    "name": "spiked pit",
    "description": "A narrow trench full of very pointy things that would easily puncture a body.",
    "symbol": "0",
    "color": "light_red",
    "connect_groups": "PIT_DEEP",
    "connects_to": "PIT_DEEP",
    "move_cost": 10,
    "trap": "tr_spike_pit",
    "flags": [ "TRANSPARENT", "PIT_FILLABLE" ],
    "bash": { "sound": "thump", "ter_set": "t_null", "str_min": 40, "str_max": 100, "str_min_supported": 100, "bash_below": true },
    "examine_action": "pit"
  },
  {
    "type": "terrain",
    "id": "t_pit_spiked_covered",
    "name": "covered spiked pit",
    "description": "Menacing with sharp spears along the bottom, this pit has a plank across it to allow someone or something to cross safely.  The plank could be removed to make it dangerous again.",
    "symbol": "#",
    "color": "light_red",
    "connect_groups": "PIT_DEEP",
    "connects_to": "PIT_DEEP",
    "move_cost": 2,
    "flags": [ "TRANSPARENT", "ROAD" ],
    "bash": { "sound": "thump", "ter_set": "t_null", "str_min": 40, "str_max": 100, "str_min_supported": 100, "bash_below": true },
    "examine_action": "pit_covered"
  },
  {
    "type": "terrain",
    "id": "t_pit_glass",
    "name": "glass pit",
    "description": "Looks like a ton of broken glass was dumped into this pit.  Might not fatal to fall in, but it wouldn't be pleasant to try to crawl out.",
    "symbol": "0",
    "color": "light_cyan",
    "connect_groups": "PIT_DEEP",
    "connects_to": "PIT_DEEP",
    "move_cost": 10,
    "trap": "tr_glass_pit",
    "flags": [ "TRANSPARENT", "PIT_FILLABLE" ],
    "bash": { "sound": "thump", "ter_set": "t_null", "str_min": 40, "str_max": 100, "str_min_supported": 100, "bash_below": true },
    "examine_action": "pit"
  },
  {
    "type": "terrain",
    "id": "t_pit_glass_covered",
    "name": "covered glass pit",
    "description": "A plank has been placed carefully to allow traversal over this ditch full of large glass shards.  The plank could be removed to make it dangerous again.",
    "symbol": "#",
    "color": "light_cyan",
    "connect_groups": "PIT_DEEP",
    "connects_to": "PIT_DEEP",
    "move_cost": 2,
    "flags": [ "TRANSPARENT", "ROAD" ],
    "bash": { "sound": "thump", "ter_set": "t_null", "str_min": 40, "str_max": 100, "str_min_supported": 100, "bash_below": true },
    "examine_action": "pit_covered"
  },
  {
    "type": "terrain",
    "id": "t_pit_BEM_human_sample",
    "looks_like": "t_pit_shallow",
    "name": "dead drop pit",
    "description": "A seemingly innocuous shallow pit.  Careful inspection reveals a black canister half-buried in the exposed soil.",
    "symbol": "0",
    "color": "yellow",
    "move_cost": 8,
    "flags": [ "TRANSPARENT" ],
    "examine_action": {
      "type": "effect_on_condition",
      "effect_on_conditions": [
        {
          "id": "EOC_BEM_human_sample_deliver",
          "condition": {
            "and": [ { "u_has_items": { "item": "human_sample", "count": 1 } }, { "u_has_mission": "BEM_human_sample_mission" } ]
          },
          "effect": [
            { "math": [ "u_counter_BEM_BEM_human_sample_reward_owed++" ] },
            { "u_message": "You prepare the drop as instructed", "popup": true },
            { "u_consume_item": "human_sample", "count": 1 },
            { "finish_mission": "BEM_human_sample_mission", "success": true }
          ],
          "false_effect": { "u_message": "You don't have anything to deliver.", "popup": true }
        }
      ]
    },
    "bash": { "sound": "thump", "ter_set": "t_null", "str_min": 50, "str_max": 100, "str_min_supported": 100, "bash_below": true }
  },
  {
    "type": "terrain",
    "id": "t_den_small",
    "name": "small den",
    "description": "A small den that burrowing animals such as groundhogs or hares call home.",
    "symbol": "0",
    "color": "yellow",
    "looks_like": "t_den_large",
    "move_cost": 3,
    "flags": [ "TRANSPARENT", "DIGGABLE" ],
    "bash": { "sound": "thump", "ter_set": "t_null", "str_min": 50, "str_max": 100, "str_min_supported": 100, "bash_below": true }
  },
  {
    "type": "terrain",
    "id": "t_den_large",
    "name": "large den",
    "description": "A large den that burrowing animals such as bears and foxes call home.",
    "symbol": "0",
    "color": "yellow",
    "looks_like": "t_pit_shallow",
    "move_cost": 6,
    "flags": [ "TRANSPARENT", "DIGGABLE" ],
    "bash": { "sound": "thump", "ter_set": "t_null", "str_min": 50, "str_max": 100, "str_min_supported": 100, "bash_below": true }
  },
  {
    "type": "terrain",
    "id": "t_slime",
    "name": "slime",
    "description": "A disgusting, slippery mess.  Could be used to stash things, because who'd want to touch it?",
    "symbol": "~",
    "color": "green",
    "move_cost": 6,
    "flags": [ "TRANSPARENT", "CONTAINER", "PLACE_ITEM" ]
  }
]
