{
  "__data_type": "UTT ",
  "AutoRemoveKey": {
    "type": "byte",
    "value": 0
  },
  "Comment": {
    "type": "cexostring",
    "value": "How to make a respawning ground trap:\r\n\r\nI have created a script which makes it easy to place respawning traps on the ground.\r\n\r\nThe trap uses a trigger and a waypoint. It is only suitable for use in a corridor. This is because it creates a \"trap mechanism\", ie a trapped trapdoor, on the ground if the player succeeds in noticing the trap using their search skill. The trapdoor can be disarmed, hence disarming the trap. If you place a trap in the middle of the room, it is possible the player would walk over the trigger before they could get to the trapdoor to disarm it, setting off the trap. This would be annoying.\r\n\r\nThe trap is made by placing a trigger in a corridor - the trigger is called A hidden trap and can be found under Generic Trigger. You then place a waypoint in the middle of the trigger. The waypoint is found under custom waypoints and is called jw_traplocation_wp. \r\n\r\nFor examples of how to place the trigger and waypoint, take a look at areas such as Yeven Caverns where I have used them. There are triggers there with the names jw_trap_1_a, jw_trap_1_c, and jw_trap_1_s. You will see the trigger is wide and short, stretching across the corridor with the waypoint in the middle.\r\n\r\nAll you need to do is place the trigger and the waypoint as you see there, make sure the \"on exit\" script of the area is jw_generic_exit, and change the tag of the trigger (do not do anything to the waypoint). The tag of the trigger should be jw_trap_(number)_(letter)\r\n\r\nThe number determines the difficulty of the trap. The letter determines the type of trap it is (ie the type of damage it will do).\r\n\r\nDifficulty:\r\n\r\n1 DC to spot: 15, DC to disarm: 20, Damage: 1d6\r\n2 DC to spot: 20, DC to disarm: 25, Damage: 2d6\r\n3 DC to spot: 25, DC to disarm: 30, Damage: 3d10\r\n4 DC to spot: 30, DC to disarm: 35, Damage: 4d10\r\n5 DC to spot: 35, DC to disarm: 40, Damage: 5d10\r\n\r\nType:\r\n\r\nf: Fire\r\ns: Spike\r\na: Acid\r\ne: Electrical\r\nn: Negative\r\nc: Cold\r\no: Sonic\r\n\r\nSo the tag would be jw_trap_4_n to make a difficulty 4 negative trap, or jw_trap_2_o to make a difficulty 2 sonic trap.\r\n\r\nThat's all you need to do.\r\n\r\nThe trap will damage any PC that walks over the trigger, which of course they cannot see. They can save for half damage. Anyone coming near the trap gets an automatic search check. If they pass the check, the trap mechanism appears. They can then disarm the mechanism, rendering the trap harmless.\r\n\r\nThe trap resets when the area is empty. \r\n\r\n"
  },
  "Cursor": {
    "type": "byte",
    "value": 0
  },
  "DisarmDC": {
    "type": "byte",
    "value": 10
  },
  "Faction": {
    "type": "dword",
    "value": 1
  },
  "HighlightHeight": {
    "type": "float",
    "value": 3.0
  },
  "KeyName": {
    "type": "cexostring",
    "value": ""
  },
  "LinkedTo": {
    "type": "cexostring",
    "value": ""
  },
  "LinkedToFlags": {
    "type": "byte",
    "value": 0
  },
  "LoadScreenID": {
    "type": "word",
    "value": 0
  },
  "LocalizedName": {
    "type": "cexolocstring",
    "value": {
      "0": "A hidden trap"
    }
  },
  "OnClick": {
    "type": "resref",
    "value": ""
  },
  "OnDisarm": {
    "type": "resref",
    "value": ""
  },
  "OnTrapTriggered": {
    "type": "resref",
    "value": ""
  },
  "PaletteID": {
    "type": "byte",
    "value": 3
  },
  "PortraitId": {
    "type": "word",
    "value": 0
  },
  "ScriptHeartbeat": {
    "type": "resref",
    "value": ""
  },
  "ScriptOnEnter": {
    "type": "resref",
    "value": "jw_trap_trig_ent"
  },
  "ScriptOnExit": {
    "type": "resref",
    "value": ""
  },
  "ScriptUserDefine": {
    "type": "resref",
    "value": ""
  },
  "Tag": {
    "type": "cexostring",
    "value": "jw_trap_trigger"
  },
  "TemplateResRef": {
    "type": "resref",
    "value": "jw_trap_trigger"
  },
  "TrapDetectable": {
    "type": "byte",
    "value": 1
  },
  "TrapDetectDC": {
    "type": "byte",
    "value": 10
  },
  "TrapDisarmable": {
    "type": "byte",
    "value": 1
  },
  "TrapFlag": {
    "type": "byte",
    "value": 0
  },
  "TrapOneShot": {
    "type": "byte",
    "value": 1
  },
  "TrapType": {
    "type": "byte",
    "value": 0
  },
  "Type": {
    "type": "int",
    "value": 0
  }
}
