[
  {
    "type": "GENERIC",
    "id": "test_standing_lamp",
    "name": { "str": "standing lamp" },
    "description": "An electrical device containing an electric lamp that provides illumination once plugged into a power outlet.",
    "weight": "2500 g",
    "to_hit": -1,
    "material": [ "plastic", "steel" ],
    "volume": "2 L",
    "longest_side": "170 cm",
    "price": 9000,
    "price_postapoc": 500,
    "symbol": "L",
    "color": "white",
    "looks_like": "f_floor_lamp",
    "melee_damage": { "bash": 5 }
  },
  {
    "id": "ap_test_standing_lamp",
    "type": "vehicle_part",
    "name": { "str": "standing lamp" },
    "item": "test_standing_lamp",
    "categories": [ "lighting" ],
    "color": "white",
    "broken_color": "blue",
    "durability": 20,
    "description": "An electrical device containing an electric lamp that provides illumination.",
    "epower": "-20 W",
    "bonus": 200,
    "damage_modifier": 10,
    "looks_like": "f_floor_lamp",
    "breaks_into": [
      { "item": "cable", "charges": [ 1, 4 ] },
      { "item": "steel_chunk", "count": [ 0, 2 ] },
      { "item": "scrap", "count": [ 1, 2 ] }
    ],
    "flags": [ "CIRCLE_LIGHT", "APPLIANCE", "ENABLED_DRAINS_EPOWER", "CTRL_ELECTRONIC" ],
    "requirements": { "removal": { "time": "6 m" } },
    "variants": [ { "symbols": "*", "symbols_broken": "-" } ]
  },
  {
    "type": "TOOL",
    "id": "test_power_cord",
    "name": { "str": "power cord" },
    "description": "A power cord, like you've seen many times before: it's a short multi-stranded copper cord with power outlet at the end.",
    "to_hit": 1,
    "color": "dark_gray",
    "symbol": "&",
    "material": [ "steel", "plastic" ],
    "volume": "500 ml",
    "weight": "75 g",
    "category": "tools",
    "price": 1,
    "price_postapoc": 100,
    "max_charges": 3,
    "initial_charges": 3,
    "use_action": { "type": "link_up", "targets": [ "no_link", "vehicle_port", "vehicle_battery" ] },
    "flags": [ "CABLE_SPOOL", "NO_DROP" ],
    "melee_damage": { "bash": 2 }
  },
  {
    "type": "vehicle_part",
    "id": "test_power_cord",
    "name": { "str": "power cord" },
    "categories": [ "other" ],
    "color": "yellow",
    "broken_color": "dark_gray",
    "damage_modifier": 10,
    "epower": "0 W",
    "//": "Epower for POWER_TRANSFER stuff is how much percentage-wise loss there is in transmission",
    "durability": 120,
    "description": "A power cord sticking out of an appliance.  You need to plug it into a powered grid for the appliance to work properly.",
    "item": "test_power_cord",
    "flags": [ "NO_INSTALL_HIDDEN", "NO_UNINSTALL", "UNMOUNT_ON_DAMAGE", "POWER_TRANSFER" ],
    "variants": [ { "symbols": "{", "symbols_broken": "s" } ]
  },
  {
    "type": "TOOL",
    "id": "test_extension_cable",
    "name": { "str": "extension cord" },
    "description": "A long 30-ft (or about 10 m) orange extension cord for connecting appliances.  Could be used on any appliance or other household electrical system.",
    "copy-from": "jumper_cable",
    "max_charges": 10,
    "initial_charges": 10,
    "use_action": { "type": "link_up", "targets": [ "no_link", "vehicle_port", "vehicle_battery" ] }
  },
  {
    "type": "vehicle_part",
    "id": "test_extension_cable",
    "name": { "str": "extension cord" },
    "categories": [ "other" ],
    "color": "yellow",
    "broken_color": "dark_gray",
    "damage_modifier": 10,
    "epower": "1 kW",
    "//": "Epower for POWER_TRANSFER stuff is how much percentage-wise loss there is in transmission",
    "durability": 120,
    "description": "A long orange extension cord for connecting appliances.  Currently plugged in.",
    "item": "test_extension_cable",
    "requirements": { "removal": { "time": "5 s" } },
    "flags": [ "NO_INSTALL_HIDDEN", "UNMOUNT_ON_DAMAGE", "POWER_TRANSFER" ],
    "breaks_into": [ { "item": "cable", "charges": [ 1, 10 ] }, { "item": "plastic_chunk", "count": [ 1, 2 ] } ],
    "variants": [ { "symbols": "{", "symbols_broken": "*" } ]
  },
  {
    "type": "TOOL",
    "id": "test_power_cord_25_loss",
    "name": { "str": "test_power_cord_25_loss item" },
    "description": "test 25% loss extension cord.",
    "to_hit": 1,
    "color": "dark_gray",
    "symbol": "&",
    "material": [ "steel", "plastic" ],
    "volume": "500 ml",
    "weight": "75 g",
    "category": "tools",
    "price": 1,
    "price_postapoc": 100,
    "max_charges": 3,
    "initial_charges": 3,
    "use_action": { "type": "link_up", "targets": [ "no_link", "vehicle_port", "vehicle_battery" ] },
    "flags": [ "CABLE_SPOOL", "NO_DROP", "SINGLE_USE" ],
    "melee_damage": { "bash": 2 }
  },
  {
    "type": "vehicle_part",
    "id": "test_power_cord_25_loss",
    "name": { "str": "test 25% loss extension cord part" },
    "categories": [ "other" ],
    "color": "yellow",
    "broken_color": "dark_gray",
    "damage_modifier": 10,
    "epower": "25 kW",
    "//": "Epower for POWER_TRANSFER stuff is how much percentage-wise loss there is in transmission",
    "durability": 120,
    "description": "A long orange extension cord for connecting appliances.  Currently plugged in.",
    "item": "test_power_cord_25_loss",
    "requirements": { "removal": { "time": "5 s" } },
    "flags": [ "NO_INSTALL_HIDDEN", "UNMOUNT_ON_DAMAGE", "POWER_TRANSFER" ],
    "breaks_into": [ { "item": "cable", "charges": [ 1, 10 ] }, { "item": "plastic_chunk", "count": [ 1, 2 ] } ],
    "variants": [ { "symbols": "{", "symbols_broken": "*" } ]
  },
  {
    "id": "test_storage_battery",
    "type": "MAGAZINE",
    "category": "veh_parts",
    "name": { "str": "large storage battery", "str_pl": "large storage batteries" },
    "description": "A large storage battery containing many lithium-ion cells.  Could be installed into a storage battery case for easy removal from a vehicle, or just welded straight in.",
    "weight": "75 kg",
    "volume": "25 L",
    "price": 200000,
    "price_postapoc": 1500,
    "to_hit": -2,
    "material": [ "plastic", "steel" ],
    "symbol": ":",
    "color": "light_cyan",
    "ammo_type": [ "battery" ],
    "capacity": 10000000,
    "count": 10000000,
    "flags": [ "NO_SALVAGE", "NO_UNLOAD", "NO_RELOAD", "RECHARGE", "NO_REPAIR" ],
    "pocket_data": [ { "pocket_type": "MAGAZINE", "rigid": true, "ammo_restriction": { "battery": 10000000 } } ],
    "melee_damage": { "bash": 20 }
  },
  {
    "id": "ap_test_storage_battery",
    "type": "vehicle_part",
    "name": { "str": "large grid battery" },
    "categories": [ "energy" ],
    "item": "test_storage_battery",
    "location": "fuel_source",
    "fuel_type": "battery",
    "color": "light_red",
    "broken_color": "red",
    "durability": 300,
    "description": "A large battery to store electrical power in a static power grid.",
    "damage_modifier": 80,
    "breaks_into": [
      { "item": "steel_lump", "count": [ 5, 10 ] },
      { "item": "steel_chunk", "count": [ 5, 10 ] },
      { "item": "scrap", "count": [ 5, 10 ] },
      { "item": "medium_storage_battery", "count": [ 1, 2 ] }
    ],
    "//": "29cm length battery, welded on at least two edges",
    "requirements": { "removal": { "time": "6 m" } },
    "damage_reduction": { "bash": 10 },
    "flags": [ "OBSTACLE", "APPLIANCE" ],
    "variants": [ { "symbols": "B", "symbols_broken": "#" } ]
  }
]
