[
  {
    "id": "laptop_xedra",
    "copy-from": "laptop",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "category": "tools",
    "name": { "str": "XEDRA laptop" },
    "description": "A heavy, dark laptop with a swappable battery slot.  The back panel is labeled \"PROPERTY OF XEDRA\".  It uses a non-standard OS, so there's not much you can use it for without reinstalling it.",
    "symbol": ",",
    "color": "dark_gray",
    "use_action": [
      {
        "type": "effect_on_conditions",
        "menu_text": "Try to open locked folders",
        "description": "You can guess a password and check some classified information, if it has any.",
        "effect_on_conditions": [ "EOC_READ_LOCAL_FILES_XEDRA" ]
      },
      {
        "target": "laptop_xedra_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"
      },
      {
        "target": "laptop",
        "msg": "Reinstall the OS.",
        "menu_text": "You can reinstall the OS to use it as a common laptop.",
        "need_charges": 50,
        "need_charges_msg": "The laptop's batteries need more charge.",
        "type": "transform",
        "moves": 180000
      },
      {
        "type": "link_up",
        "menu_text": "Plug in / Unplug",
        "ammo_scale": 0,
        "cable_length": 5,
        "charge_rate": "140 W"
      }
    ],
    "flags": [ "WATCH", "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": 6 }
  },
  {
    "id": "laptop_xedra_lit",
    "copy-from": "laptop_xedra",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "name": { "str": "XEDRA laptop - lit screen", "str_pl": "XEDRA laptops - lit screen" },
    "power_draw": "1 W",
    "revert_to": "laptop_xedra",
    "use_action": [
      {
        "type": "effect_on_conditions",
        "menu_text": "Try to open locked folders",
        "description": "You can guess a password and check some classified information, if it has any.",
        "effect_on_conditions": [ "EOC_READ_LOCAL_FILES_XEDRA" ]
      },
      {
        "ammo_scale": 0,
        "target": "laptop_xedra",
        "msg": "You stop lighting up the screen.",
        "menu_text": "Turn off",
        "type": "transform"
      },
      {
        "type": "link_up",
        "menu_text": "Plug in / Unplug",
        "ammo_scale": 0,
        "cable_length": 5,
        "charge_rate": "140 W"
      }
    ],
    "faults": [ { "fault_group": "electronic_general" } ],
    "flags": [ "WATCH", "LIGHT_10", "TRADER_AVOID", "WATER_BREAK", "ELECTRONIC" ]
  }
]
