[
  {
    "id": "pyrokinetic_flashlight",
    "type": "TOOL",
    "name": { "str": "everglow matrix flashlight (off)", "str_pl": "everglow matrix flashlights (off)" },
    "description": "A household flashlight enhanced with matrix technology.  It is slighly dimmer but will last significantly longer.",
    "material": [ "plastic", "aluminum", "nether_crystal" ],
    "symbol": ";",
    "color": "blue",
    "weight": "280 g",
    "volume": "270 ml",
    "longest_side": "14 cm",
    "price": 1500,
    "price_postapoc": 500,
    "charges_per_use": 1,
    "ammo": [ "battery" ],
    "flags": [ "BELT_CLIP", "WATER_BREAK_ACTIVE" ],
    "use_action": {
      "type": "transform",
      "msg": "You turn the flashlight on.",
      "target": "pyrokinetic_flashlight_on",
      "active": true,
      "need_charges": 1,
      "need_charges_msg": "The flashlight's batteries are dead."
    },
    "pocket_data": [
      {
        "pocket_type": "MAGAZINE_WELL",
        "rigid": true,
        "flag_restriction": [ "BATTERY_LIGHT", "BATTERY_ULTRA_LIGHT" ],
        "default_magazine": "light_disposable_cell"
      }
    ]
  },
  {
    "id": "pyrokinetic_flashlight_on",
    "copy-from": "pyrokinetic_flashlight",
    "type": "TOOL",
    "name": { "str": "everglow matrix flashlight (on)", "str_pl": "everglow matrix flashlights (on)" },
    "power_draw": "2 W",
    "revert_to": "pyrokinetic_flashlight",
    "use_action": {
      "menu_text": "Turn off",
      "type": "transform",
      "msg": "You turn the flashlight off.",
      "target": "pyrokinetic_flashlight",
      "ammo_scale": 0
    },
    "flags": [ "LIGHT_225", "CHARGEDIM", "TRADER_AVOID", "BELT_CLIP", "WATER_BREAK" ]
  },
  {
    "id": "pyrokinetic_lamp",
    "type": "TOOL",
    "name": { "str": "everglow matrix lamp (covered)", "str_pl": "everglow matrix lamps (covered)" },
    "description": "Powered by matrix technology, this lamp will shed a reddish light for far longer than a standard battery-powered lamp.  Activate to open the lid.",
    "weight": "1438 g",
    "volume": "1 L",
    "price": 175000,
    "price_postapoc": 4000,
    "to_hit": -2,
    "melee_damage": { "bash": 8 },
    "material": [ "plastic", "aluminum", "nether_crystal" ],
    "symbol": ",",
    "color": "red",
    "use_action": {
      "type": "transform",
      "target": "pyrokinetic_lamp_on",
      "active": true,
      "need_charges": 1,
      "need_charges_msg": "The lamp's batteries are dead.",
      "msg": "You open the lamp's cover.",
      "menu_text": "Open cover"
    },
    "pocket_data": [
      {
        "pocket_type": "MAGAZINE_WELL",
        "rigid": true,
        "flag_restriction": [ "BATTERY_LIGHT", "BATTERY_ULTRA_LIGHT" ],
        "default_magazine": "light_disposable_cell"
      }
    ],
    "flags": [ "LEAK_DAM", "ALLOWS_REMOTE_USE", "WATER_BREAK_ACTIVE" ]
  },
  {
    "id": "pyrokinetic_lamp_on",
    "type": "TOOL",
    "name": { "str": "everglow matrix lamp (uncovered)", "str_pl": "everglow matrix lamps (uncovered)" },
    "copy-from": "pyrokinetic_lamp",
    "description": "Powered by matrix technology, this lamp will shed a reddish light for far longer than a standard battery-powered lamp.  Activate to close the lid.",
    "power_draw": "2 W",
    "use_action": { "type": "transform", "target": "pyrokinetic_lamp", "msg": "You close the lamp's cover.", "menu_text": "Close cover" },
    "flags": [ "LIGHT_150", "LEAK_DAM", "ALLOWS_REMOTE_USE", "CHARGEDIM", "TRADER_AVOID", "WATER_BREAK" ]
  },
  {
    "type": "GENERIC",
    "id": "standing_pyrokinetic_lamp",
    "name": { "str": "disconnected standing matrix lamp" },
    "description": "A tall floor lamp that provides illumination when plugged into a power outlet.  This lamp is enhanced with matrix technology.",
    "weight": "2500 g",
    "to_hit": -1,
    "material": [ "plastic", "steel" ],
    "volume": "2 L",
    "longest_side": "170 cm",
    "melee_damage": { "bash": 5 },
    "price": 9000,
    "price_postapoc": 500,
    "symbol": "L",
    "color": "white",
    "looks_like": "f_floor_lamp"
  }
]
