[
  {
    "abstract": "abstract_camera",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "name": { "str": "camera" },
    "material": [ "plastic", "steel" ],
    "charges_per_use": 1,
    "flags": [ "NO_UNLOAD", "NO_RELOAD", "WATER_BREAK_ACTIVE", "ELECTRONIC" ],
    "faults": [ { "fault_group": "electronic_general" } ],
    "e_port": "camera",
    "etransfer_rate": "20 MB",
    "melee_damage": { "bash": 1 },
    "variables": { "browsed": "true" },
    "tool_ammo": [ "battery" ]
  },
  {
    "abstract": "abstract_laptop",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "name": { "str": "laptop" },
    "material": [ { "type": "aluminum", "portion": 75 }, { "type": "plastic", "portion": 25 } ],
    "charges_per_use": 1,
    "etransfer_rate": "30 MB",
    "e_port": "laptop",
    "flags": [ "NO_UNLOAD", "NO_RELOAD", "WATCH", "WATER_BREAK", "ELECTRONIC", "ALLOWS_REMOTE_USE", "CAN_USE_IN_DARK" ],
    "faults": [ { "fault_group": "electronic_general" } ],
    "melee_damage": { "bash": 6 },
    "tool_ammo": [ "battery" ]
  },
  {
    "abstract": "abstract_smart_phone",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "name": { "str": "smartphone" },
    "material": [ { "type": "aluminum", "portion": 75 }, { "type": "plastic", "portion": 25 } ],
    "charges_per_use": 1,
    "etransfer_rate": "30 MB",
    "e_port": "phone",
    "flags": [
      "WATCH",
      "WATER_BREAK",
      "ELECTRONIC",
      "ALARMCLOCK",
      "CALORIES_INTAKE",
      "CAN_USE_IN_DARK",
      "USE_UPS",
      "NO_UNLOAD",
      "NO_RELOAD"
    ],
    "e_ports_banned": [ "USB-A" ],
    "tool_ammo": [ "battery" ]
  },
  {
    "abstract": "abstract_tablet",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "name": { "str": "e-ink tablet" },
    "charges_per_use": 1,
    "etransfer_rate": "30 MB",
    "e_port": "tablet",
    "e_ports_banned": [ "USB-A" ],
    "flags": [ "NO_UNLOAD", "NO_RELOAD", "WATCH", "WATER_BREAK", "ELECTRONIC" ],
    "faults": [ { "fault_group": "electronic_general" } ],
    "variables": { "browsed": "false" },
    "tool_ammo": [ "battery" ]
  },
  {
    "abstract": "abstract_usb_drive",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "name": { "str": "USB drive" },
    "material": [ "plastic", "aluminum" ],
    "e_port": "USB-A",
    "etransfer_rate": "20 MB",
    "to_hit": { "grip": "bad", "length": "hand", "surface": "any", "balance": "clumsy" }
  },
  {
    "abstract": "abstract_memory_card",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "name": { "str": "memory card" },
    "looks_like": "mobile_memory_card",
    "ascii_picture": "memory_card",
    "weight": "1 g",
    "volume": "1 ml",
    "material": [ "plastic" ],
    "flags": [ "MC_MOBILE" ],
    "etransfer_rate": "12 MB",
    "e_port": "memory card"
  },
  {
    "id": "camera",
    "copy-from": "abstract_camera",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "name": { "str": "camera" },
    "description": "A point-and-shoot digital camera with a digital viewfinder, a backup 'iron-sight', and flash.  You can look at your photos on the digital screen, or transfer them with any standard electronic device.",
    "weight": "907 g",
    "volume": "250 ml",
    "price": "200 USD",
    "price_postapoc": "50 cent",
    "symbol": ";",
    "color": "yellow",
    "use_action": [ "CAMERA", { "type": "link_up", "cable_length": 3, "charge_rate": "20 W" } ],
    "//": "swappable, but proprietary 80g Li-Ion battery",
    "pocket_data": [
      { "pocket_type": "MAGAZINE", "rigid": true, "ammo_restriction": { "battery": 50 } },
      {
        "pocket_type": "E_FILE_STORAGE",
        "rigid": true,
        "max_contains_volume": "1 ml",
        "max_contains_weight": "1 g",
        "weight_multiplier": 0.0,
        "ememory_max": "32 GB"
      }
    ]
  },
  {
    "id": "camera_pro",
    "copy-from": "abstract_camera",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "name": { "str": "professional camera" },
    "description": "A 35 mm digital SLR (single-lens reflex) camera with optical and digital viewfinders, a zoom lens with auto-focus and stabilizer, and flash.  You can look at your photos on the digital screen or transfer them with any standard electronic device.  Before the Cataclysm, you could have taken professional-grade photos using this.",
    "weight": "2268 g",
    "volume": "1250 ml",
    "price": "8 kUSD",
    "price_postapoc": "1 USD",
    "symbol": ";",
    "color": "yellow",
    "use_action": [ "CAMERA", { "type": "link_up", "cable_length": 3, "charge_rate": "50 W" } ],
    "flags": [ "NO_UNLOAD", "NO_RELOAD", "WATER_BREAK_ACTIVE", "ELECTRONIC", "CAMERA_PRO", "ALWAYS_TWOHAND" ],
    "faults": [ { "fault_group": "electronic_general" } ],
    "//": "swappable, but proprietary 160g Li-Ion battery",
    "pocket_data": [
      { "pocket_type": "MAGAZINE", "rigid": true, "ammo_restriction": { "battery": 100 } },
      {
        "pocket_type": "E_FILE_STORAGE",
        "rigid": true,
        "max_contains_volume": "1 ml",
        "max_contains_weight": "1 g",
        "weight_multiplier": 0.0,
        "ememory_max": "64 GB"
      }
    ]
  },
  {
    "id": "cell_phone",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "name": { "str": "cellphone" },
    "description": "A cellphone, an older cousin of the smartphone that is still popular in certain circles due to its reliability and sturdiness.  Using the phone will turn it on and provide light, assuming it is sufficiently charged.  It also tells the time and has an alarm feature.",
    "//": "Nokia 105 4G, 26g Li-Ion battery",
    "weight": "95 g",
    "volume": "88 ml",
    "material": [ { "type": "aluminum", "portion": 75 }, { "type": "plastic", "portion": 25 } ],
    "price": "90 USD",
    "price_postapoc": "15 cent",
    "symbol": ";",
    "color": "light_gray",
    "charges_per_use": 1,
    "use_action": [
      {
        "target": "cell_phone_flashlight",
        "msg": "You light up the screen.",
        "active": true,
        "need_charges": 1,
        "need_charges_msg": "The cellphone's batteries need more charge.",
        "type": "transform"
      },
      { "type": "link_up", "cable_length": 3, "charge_rate": "20 W" }
    ],
    "flags": [ "NO_UNLOAD", "NO_RELOAD", "WATCH", "ALARMCLOCK", "WATER_BREAK", "ELECTRONIC" ],
    "faults": [ { "fault_group": "electronic_general" } ],
    "pocket_data": [ { "pocket_type": "MAGAZINE", "rigid": true, "ammo_restriction": { "battery": 17 } } ],
    "tool_ammo": [ "battery" ]
  },
  {
    "id": "cell_phone_flashlight",
    "copy-from": "cell_phone",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "name": { "str": "cellphone - Flashlight", "str_pl": "cellphones - Flashlight" },
    "power_draw": "500 mW",
    "revert_to": "cell_phone",
    "use_action": [
      {
        "ammo_scale": 0,
        "target": "cell_phone",
        "msg": "You turn off the screen.",
        "menu_text": "Turn off",
        "type": "transform"
      },
      { "type": "link_up", "cable_length": 3, "charge_rate": "20 W" }
    ],
    "faults": [ { "fault_group": "electronic_general" } ],
    "flags": [ "NO_UNLOAD", "NO_RELOAD", "WATCH", "LIGHT_8", "CHARGEDIM", "TRADER_AVOID", "WATER_BREAK", "ELECTRONIC" ]
  },
  {
    "id": "directional_antenna",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "name": { "str": "directional antenna" },
    "description": "An antenna designed to pick up signals better when pointed at the source.  You could use this with a radio to receive faint signals.",
    "weight": "454 g",
    "volume": "500 ml",
    "longest_side": "60 cm",
    "price": "8 USD",
    "price_postapoc": "2 USD 50 cent",
    "material": [ "copper", "wood" ],
    "symbol": ",",
    "color": "light_gray",
    "use_action": [ "DIRECTIONAL_ANTENNA" ]
  },
  {
    "id": "e_handcuffs",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "name": { "str_sp": "electronic handcuffs" },
    "description": "A pair of electronic handcuffs, used by police and riot bots to detain captives.  Their continuous siren clearly identifies the wearer as an arrested criminal and alerts human police.  Wait for their arrival, don't try to escape or to remove the cuffs - they will administer an electric shock.\nHowever, since the only police likely to respond are undead, you may have a long wait ahead, unless you get creative…",
    "weight": "2000 g",
    "volume": "500 ml",
    "price": "0 cent",
    "price_postapoc": "0 cent",
    "material": [ "plastic", "steel" ],
    "symbol": ";",
    "color": "white",
    "max_charges": 3000,
    "turns_per_charge": 1,
    "use_action": [ "EHANDCUFFS" ],
    "tick_action": [ "EHANDCUFFS_TICK" ],
    "//": "Don't add ELECTRONIC flag here, since these handcuffs have their own behavior when affected by EMP blast",
    "flags": [ "ALWAYS_TWOHAND", "TRADER_AVOID", "WATER_BREAK" ]
  },
  {
    "id": "eink_tablet_pc",
    "copy-from": "abstract_tablet",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "name": { "str": "e-ink tablet PC" },
    "description": "A tablet PC using an efficient color e-ink display.  Before the Cataclysm, these were nifty gadgets; now, they are extremely useful tools.  Runs on conventional batteries.",
    "//": "amazon kindle, LIONX 6300mAh battery 42 ml",
    "weight": "158 g",
    "volume": "137 ml",
    "longest_side": "158 mm",
    "price": "85 USD",
    "price_postapoc": "10 USD",
    "material": [ { "type": "aluminum", "portion": 3 }, { "type": "plastic", "portion": 1 } ],
    "symbol": ";",
    "color": "blue",
    "use_action": [
      "E_FILE_DEVICE",
      "EBOOKSAVE",
      {
        "type": "transform",
        "menu_text": "Turn on the screen",
        "msg": "You power up the screen.",
        "target": "eink_tablet_pc_on",
        "active": true,
        "need_charges": 1,
        "need_charges_msg": "The tablet batteries are dead."
      },
      { "type": "link_up", "cable_length": 4, "charge_rate": "10 W" }
    ],
    "pocket_data": [
      { "pocket_type": "MAGAZINE", "rigid": true, "ammo_restriction": { "battery": 85 } },
      {
        "pocket_type": "E_FILE_STORAGE",
        "rigid": true,
        "max_contains_volume": "1 ml",
        "max_contains_weight": "1 g",
        "weight_multiplier": 0.0,
        "ememory_max": "32 GB"
      }
    ]
  },
  {
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "id": "eink_tablet_pc_on",
    "copy-from": "eink_tablet_pc",
    "name": { "str": "e-ink tablet PC (on)", "str_pl": "e-ink tablet PCs (on)" },
    "power_draw": "2 W",
    "revert_to": "eink_tablet_pc",
    "use_action": [
      "E_FILE_DEVICE",
      "EBOOKSAVE",
      {
        "ammo_scale": 0,
        "type": "transform",
        "menu_text": "Turn off the screen",
        "msg": "You power down the screen.",
        "target": "eink_tablet_pc"
      },
      { "type": "link_up", "cable_length": 4, "charge_rate": "10 W" }
    ],
    "tick_action": [ "EPIC_MUSIC" ],
    "//": "LIGHT_10 is the bare minimum for reading without penalties",
    "faults": [ { "fault_group": "electronic_general" } ],
    "flags": [ "NO_UNLOAD", "NO_RELOAD", "WATCH", "WATER_BREAK", "ELECTRONIC", "LIGHT_10", "TRADER_AVOID" ]
  },
  {
    "id": "usb_drive",
    "copy-from": "abstract_usb_drive",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "symbol": ",",
    "color": "white",
    "name": { "str": "USB drive" },
    "description": "A USB thumb drive.  Useful for holding electronic data.",
    "price": "12 USD",
    "price_postapoc": "10 cent",
    "weight": "4536 mg",
    "volume": "4 ml",
    "longest_side": "5 cm",
    "pocket_data": [
      {
        "pocket_type": "SOFTWARE",
        "max_contains_volume": "1 L",
        "max_contains_weight": "1 kg",
        "//": "obsolete; remove after 0.I"
      },
      {
        "pocket_type": "E_FILE_STORAGE",
        "rigid": true,
        "max_contains_volume": "1 ml",
        "max_contains_weight": "1 g",
        "weight_multiplier": 0.0,
        "ememory_max": "128 GB"
      }
    ],
    "//": "Based on https://www.amazon.com/dp/B015CH1PJU"
  },
  {
    "id": "usb_drive_older",
    "copy-from": "usb_drive",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "name": { "str": "older USB drive" },
    "description": "A USB thumb drive.  Maybe a decade out of date, but still useful for holding electronic data.",
    "pocket_data": [
      {
        "pocket_type": "E_FILE_STORAGE",
        "rigid": true,
        "max_contains_volume": "1 ml",
        "max_contains_weight": "1 g",
        "weight_multiplier": 0.0,
        "ememory_max": "32 GB"
      }
    ]
  },
  {
    "id": "portable_hard_drive",
    "copy-from": "abstract_usb_drive",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "symbol": ",",
    "color": "white",
    "name": { "str": "portable hard drive" },
    "description": "A portable external hard drive, the best in affordable mass storage.  Useful for holding lots of electronic data.",
    "price": "100 USD",
    "price_postapoc": "50 cent",
    "weight": "190 g",
    "volume": "138 ml",
    "longest_side": "12 cm",
    "pocket_data": [
      { "pocket_type": "SOFTWARE", "max_contains_volume": "1 L", "max_contains_weight": "1 kg" },
      {
        "pocket_type": "E_FILE_STORAGE",
        "rigid": true,
        "max_contains_volume": "1 ml",
        "max_contains_weight": "1 g",
        "weight_multiplier": 0.0,
        "ememory_max": "2 TB"
      }
    ],
    "//": "Based on https://www.amazon.com/Seagate-Portable-External-Hard-Drive/dp/B07CRG94G3"
  },
  {
    "id": "memory_card",
    "copy-from": "abstract_memory_card",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "name": { "str": "memory card" },
    "description": "A memory card, can be used to store data.",
    "symbol": ",",
    "color": "white",
    "price": "10 USD",
    "price_postapoc": "10 cent",
    "pocket_data": [
      {
        "pocket_type": "E_FILE_STORAGE",
        "rigid": true,
        "max_contains_volume": "1 ml",
        "max_contains_weight": "1 g",
        "weight_multiplier": 0.0,
        "ememory_max": "64 GB"
      }
    ]
  },
  {
    "id": "memory_card_older",
    "copy-from": "memory_card",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "name": { "str": "older memory card" },
    "description": "A memory card.  Maybe a decade out of date, but can still be used to store data.",
    "pocket_data": [
      {
        "pocket_type": "E_FILE_STORAGE",
        "rigid": true,
        "max_contains_volume": "1 ml",
        "max_contains_weight": "1 g",
        "weight_multiplier": 0.0,
        "ememory_max": "16 GB"
      }
    ]
  },
  {
    "type": "ITEM",
    "id": "memory_card_unread",
    "copy-from": "memory_card",
    "name": { "str": "memory card" },
    "//": "migrated, do not use and remove later"
  },
  {
    "type": "ITEM",
    "id": "memory_card_science",
    "copy-from": "memory_card",
    "name": { "str": "memory card (XEDRA)", "str_pl": "memory cards (XEDRA)" },
    "description": "A memory card, can be used to store data.  This one has a label on which is written 'XEDRA' followed by a long string of numbers."
  },
  {
    "id": "electrohack",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "category": "tools",
    "name": { "str": "electrohack" },
    "description": "This device has many ports attached, allowing it to connect to almost any control panel or other electronic machine (but not computers).  With a little skill, it can be used to crack passwords and more.",
    "//": "hackrf one, + 300 ml for cables and antenna + slot for battery because real hackrf works from usb, not something we can emulate here",
    "weight": "114 g",
    "volume": "478 ml",
    "price": "340 USD",
    "price_postapoc": "2 USD",
    "material": [ "plastic", "aluminum" ],
    "ascii_picture": "electrohack",
    "symbol": ",",
    "color": "green",
    "flags": [ "WATER_BREAK", "ELECTRONIC" ],
    "faults": [ { "fault_group": "electronic_general" } ],
    "pocket_data": [
      {
        "pocket_type": "MAGAZINE_WELL",
        "rigid": true,
        "flag_restriction": [ "BATTERY_MEDIUM" ],
        "default_magazine": "medium_battery_cell"
      }
    ],
    "charges_per_use": 1,
    "qualities": [ [ "HACK", 2 ] ],
    "tool_ammo": [ "battery" ]
  },
  {
    "id": "geiger_off",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "name": { "str": "Geiger counter (off)", "str_pl": "Geiger counters (off)" },
    "description": "A tool for measuring radiation.  Using it will prompt you to choose whether to scan yourself or the terrain, or to turn on continuous scan, which will provide continuous feedback on ambient radiation.  It is currently off.",
    "//": "https://www.amazon.com/dp/B0B541D433 but AA instead of 14500",
    "weight": "231 g",
    "volume": "161 ml",
    "price": "68 USD",
    "price_postapoc": "20 cent",
    "material": [ "plastic", "aluminum" ],
    "symbol": ";",
    "color": "green",
    "flags": [ "WATER_BREAK" ],
    "charges_per_use": 1,
    "use_action": [ "GEIGER" ],
    "pocket_data": [
      {
        "pocket_type": "MAGAZINE_WELL",
        "rigid": true,
        "flag_restriction": [ "BATTERY_LIGHT" ],
        "default_magazine": "light_battery_cell"
      }
    ],
    "melee_damage": { "bash": 2 },
    "tool_ammo": [ "battery" ]
  },
  {
    "id": "geiger_on",
    "copy-from": "geiger_off",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "name": { "str": "Geiger counter (on)", "str_pl": "Geiger counters (on)" },
    "description": "A tool for measuring radiation.  It is in continuous scan mode, and will produce quiet clicking sounds in the presence of ambient radiation.  Using it allows you to turn it off, or scan yourself or the ground.",
    "power_draw": "200 mW",
    "revert_to": "geiger_off",
    "use_action": {
      "target": "geiger_off",
      "msg": "The Geiger counter's SCANNING LED turns off.",
      "ammo_scale": 0,
      "menu_text": "Turn off",
      "type": "transform"
    },
    "tick_action": [ "GEIGER_ACTIVE" ],
    "flags": [ "TRADER_AVOID", "WATER_BREAK" ]
  },
  {
    "id": "resonance_measurement_device",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "name": { "str": "Otherworldly measuring device" },
    "description": "This strange contraption appears to be little more than a laminated box built around a battery, a poorly backlit screen, and a wound spool of cloth netting.  The letters \"X E D R A\" are emblazoned on the side.  To operate the device, unfurl the netting and place it around the object to analyze.  Despite not appearing to do anything, it consumes an enormous amount of electricity and provides a brief numerical readout.",
    "weight": "600 g",
    "volume": "900 ml",
    "price": "1500000 USD",
    "price_postapoc": "15 USD",
    "material": [ "plastic", "aluminum", "cotton" ],
    "symbol": ";",
    "color": "green",
    "flags": [ "WATER_BREAK" ],
    "charges_per_use": 2400,
    "use_action": [ "MEASURE_RESONANCE" ],
    "//": "Battery only, intentionally. Meant for field expeditions to other dimensions where grid power is unavailable. Too advanced for the player to make grid-useable.",
    "pocket_data": [ { "pocket_type": "MAGAZINE_WELL", "rigid": true, "item_restriction": [ "heavy_atomic_battery_cell" ] } ],
    "melee_damage": { "bash": 2 },
    "tool_ammo": [ "battery" ]
  },
  {
    "id": "nre_recorder",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "name": { "str": "NRE recorder" },
    "description": "A strange apparatus, seemingly consisting of a glass-encased microphone linked to a small thermal printer and digital screen.  The screen remains perpetually blank, save for a battery indicator on its upper right, and on its left side lies a single red button: \"PRINT DATA\".",
    "weight": "225 g",
    "volume": "2735 ml",
    "price": "150 USD",
    "price_postapoc": "1 USD",
    "material": [ "plastic", "aluminum" ],
    "symbol": ";",
    "color": "red",
    "flags": [ "WATER_BREAK" ],
    "charges_per_use": 10,
    "use_action": {
      "type": "effect_on_conditions",
      "description": "Activate the recorder's printer.",
      "effect_on_conditions": [ "print_nre_data" ]
    },
    "pocket_data": [
      {
        "pocket_type": "MAGAZINE_WELL",
        "rigid": true,
        "flag_restriction": [ "BATTERY_MEDIUM" ],
        "default_magazine": "medium_battery_cell"
      }
    ],
    "melee_damage": { "bash": 2 },
    "tool_ammo": [ "battery" ]
  },
  {
    "id": "hand_crank_charger",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "category": "tools",
    "name": { "str": "hand-crank charger" },
    "description": "A hand-powered battery charger.  It has an adjustable receptacle designed to accept a wide variety of rechargeable battery cells.",
    "weight": "2000 g",
    "volume": "500 ml",
    "price": "10 USD",
    "price_postapoc": "2 USD 50 cent",
    "material": [ "plastic" ],
    "symbol": ":",
    "color": "light_gray",
    "flags": [ "WATER_BREAK" ],
    "use_action": [ "HAND_CRANK" ],
    "pocket_data": [
      {
        "pocket_type": "MAGAZINE_WELL",
        "rigid": true,
        "flag_restriction": [ "BATTERY_MEDIUM", "BATTERY_LIGHT", "BATTERY_ULTRA_LIGHT" ],
        "default_magazine": "light_battery_cell"
      }
    ],
    "tool_ammo": [ "battery" ]
  },
  {
    "id": "laptop",
    "copy-from": "abstract_laptop",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "category": "tools",
    "name": { "str": "laptop computer" },
    "description": "A portable computer, a ubiquitous tool both before and after the cataclysm.  While you no longer have internet access, you still can load it with books and other useful software.",
    "//": "https://www.amazon.com/dp/B0D6Z664QC, battery is FRANGWAT01",
    "symbol": ",",
    "color": "dark_gray",
    "price": "1049 USD",
    "price_postapoc": "2 USD 50 cent",
    "weight": "1319 g",
    "volume": "703 ml",
    "longest_side": "322 mm",
    "use_action": [
      "E_FILE_DEVICE",
      "EBOOKSAVE",
      "PORTABLE_GAME",
      {
        "target": "laptop_screen_lit",
        "msg": "You light up the screen.",
        "menu_text": "Light up the screen",
        "active": true,
        "need_charges": 1,
        "need_charges_msg": "The laptop's batteries need more charge.",
        "type": "transform"
      },
      { "type": "link_up", "cable_length": 5, "charge_rate": "140 W" }
    ],
    "pocket_data": [
      { "pocket_type": "MAGAZINE", "rigid": true, "ammo_restriction": { "battery": 200 } },
      {
        "pocket_type": "E_FILE_STORAGE",
        "rigid": true,
        "max_contains_volume": "1 ml",
        "max_contains_weight": "1 g",
        "weight_multiplier": 0.0,
        "ememory_max": "1 TB"
      }
    ]
  },
  {
    "id": "laptop_screen_lit",
    "copy-from": "laptop",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "name": { "str": "laptop computer - lit screen", "str_pl": "laptop computers - lit screen" },
    "power_draw": "1 W",
    "revert_to": "laptop",
    "use_action": [
      "E_FILE_DEVICE",
      "EBOOKSAVE",
      "PORTABLE_GAME",
      {
        "ammo_scale": 0,
        "target": "laptop",
        "msg": "You stop lighting up the screen.",
        "menu_text": "Turn off",
        "type": "transform"
      },
      { "type": "link_up", "cable_length": 5, "charge_rate": "140 W" }
    ],
    "tick_action": [ "EPIC_MUSIC" ],
    "faults": [ { "fault_group": "electronic_general" } ],
    "flags": [ "NO_UNLOAD", "NO_RELOAD", "WATCH", "LIGHT_10", "TRADER_AVOID", "WATER_BREAK", "ELECTRONIC", "ALLOWS_REMOTE_USE" ]
  },
  {
    "id": "mp3",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "name": { "str": "mp3 player (off)", "str_pl": "mp3 players (off)" },
    "description": "This battery-powered device is loaded up with someone's music collection.  Fortunately, there's lots of songs you like, and listening to it will raise your morale slightly.  Use it to turn it on.",
    "//": "Sony NWE394 Walkman",
    "weight": "40 g",
    "volume": "36 ml",
    "price": "40 USD",
    "price_postapoc": "2 cent",
    "material": [ { "type": "aluminum", "portion": 75 }, { "type": "plastic", "portion": 25 } ],
    "ascii_picture": "mp3",
    "symbol": ";",
    "color": "dark_gray",
    "use_action": [ "MP3", { "type": "link_up", "cable_length": 2, "charge_rate": "5 W" } ],
    "charges_per_use": 1,
    "flags": [ "NO_UNLOAD", "NO_RELOAD", "WATER_BREAK_ACTIVE", "ELECTRONIC" ],
    "faults": [ { "fault_group": "electronic_general" } ],
    "pocket_data": [ { "pocket_type": "MAGAZINE", "rigid": true, "ammo_restriction": { "battery": 50 } } ],
    "tool_ammo": [ "battery" ]
  },
  {
    "id": "mp3_on",
    "copy-from": "mp3",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "name": { "str": "mp3 player (on)", "str_pl": "mp3 players (on)" },
    "description": "This mp3 player is turned on and playing some great tunes, raising your morale steadily while on your person.  It runs through batteries quickly; you can turn it off by using it.  It also obscures your hearing.",
    "power_draw": "1 W",
    "revert_to": "mp3",
    "tick_action": [ "MP3_ON" ],
    "use_action": [ "MP3_DEACTIVATE", { "type": "link_up", "cable_length": 2, "charge_rate": "5 W" } ],
    "faults": [ { "fault_group": "electronic_general" } ],
    "flags": [ "NO_UNLOAD", "NO_RELOAD", "TRADER_AVOID", "WATER_BREAK", "ELECTRONIC" ]
  },
  {
    "id": "noise_emitter",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "name": { "str": "noise emitter (off)", "str_pl": "noise emitters (off)" },
    "description": "A device constructed by 'enhancing' a speaker with some amplifier circuits.  It has no other use besides emitting loud crackling static noise that could distract zombies.",
    "weight": "340 g",
    "volume": "1 L",
    "price": "0 cent",
    "price_postapoc": "50 cent",
    "to_hit": { "grip": "solid", "length": "hand", "surface": "any", "balance": "neutral" },
    "material": [ "plastic", "aluminum" ],
    "symbol": ";",
    "color": "yellow",
    "charges_per_use": 1,
    "use_action": {
      "target": "noise_emitter_on",
      "msg": "You turn the noise emitter on.",
      "menu_text": "Turn on",
      "active": true,
      "type": "transform"
    },
    "flags": [ "RADIO_MODABLE", "RADIO_INVOKE_PROC", "WATER_BREAK" ],
    "pocket_data": [
      {
        "pocket_type": "MAGAZINE_WELL",
        "rigid": true,
        "flag_restriction": [ "BATTERY_HEAVY", "BATTERY_MEDIUM", "BATTERY_LIGHT", "BATTERY_ULTRA_LIGHT" ],
        "default_magazine": "light_battery_cell"
      }
    ],
    "melee_damage": { "bash": 2 },
    "tool_ammo": [ "battery" ]
  },
  {
    "id": "noise_emitter_on",
    "copy-from": "noise_emitter",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "name": { "str": "noise emitter (on)", "str_pl": "noise emitters (on)" },
    "description": "A homemade device that is emitting horrible crackles, pops, and other loud static sounds.  Quick, get away from it before it draws zombies to you!",
    "power_draw": "10 W",
    "revert_to": "noise_emitter",
    "use_action": {
      "target": "noise_emitter",
      "msg": "The infernal racket dies as the noise emitter turns off.",
      "ammo_scale": 0,
      "menu_text": "Turn off",
      "active": false,
      "type": "transform"
    },
    "tick_action": [ "NOISE_EMITTER_ON" ],
    "flags": [ "RADIO_MODABLE", "RADIO_INVOKE_PROC", "TRADER_AVOID", "WATER_BREAK" ]
  },
  {
    "id": "emf_detector",
    "//": "Based off the TRIFIELD EMF Meter Model TF2.  Supposed to use 9volt, but uses medium battery instead",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "name": { "str": "EMF detector (off)", "str_pl": "EMF detectors (off)" },
    "description": "This device detects and reads out different electromagnetic wave lengths.  It beeps with proximity and is sensitive enough you could use it to get a sense of direction.",
    "weight": "240 g",
    "volume": "355 ml",
    "price": "0 cent",
    "price_postapoc": "50 cent",
    "to_hit": { "grip": "solid", "length": "hand", "surface": "any", "balance": "neutral" },
    "material": [ "plastic", "aluminum" ],
    "symbol": ";",
    "color": "yellow",
    "charges_per_use": 1,
    "use_action": {
      "type": "transform",
      "msg": "You turn the EMF detector on.",
      "target": "emf_detector_on",
      "active": true,
      "need_charges_msg": "It's dead."
    },
    "flags": [ "WATER_BREAK", "ELECTRONIC" ],
    "faults": [ { "fault_group": "electronic_general" } ],
    "pocket_data": [
      {
        "pocket_type": "MAGAZINE_WELL",
        "rigid": true,
        "flag_restriction": [ "BATTERY_MEDIUM" ],
        "default_magazine": "medium_battery_cell"
      }
    ],
    "melee_damage": { "bash": 2 },
    "tool_ammo": [ "battery" ]
  },
  {
    "id": "emf_detector_on",
    "copy-from": "emf_detector",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "name": { "str": "EMF detector (on)", "str_pl": "EMF detectors (on)" },
    "description": "This device detects and reads out different wave lengths.  It is currently on, humming and beeping with proximity.  It is sensitive enough you could use it to get a sense of direction.",
    "//": "lasts 12 hours with backlight off",
    "power_draw": "1 W",
    "revert_to": "emf_detector",
    "use_action": {
      "type": "transform",
      "target": "emf_detector",
      "msg": "The noise of your EMF detector slows to a halt.",
      "ammo_scale": 0,
      "menu_text": "Turn off"
    },
    "tick_action": [ "EMF_PASSIVE_ON" ],
    "faults": [ { "fault_group": "electronic_general" } ],
    "flags": [ "TRADER_AVOID", "WATER_BREAK", "ELECTRONIC" ]
  },
  {
    "id": "portable_game",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "name": { "str": "handheld game system" },
    "description": "A portable video game console, with a backlit screen allowing you to play in the dark.  You can use it to play a game, but this requires batteries.  Multiple game systems can be linked together for multiplayer games.",
    "//": "Nintendo Switch",
    "weight": "362 g",
    "volume": "341 ml",
    "price": "292 USD",
    "price_postapoc": "3 cent",
    "material": [ { "type": "aluminum", "portion": 75 }, { "type": "plastic", "portion": 25 } ],
    "symbol": ";",
    "color": "light_gray",
    "charges_per_use": 1,
    "flags": [ "NO_UNLOAD", "NO_RELOAD", "WATER_BREAK", "ELECTRONIC" ],
    "faults": [ { "fault_group": "electronic_general" } ],
    "use_action": [ "PORTABLE_GAME", { "type": "link_up", "cable_length": 4, "charge_rate": "39 W" } ],
    "pocket_data": [ { "pocket_type": "MAGAZINE", "rigid": true, "ammo_restriction": { "battery": 48 } } ],
    "tool_ammo": [ "battery" ]
  },
  {
    "id": "smart_phone",
    "copy-from": "abstract_smart_phone",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "name": { "str": "smartphone" },
    "description": "A popular, fancy smartphone.  Capable of taking photos with its integrated camera and illuminating an area with its flashlight app, assuming it has enough charge.  The smartphone also has a clock app that includes an alarm and an app for tracking consumed calories.  Runs on a small, rechargeable power cell compatible with a Unified Power Supply.",
    "//": "stats from samsung galaxy s24",
    "weight": "233 g",
    "volume": "111 ml",
    "longest_side": "15 cm",
    "price": "1299 USD",
    "price_postapoc": "1 USD",
    "looks_like": "cell_phone",
    "symbol": ";",
    "color": "light_gray",
    "use_action": [
      "E_FILE_DEVICE",
      "EBOOKSAVE",
      "CAMERA",
      "MP3",
      "CALORIES_INTAKE_TRACKER",
      "PORTABLE_GAME",
      {
        "target": "smart_phone_flashlight",
        "msg": "You activate the flashlight app.",
        "menu_text": "Turn on flashlight",
        "active": true,
        "need_charges": 1,
        "need_charges_msg": "The smartphone's charge is too low.",
        "type": "transform"
      },
      { "type": "link_up", "cable_length": 3, "charge_rate": "20 W" }
    ],
    "faults": [ { "fault_group": "electronic_general" } ],
    "pocket_data": [
      { "pocket_type": "MAGAZINE", "rigid": true, "ammo_restriction": { "battery": 56 } },
      {
        "pocket_type": "E_FILE_STORAGE",
        "rigid": true,
        "max_contains_volume": "1 ml",
        "max_contains_weight": "1 g",
        "weight_multiplier": 0.0,
        "ememory_max": "256 GB"
      }
    ]
  },
  {
    "id": "smartphone_music",
    "copy-from": "smart_phone",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "name": { "str": "smartphone - music", "str_pl": "smartphones - music" },
    "description": "This phone is playing music, steadily raising your morale.  You can't hear anything else while you're listening.",
    "power_draw": "300 mW",
    "revert_to": "smart_phone",
    "use_action": [
      "E_FILE_DEVICE",
      "EBOOKSAVE",
      "PORTABLE_GAME",
      "MP3_DEACTIVATE",
      { "type": "link_up", "cable_length": 3, "charge_rate": "20 W" }
    ],
    "tick_action": [ "MP3_ON" ],
    "extend": { "flags": [ "TRADER_AVOID" ] }
  },
  {
    "id": "smart_phone_flashlight",
    "copy-from": "smart_phone",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "name": { "str": "smartphone - Flashlight", "str_pl": "smartphones - Flashlight" },
    "power_draw": "1500 mW",
    "revert_to": "smart_phone",
    "use_action": [
      "E_FILE_DEVICE",
      "EBOOKSAVE",
      "PORTABLE_GAME",
      {
        "ammo_scale": 0,
        "target": "smart_phone",
        "msg": "You deactivate the flashlight app.",
        "menu_text": "Turn off flashlight",
        "type": "transform"
      },
      { "type": "link_up", "cable_length": 3, "charge_rate": "20 W" }
    ],
    "extend": { "flags": [ "LIGHT_20", "CHARGEDIM", "TRADER_AVOID" ] }
  },
  {
    "id": "smart_phone_locked",
    "copy-from": "smart_phone",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "name": { "str": "smartphone (locked)", "str_pl": "smartphones (locked)" },
    "description": "A popular, fancy smartphone.  Sadly for you, its previous user used its security features, rendering you unable to use most of its qualities.  You are still able to check the time and use a flashlight.  Runs on a small, rechargeable power cell compatible with a Unified Power Supply.",
    "etransfer_rate": "0 MB",
    "e_port": "",
    "use_action": [
      {
        "target": "smart_phone_locked_flashlight",
        "msg": "You activate the flashlight app.",
        "menu_text": "Turn on flashlight",
        "active": true,
        "need_charges": 1,
        "need_charges_msg": "The smartphone's charge is too low.",
        "type": "transform"
      },
      { "type": "link_up", "cable_length": 3, "charge_rate": "20 W" },
      {
        "type": "effect_on_conditions",
        "menu_text": "Recover",
        "description": "You can reset the smartphone to be able to use all its functions.",
        "effect_on_conditions": [ "EOC_SMARTPHONE_RECOVERY" ]
      }
    ],
    "faults": [ { "fault_group": "electronic_general" } ],
    "pocket_data": [
      { "pocket_type": "MAGAZINE", "rigid": true, "ammo_restriction": { "battery": 56 } },
      {
        "forbidden": true,
        "//": "forbidden, so items still can spawn inside, but are not accessible by default.",
        "pocket_type": "E_FILE_STORAGE",
        "rigid": true,
        "max_contains_volume": "1 ml",
        "max_contains_weight": "1 g",
        "weight_multiplier": 0.0,
        "ememory_max": "256 GB"
      }
    ]
  },
  {
    "id": "smart_phone_locked_flashlight",
    "copy-from": "smart_phone_locked",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "name": { "str": "smartphone (locked) - Flashlight", "str_pl": "smartphones (locked) - Flashlight" },
    "power_draw": "1500 mW",
    "revert_to": "smart_phone_locked",
    "use_action": [
      {
        "ammo_scale": 0,
        "target": "smart_phone_locked",
        "msg": "You deactivate the flashlight app.",
        "menu_text": "Turn off flashlight",
        "type": "transform"
      },
      { "type": "link_up", "cable_length": 3, "charge_rate": "20 W" }
    ],
    "extend": { "flags": [ "LIGHT_20", "CHARGEDIM", "TRADER_AVOID" ] }
  },
  {
    "id": "UPS_off",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "name": { "str": "UPS", "str_pl": "UPSes" },
    "description": "A unified power supply, or UPS.  It is a device developed jointly by military and scientific interests for use in combat and the field.  The UPS is designed to power tools, smartphones, armor, and some guns, but drains batteries quickly.",
    "weight": "680 g",
    "volume": "2500 ml",
    "price": "2 kUSD 800 USD",
    "price_postapoc": "15 USD",
    "to_hit": { "grip": "none", "length": "short", "surface": "any", "balance": "uneven" },
    "material": [ "aluminum", "plastic" ],
    "symbol": ";",
    "color": "light_gray",
    "flags": [ "IS_UPS" ],
    "pocket_data": [
      {
        "pocket_type": "MAGAZINE_WELL",
        "flag_restriction": [ "BATTERY_HEAVY" ],
        "default_magazine": "heavy_plus_battery_cell"
      }
    ],
    "melee_damage": { "bash": 8 },
    "tool_ammo": [ "battery" ]
  },
  {
    "id": "UPS_ON",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "name": { "str": "UPS (on)", "str_pl": "UPSes (on)" },
    "description": "A unified power supply, or UPS.  It is a device developed jointly by military and scientific interests for use in combat and the field.  The UPS is designed to power tools, smartphones, armor, and some guns, but drains batteries quickly.",
    "//": "Intended as an inverter that attaches to a battery, therefore it's volume will expand based on the size of battery attached.",
    "weight": "680 g",
    "volume": "2500 ml",
    "price": "2 kUSD 800 USD",
    "price_postapoc": "15 USD",
    "to_hit": { "grip": "none", "length": "short", "surface": "any", "balance": "uneven" },
    "material": [ "aluminum", "plastic" ],
    "symbol": ";",
    "color": "light_gray",
    "flags": [ "IS_UPS" ],
    "pocket_data": [
      {
        "pocket_type": "MAGAZINE_WELL",
        "flag_restriction": [ "BATTERY_HEAVY" ],
        "default_magazine": "heavy_plus_battery_cell"
      }
    ],
    "charges_per_use": 1,
    "use_action": {
      "ammo_scale": 0,
      "target": "UPS_OFF",
      "msg": "The charger is turned off.",
      "menu_text": "Turn off",
      "type": "transform"
    },
    "melee_damage": { "bash": 8 },
    "tool_ammo": [ "battery" ]
  },
  {
    "id": "UPS_OFF",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "name": { "str": "UPS (off)", "str_pl": "UPSes (off)" },
    "description": "A unified power supply, or UPS.  It is a device developed jointly by military and scientific interests for use in combat and the field.  The UPS is designed to power tools, smartphones, armor, and some guns, but drains batteries quickly.  Use it to turn it on.",
    "//": "Intended as an inverter that attaches to a battery, therefore it's volume will expand based on the size of battery attached.",
    "weight": "680 g",
    "volume": "2500 ml",
    "price": "2 kUSD 800 USD",
    "price_postapoc": "15 USD",
    "to_hit": { "grip": "none", "length": "short", "surface": "any", "balance": "uneven" },
    "material": [ "aluminum", "plastic" ],
    "symbol": ";",
    "color": "light_gray",
    "pocket_data": [
      {
        "pocket_type": "MAGAZINE_WELL",
        "flag_restriction": [ "BATTERY_HEAVY" ],
        "default_magazine": "heavy_plus_battery_cell"
      }
    ],
    "charges_per_use": 1,
    "use_action": {
      "ammo_scale": 0,
      "target": "UPS_ON",
      "msg": "You turn the charger on.",
      "active": true,
      "need_charges": 1,
      "need_charges_msg": "The charger's battery is empty.",
      "type": "transform"
    },
    "melee_damage": { "bash": 8 },
    "tool_ammo": [ "battery" ]
  },
  {
    "id": "methanol_fuel_cell",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "name": { "str": "methanol fuel cell UPS", "str_pl": "methanol fuel cell UPSes" },
    "description": "A direct methanol fuel cell which can provide power to UPS-compatible electronic devices by oxidizing methanol supplied from a specialized fuel tank to produce electricity.",
    "weight": "7800 g",
    "volume": "24390 ml",
    "longest_side": "448 mm",
    "price": "2 kUSD 800 USD",
    "price_postapoc": "15 USD",
    "material": [ "aluminum", "plastic" ],
    "symbol": ";",
    "color": "light_gray",
    "flags": [ "IS_UPS" ],
    "pocket_data": [ { "pocket_type": "MAGAZINE_WELL", "flag_restriction": [ "METHANOL_TANK" ], "default_magazine": "5l_methanol_tank" } ],
    "tool_ammo": [ "methanol_fuelcell" ]
  },
  {
    "id": "vibrator",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "name": { "str": "vibrator" },
    "description": "This battery-devouring device is just the thing to knead the tension out and help you relax.  Use it to take a break and unwind.",
    "weight": "181 g",
    "volume": "327 ml",
    "longest_side": "198 mm",
    "price": "29 USD",
    "price_postapoc": "3 cent",
    "material": [ "aluminum", "plastic" ],
    "symbol": ";",
    "color": "dark_gray",
    "charges_per_use": 1,
    "use_action": [ "VIBE", { "type": "link_up", "cable_length": 3, "charge_rate": "10 W" } ],
    "flags": [ "WATER_BREAK", "NO_UNLOAD", "NO_RELOAD", "ELECTRONIC" ],
    "faults": [ { "fault_group": "electronic_general" } ],
    "pocket_data": [ { "pocket_type": "MAGAZINE", "rigid": true, "ammo_restriction": { "battery": 58 } } ],
    "tool_ammo": [ "battery" ]
  },
  {
    "id": "gas_charger",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "name": { "str": "gas-powered UPS (off)", "str_pl": "gas-powered UPSes (off)" },
    "description": "A compact thermoelectric generator.  Burns propane gas to charge UPS devices.  Use it to turn it on.",
    "weight": "680 g",
    "volume": "2500 ml",
    "price": "2 kUSD 800 USD",
    "price_postapoc": "15 USD",
    "to_hit": { "grip": "none", "length": "short", "surface": "any", "balance": "uneven" },
    "material": [ "aluminum", "plastic" ],
    "symbol": ";",
    "color": "light_gray",
    "flags": [ "IS_UPS", "ALLOWS_REMOTE_USE" ],
    "pocket_data": [
      {
        "pocket_type": "MAGAZINE_WELL",
        "rigid": true,
        "flag_restriction": [ "GAS_TANK" ],
        "default_magazine": "small_propane_tank"
      }
    ],
    "charges_per_use": 1,
    "use_action": {
      "target": "gas_charger_on",
      "msg": "You turn the charger on.",
      "active": true,
      "need_charges": 1,
      "need_charges_msg": "The charger's tank is empty.",
      "type": "transform"
    },
    "melee_damage": { "bash": 8 },
    "tool_ammo": [ "propane" ]
  },
  {
    "id": "gas_charger_on",
    "copy-from": "gas_charger",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "name": { "str": "gas-powered UPS (on)", "str_pl": "gas-powered UPSes (on)" },
    "description": "A compact thermoelectric generator.  When connected to a propane tank, it will slowly charge UPS-compatible devices.",
    "power_draw": "60 mW",
    "fuel_efficiency": 0.3,
    "revert_to": "gas_charger",
    "use_action": {
      "ammo_scale": 0,
      "target": "gas_charger",
      "msg": "The charger is extinguished.",
      "menu_text": "Turn off",
      "type": "transform"
    }
  },
  {
    "id": "noise_emitter_super",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "name": { "str": "super noise emitter (off)", "str_pl": "super noise emitters (off)" },
    "description": "This is a noisemaker that has been further enhanced with a series of amplifiers.  It's about as loud something can get without making you vomit from sound-induced nausea, and it's as sure to attract every zombie in town as it is to give you permanent hearing damage.",
    "//": "I estimate this thing is about 130 decibels.  Commercial amps can hit similar noise levels at a 100-200w of power input, the survivor's is less efficient.",
    "weight": "6 kg",
    "volume": "4 L",
    "longest_side": "30 cm",
    "price": "0 cent",
    "price_postapoc": "90 cent",
    "to_hit": { "grip": "bad", "length": "hand", "surface": "any", "balance": "clumsy" },
    "material": [ "plastic", "aluminum", "steel" ],
    "symbol": ";",
    "color": "yellow",
    "charges_per_use": 1,
    "use_action": {
      "target": "noise_emitter_super_on",
      "msg": "You turn the super noise emitter on.",
      "menu_text": "Turn on",
      "active": true,
      "type": "transform"
    },
    "flags": [ "RADIO_MODABLE", "RADIO_INVOKE_PROC", "WATER_BREAK" ],
    "pocket_data": [
      {
        "pocket_type": "MAGAZINE_WELL",
        "rigid": true,
        "flag_restriction": [ "BATTERY_MEDIUM" ],
        "default_magazine": "medium_battery_cell"
      }
    ],
    "melee_damage": { "bash": 6 },
    "tool_ammo": [ "battery" ]
  },
  {
    "id": "noise_emitter_super_on",
    "copy-from": "noise_emitter_super",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "name": { "str": "super noise emitter (on)", "str_pl": "super noise emitters (on)" },
    "description": "This is a noisemaker that has been further enhanced with a series of amplifiers.  It's currently making an extraordinary amount of noise - hopefully you have hearing protection.",
    "power_draw": "250 W",
    "revert_to": "noise_emitter_super",
    "use_action": {
      "target": "noise_emitter_super",
      "msg": "The infernal racket dies as the super noise emitter turns off.",
      "ammo_scale": 0,
      "menu_text": "Turn off",
      "active": false,
      "type": "transform"
    },
    "tick_action": {
      "type": "effect_on_conditions",
      "effect_on_conditions": [
        {
          "id": "EOC_toolweapon_running__supernoisemaker",
          "effect": {
            "run_eocs": "EOC_toolweapon_running",
            "variables": {
              "sound_chance": "0",
              "sound_message": { "i18n": true, "str": "Your super noise emitter produces an unholy blast of sonic chaos." },
              "volume": "300",
              "revert_to": "noise_emitter_super"
            }
          }
        }
      ]
    },
    "flags": [ "RADIO_MODABLE", "RADIO_INVOKE_PROC", "TRADER_AVOID", "WATER_BREAK", "POWERED" ]
  }
]
