[
  {
    "id": "psionic_shield_belt",
    "type": "TOOL_ARMOR",
    "name": { "str": "shield belt" },
    "description": "A simple synthetic fabric belt with a box to the right of the belt loop.  The box has a toggleable switch and a stylized shield with Ψ and the XEDRA logo inside it.",
    "weight": "350 g",
    "volume": "500 ml",
    "price": 10000,
    "price_postapoc": 500,
    "material": [ "nylon", "steel", "nether_crystal" ],
    "symbol": "[",
    "looks_like": "leather_belt",
    "color": "yellow",
    "material_thickness": 1.5,
    "pocket_data": [ { "pocket_type": "MAGAZINE", "ammo_restriction": { "psionic_charge_power": 90 } } ],
    "use_action": [
      {
        "type": "transform",
        "msg": "You flip the switch on the box and a red LED lights up.",
        "target": "psionic_shield_belt_on",
        "active": true,
        "need_charges": 1,
        "need_charges_msg": "The switch clicks but nothing happens.",
        "need_worn": true,
        "menu_text": "Flip the switch"
      }
    ],
    "flags": [ "BELTED", "OVERSIZE", "NONCONDUCTIVE", "NO_REPAIR", "COMBAT_TOGGLEABLE", "NO_UNLOAD" ],
    "armor": [
      {
        "encumbrance": 2,
        "coverage": 50,
        "covers": [ "torso" ],
        "specifically_covers": [ "torso_waist" ],
        "volume_encumber_modifier": 0.35
      }
    ],
    "relic_data": { "charge_info": { "recharge_type": "periodic", "time": "60 s", "regenerate_ammo": true } },
    "//": "Recharge time is 60 seconds due to bug #48019, making it actually 30 seconds. Reduce to 30 seconds if that ever gets fixed."
  },
  {
    "id": "psionic_shield_belt_on",
    "type": "TOOL_ARMOR",
    "name": { "str": "shield belt (active)", "str_pl": "shield belts (active)" },
    "copy-from": "psionic_shield_belt",
    "turns_per_charge": 1,
    "revert_to": "psionic_shield_belt",
    "use_action": [
      {
        "ammo_scale": 0,
        "target": "psionic_shield_belt",
        "msg": "You flip the switch on the box and the red LED turns off.",
        "menu_text": "Flip the switch",
        "type": "transform"
      }
    ],
    "extend": { "flags": [ "NO_TAKEOFF" ] },
    "relic_data": {
      "passive_effects": [
        {
          "has": "WORN",
          "condition": "ALWAYS",
          "values": [
            { "value": "ARMOR_CUT", "add": -15 },
            { "value": "ARMOR_BASH", "add": -8 },
            { "value": "ARMOR_STAB", "add": -20 },
            { "value": "ARMOR_BULLET", "add": -40 }
          ]
        }
      ]
    }
  },
  {
    "id": "psionic_shield_belt_broken",
    "type": "TOOL_ARMOR",
    "name": { "str": "shield belt" },
    "copy-from": "psionic_shield_belt",
    "description": "A simple synthetic fabric belt with a box to the right of the belt loop.  The box has a toggleable switch and a stylized shield with Ψ and the XEDRA logo inside it.  It also has a large crack across it and rattles when moved.",
    "use_action": [
      {
        "type": "transform",
        "msg": "You flip the switch on the box, but nothing happens.",
        "target": "psionic_shield_belt_broken",
        "need_worn": true,
        "menu_text": "Flip the switch"
      }
    ],
    "pocket_data": [ { "pocket_type": "MAGAZINE", "ammo_restriction": { "psionic_charge_power": 90 } } ],
    "relic_data": { "passive_effects": [ { "has": "HELD", "condition": "ALWAYS", "values": [ { "value": "MAX_MANA", "add": 0 } ] } ] }
  },
  {
    "id": "psionic_fire_shield_belt",
    "type": "TOOL_ARMOR",
    "name": { "str": "suppression belt" },
    "description": "A simple synthetic fabric belt with a box to the right of the belt loop.  The box has a toggleable switch and a stylized flame with a large circle and line superimposed over it and a Ψ behind the XEDRA logo inside it.",
    "weight": "350 g",
    "volume": "500 ml",
    "price": 10000,
    "price_postapoc": 500,
    "material": [ "nylon", "steel", "nether_crystal" ],
    "symbol": "[",
    "looks_like": "leather_belt",
    "color": "red",
    "material_thickness": 1.5,
    "pocket_data": [ { "pocket_type": "MAGAZINE", "ammo_restriction": { "psionic_charge_power": 300 } } ],
    "use_action": [
      {
        "type": "transform",
        "msg": "You flip the switch on the box and a red LED lights up.",
        "target": "psionic_fire_shield_belt_on",
        "active": true,
        "need_charges": 1,
        "need_charges_msg": "The switch clicks but nothing happens.",
        "need_worn": true,
        "menu_text": "Flip the switch"
      }
    ],
    "flags": [ "BELTED", "OVERSIZE", "NONCONDUCTIVE", "NO_REPAIR", "COMBAT_TOGGLEABLE", "NO_UNLOAD" ],
    "armor": [
      {
        "encumbrance": 2,
        "coverage": 50,
        "covers": [ "torso" ],
        "specifically_covers": [ "torso_waist" ],
        "volume_encumber_modifier": 0.35
      }
    ],
    "relic_data": { "charge_info": { "recharge_type": "periodic", "time": "30 s", "regenerate_ammo": true } },
    "//": "Recharge time is 30 seconds due to bug #48019, making it actually 15 seconds. Reduce to 15 seconds if that ever gets fixed."
  },
  {
    "id": "psionic_fire_shield_belt_on",
    "type": "TOOL_ARMOR",
    "name": { "str": "suppression belt (active)", "str_pl": "suppression belts (active)" },
    "copy-from": "psionic_fire_shield_belt",
    "turns_per_charge": 1,
    "revert_to": "psionic_fire_shield_belt",
    "use_action": [
      {
        "ammo_scale": 0,
        "target": "psionic_fire_shield_belt",
        "msg": "You flip the switch on the box and the red LED turns off.",
        "menu_text": "Flip the switch",
        "type": "transform"
      }
    ],
    "extend": { "flags": [ "NO_TAKEOFF" ] },
    "relic_data": {
      "passive_effects": [
        {
          "has": "WORN",
          "condition": "ALWAYS",
          "values": [ { "value": "ARMOR_HEAT", "multiply": -1.0 }, { "value": "CLIMATE_CONTROL_CHILL", "add": 1000 } ]
        }
      ]
    }
  },
  {
    "id": "psionic_fire_shield_belt_broken",
    "type": "TOOL_ARMOR",
    "copy-from": "psionic_fire_shield_belt",
    "name": { "str": "suppression belt" },
    "description": "A simple synthetic fabric belt with a box to the right of the belt loop.  The box has a toggleable switch and a stylized flame with a large circle and line superimposed over it and a Ψ behind the XEDRA logo inside it.  It also has a large crack across it and rattles when moved.",
    "use_action": [
      {
        "type": "transform",
        "msg": "You flip the switch on the box, but nothing happens.",
        "target": "psionic_fire_shield_belt_broken",
        "need_worn": true,
        "menu_text": "Flip the switch"
      }
    ],
    "pocket_data": [ { "pocket_type": "MAGAZINE", "ammo_restriction": { "psionic_charge_power": 300 } } ],
    "relic_data": { "passive_effects": [ { "has": "HELD", "condition": "ALWAYS", "values": [ { "value": "MAX_MANA", "add": 0 } ] } ] }
  }
]
