[
  {
    "id": "masonrysaw_off",
    "type": "TOOL",
    "name": { "str": "masonry saw (off)", "str_pl": "masonry saws (off)" },
    "description": "A construction tool for cutting through concrete or other surfaces.  It runs on gasoline.  Using this item will cause it to turn on, turning it into a very powerful but unwieldy melee weapon or a terrible chainsaw.",
    "weight": "4500 g",
    "volume": "2500 ml",
    "longest_side": "25 cm",
    "price": 8000,
    "price_postapoc": 500,
    "to_hit": -3,
    "material": [ "steel", "plastic" ],
    "symbol": "/",
    "color": "blue",
    "ammo": [ "gasoline" ],
    "pocket_data": [ { "pocket_type": "MAGAZINE", "ammo_restriction": { "gasoline": 450 }, "watertight": true, "rigid": true } ],
    "charges_per_use": 5,
    "techniques": [ "SWEEP" ],
    "use_action": [ "CHAINSAW_OFF" ],
    "flags": [ "NONCONDUCTIVE", "FRAGILE_MELEE" ],
    "melee_damage": { "bash": 4 }
  },
  {
    "id": "masonrysaw_on",
    "copy-from": "masonrysaw_off",
    "type": "TOOL",
    "name": { "str": "masonry saw (on)", "str_pl": "masonry saws (on)" },
    "description": "This masonry saw is on and making a lot of noise.  Use it to turn it off.",
    "to_hit": -4,
    "turns_per_charge": 4,
    "charges_per_use": 0,
    "revert_to": "masonrysaw_off",
    "techniques": [ "SWEEP" ],
    "qualities": [ [ "AXE", 3 ], [ "BUTCHER", -100 ] ],
    "use_action": [ "TOOLWEAPON_DEACTIVATE" ],
    "tick_action": [ "CIRCSAW_ON" ],
    "flags": [ "MESSY", "TRADER_AVOID", "NONCONDUCTIVE", "POWERED", "FRAGILE_MELEE" ],
    "melee_damage": { "bash": 4, "cut": 70 }
  },
  {
    "id": "electric_masonrysaw_off",
    "type": "TOOL",
    "name": { "str": "electric masonry saw (off)", "str_pl": "electric masonry saws (off)" },
    "description": "A construction tool for cutting through concrete or other surfaces.  It uses electric motor with integrated battery and is compatible with a UPS.  Using this item will cause it to turn on, turning it into a very powerful but unwieldy melee weapon or a terrible chainsaw.",
    "weight": "4500 g",
    "volume": "2500 ml",
    "longest_side": "25 cm",
    "price": 8000,
    "price_postapoc": 500,
    "to_hit": -3,
    "material": [ "steel", "plastic" ],
    "symbol": "/",
    "color": "blue",
    "ammo": [ "battery" ],
    "pocket_data": [ { "pocket_type": "MAGAZINE", "ammo_restriction": { "battery": 2970 }, "rigid": true } ],
    "charges_per_use": 5,
    "techniques": [ "SWEEP" ],
    "use_action": [
      { "target": "electric_masonrysaw_on", "msg": "You turn on the masonry saw.", "active": true, "type": "transform" },
      {
        "type": "link_up",
        "menu_text": "Plug in / Unplug",
        "ammo_scale": 0,
        "cable_length": 33,
        "charge_rate": "2200 W"
      }
    ],
    "flags": [ "NONCONDUCTIVE", "FRAGILE_MELEE", "USE_UPS", "NO_UNLOAD", "NO_RELOAD", "WATER_BREAK", "ELECTRONIC" ],
    "melee_damage": { "bash": 4 }
  },
  {
    "id": "electric_masonrysaw_on",
    "copy-from": "electric_masonrysaw_off",
    "type": "TOOL",
    "name": { "str": "electric masonry saw (on)", "str_pl": "electric masonry saws (on)" },
    "description": "This electric masonry saw is on and making a lot of noise.  Use it to turn it off.",
    "to_hit": -4,
    "//1": "I don't know whether we are allowed to have less than 1 turn per charge. Based on 13.2 to 1 conversion rate between",
    "//2": "epower and gasoline (according to jackhammer tools) it would be 0.3 turns per charge.",
    "turns_per_charge": 1,
    "charges_per_use": 0,
    "revert_to": "electric_masonrysaw_off",
    "techniques": [ "SWEEP" ],
    "qualities": [ [ "AXE", 3 ], [ "BUTCHER", -100 ] ],
    "use_action": [
      "TOOLWEAPON_DEACTIVATE",
      {
        "type": "link_up",
        "menu_text": "Plug in / Unplug",
        "ammo_scale": 0,
        "cable_length": 33,
        "charge_rate": "2200 W"
      }
    ],
    "tick_action": [ "ELECTRIC_CIRCSAW_ON" ],
    "flags": [
      "MESSY",
      "TRADER_AVOID",
      "NONCONDUCTIVE",
      "POWERED",
      "FRAGILE_MELEE",
      "USE_UPS",
      "NO_UNLOAD",
      "NO_RELOAD",
      "WATER_BREAK",
      "ELECTRONIC"
    ],
    "melee_damage": { "bash": 4, "cut": 70 }
  },
  {
    "type": "GENERIC",
    "id": "grinder_blade",
    "symbol": "/",
    "color": "dark_gray",
    "name": { "str": "grinder blade" },
    "description": "A 125mm angle grinder blade.  You could make a power tool with it, or throw it.  Wielding it without sturdy gloves is a bad idea.",
    "category": "spare_parts",
    "price": 20,
    "price_postapoc": 500,
    "material": [ "steel" ],
    "weight": "349 g",
    "volume": "250 ml",
    "flags": [ "HURT_WHEN_WIELDED" ],
    "to_hit": -4,
    "melee_damage": { "cut": 14 }
  }
]
