[
  {
    "id": "crude_firestarter",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "name": { "str": "electric firestarter" },
    "description": "A crudely-made electric firestarter, which can function as an inefficient lighter.",
    "//": "ultra light battery seems to not have enough power to generate this amount of heat",
    "weight": "14 g",
    "volume": "50 ml",
    "price": "0 USD",
    "price_postapoc": "10 cent",
    "material": [ "steel" ],
    "symbol": ",",
    "color": "light_gray",
    "charges_per_use": 1,
    "use_action": { "type": "firestarter" },
    "flags": [ "FIRESTARTER" ],
    "pocket_data": [
      {
        "pocket_type": "MAGAZINE_WELL",
        "rigid": true,
        "flag_restriction": [ "BATTERY_LIGHT", "BATTERY_MEDIUM" ],
        "default_magazine": "light_battery_cell"
      }
    ],
    "tool_ammo": [ "battery" ]
  },
  {
    "id": "fire_drill",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "name": { "str": "bow fire drill" },
    "description": "A simple item for starting fires with friction between a notched plank and wooden shaft.  The shaft is spun rapidly with a sawing motion by a bowstring wrapped around it.  Very slow to acquire a usable ember.",
    "weight": "240 g",
    "volume": "400 ml",
    "price": "0 cent",
    "price_postapoc": "10 cent",
    "material": [ "wood" ],
    "symbol": ",",
    "color": "brown",
    "charges_per_use": 1,
    "pocket_data": [ { "pocket_type": "MAGAZINE_WELL", "item_restriction": [ "notched_plank", "notched_stick" ] } ],
    "use_action": { "type": "firestarter", "moves": 30000, "moves_slow": 60000 },
    "qualities": [ [ "DRILL_ROCK", 1 ] ],
    "flags": [ "FIRESTARTER", "REQUIRES_TINDER" ],
    "tool_ammo": [ "notch" ]
  },
  {
    "id": "fire_drill_large",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "name": { "str": "pump fire drill" },
    "description": "A simple item for starting fires by friction between a notched plank and wooden shaft, with a flywheel attached.  The shaft is spun rapidly with a pumping motion by a cord wrapped around it.  Slow to acquire a usable ember.",
    "weight": "900 g",
    "volume": "500 ml",
    "price": "0 cent",
    "price_postapoc": "10 cent",
    "material": [ "wood", "stone" ],
    "symbol": ",",
    "color": "brown",
    "charges_per_use": 1,
    "pocket_data": [ { "pocket_type": "MAGAZINE_WELL", "item_restriction": [ "notched_plank", "notched_stick" ] } ],
    "use_action": { "type": "firestarter", "moves": 6000, "moves_slow": 15000 },
    "qualities": [ [ "DRILL_ROCK", 1 ] ],
    "flags": [ "FIRESTARTER", "REQUIRES_TINDER" ],
    "tool_ammo": [ "notch" ]
  },
  {
    "id": "flint_steel",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "name": { "str": "flint and steel", "str_pl": "sets of flint and steel" },
    "description": "A piece of flint paired with a hardened high carbon steel striker.  Use it to spark a flame.",
    "weight": "400 g",
    "volume": "250 ml",
    "price": "3 USD",
    "price_postapoc": "2 USD 50 cent",
    "material": [ "stone", "hc_steel" ],
    "symbol": ",",
    "color": "dark_gray",
    "initial_charges": 2000,
    "max_charges": 2000,
    "charges_per_use": 1,
    "use_action": { "type": "firestarter", "moves": 1000, "moves_slow": 5000 },
    "flags": [ "FIRESTARTER", "REQUIRES_TINDER" ]
  },
  {
    "id": "lighter",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "name": { "str": "lighter" },
    "description": "A disposable plastic lighter, capable of creating a small flame with the flick of a finger.  Allows you to use various drugs like cigarettes, light explosives like Molotov cocktails, or light nearby items on fire.",
    "weight": "14 g",
    "volume": "14 ml",
    "price": "10 cent",
    "price_postapoc": "10 cent",
    "material": [ "plastic", "aluminum" ],
    "symbol": ",",
    "color": "blue",
    "charges_per_use": 1,
    "pocket_data": [
      {
        "pocket_type": "MAGAZINE",
        "rigid": true,
        "airtight": true,
        "ammo_restriction": { "butane": 100 },
        "watertight": true
      }
    ],
    "use_action": { "type": "firestarter", "moves": 50 },
    "flags": [ "FIRESTARTER", "NO_UNLOAD", "NO_RELOAD" ]
  },
  {
    "id": "magnifying_glass",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "name": { "str": "magnifying glass", "str_pl": "magnifying glasses" },
    "description": "A magnifying glass, for closely examining fine details.  It can also be used for starting fires if direct sunlight is available.",
    "weight": "400 g",
    "volume": "250 ml",
    "price": "6 USD",
    "price_postapoc": "50 cent",
    "material": [ "glass", "plastic" ],
    "symbol": "o",
    "color": "green",
    "use_action": { "type": "firestarter", "moves": 1000, "moves_slow": 25000, "need_sunlight": true },
    "flags": [ "FIRESTARTER" ]
  },
  {
    "type": "ITEM",
    "id": "lens_crude",
    "symbol": ".",
    "color": "light_cyan",
    "name": { "str": "crude glass lens", "str_pl": "crude glass lenses" },
    "category": "spare_parts",
    "description": "A very low-quality focusing lens, made from non-optical-grade glass.  Useless for building most optical devices, but you can start a fire with it if sunlight is available.",
    "price": "3 USD",
    "price_postapoc": "80 cent",
    "material": [ "glass" ],
    "weight": "50 g",
    "volume": "20 ml",
    "use_action": { "type": "firestarter", "moves": 1100, "moves_slow": 33000, "need_sunlight": true },
    "flags": [ "FIRESTARTER" ]
  },
  {
    "id": "fire_piston",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "name": { "str": "fire piston" },
    "description": "A firestarting tool of Southeast Asian origin, consisting of a thin, hollow wooden cylinder sealed at one end and open at the other, and a wooden piston forming an airtight circular seal with it, making use of rapid and adiabatic air compression to ignite a piece of tinder.  It also comes with a tinder container to keep tinder dry.  Use it to start a fire.",
    "weight": "668 g",
    "volume": "750 ml",
    "longest_side": "20 cm",
    "price": "3 USD",
    "price_postapoc": "2 USD 50 cent",
    "material": [ "wood" ],
    "symbol": ",",
    "color": "brown",
    "charges_per_use": 1,
    "pocket_data": [ { "pocket_type": "MAGAZINE", "rigid": true, "ammo_restriction": { "tinder": 50 } } ],
    "use_action": { "type": "firestarter", "moves": 1000, "moves_slow": 5000 },
    "flags": [ "FIRESTARTER" ]
  },
  {
    "id": "matches",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "name": { "str": "matchbook" },
    "description": "A small book of matches with a coarse strike surface on the outside flap for lighting them.  Allows you to use various drugs like cigarettes, light explosives like Molotov cocktails, or light nearby items on fire.  Due to the matches being lightly glued to the matchbook, they can be removed, but not replaced on the book.",
    "category": "container",
    "weight": "10 g",
    "volume": "10 ml",
    "price": "10 cent",
    "price_postapoc": "50 cent",
    "material": [ "cardboard" ],
    "symbol": ",",
    "color": "blue",
    "charges_per_use": 1,
    "pocket_data": [ { "pocket_type": "MAGAZINE", "rigid": true, "holster": true, "ammo_restriction": { "match": 20 } } ],
    "use_action": { "type": "firestarter", "moves": 40, "moves_slow": 1000 },
    "flags": [ "FIRESTARTER", "NO_RELOAD", "WATER_BREAK" ]
  },
  {
    "id": "survival_match",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "name": { "str": "survival match", "str_pl": "survival matches" },
    "description": "A solid strike anywhere match.  One and done.",
    "looks_like": "matches",
    "weight": "2 g",
    "volume": "1 ml",
    "price": "0 cent",
    "price_postapoc": "10 cent",
    "material": [ "cardboard" ],
    "symbol": "|",
    "color": "red",
    "initial_charges": 1,
    "max_charges": 1,
    "charges_per_use": 1,
    "use_action": { "type": "firestarter", "moves": 50, "moves_slow": 1000 },
    "flags": [ "FIRESTARTER", "BURNOUT" ]
  },
  {
    "id": "ref_matches",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "name": { "str": "matchbox", "str_pl": "matchboxes" },
    "description": "A small box of matches with a coarse strike surface on the side for lighting them.  Allows you to use various drugs like cigarettes, light explosives like Molotov cocktails, or light nearby items on fire.",
    "looks_like": "matches",
    "category": "container",
    "weight": "10 g",
    "volume": "25 ml",
    "price_postapoc": "50 cent",
    "price": "10 cent",
    "material": [ "cardboard" ],
    "symbol": ",",
    "color": "blue",
    "charges_per_use": 1,
    "pocket_data": [ { "pocket_type": "MAGAZINE", "rigid": true, "holster": true, "ammo_restriction": { "match": 32 } } ],
    "use_action": { "type": "firestarter", "moves": 40, "moves_slow": 1000 },
    "flags": [ "FIRESTARTER", "WATER_BREAK" ]
  },
  {
    "id": "ref_lighter",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "name": { "str": "refillable lighter" },
    "description": "A stylish lighter featuring a flip-top cover and a refuelable tank, capable of creating a small flame with the flick of a finger.  Allows you to use various drugs like cigarettes, light explosives like Molotov cocktails, or light nearby items on fire.",
    "weight": "20 g",
    "volume": "31 ml",
    "price": "30 USD",
    "price_postapoc": "1 USD 50 cent",
    "material": [ "aluminum" ],
    "symbol": ",",
    "color": "light_gray",
    "charges_per_use": 1,
    "pocket_data": [
      {
        "pocket_type": "MAGAZINE",
        "rigid": true,
        "airtight": true,
        "ammo_restriction": { "lamp_oil": 50 },
        "watertight": true
      }
    ],
    "use_action": [
      {
        "target": "ref_lighter_on",
        "msg": "You flick the lighter.",
        "active": true,
        "need_charges": 1,
        "need_charges_msg": "Nothing happens.",
        "menu_text": "Light up",
        "type": "transform"
      },
      { "type": "firestarter", "moves": 50 }
    ],
    "flags": [ "FIRESTARTER" ],
    "tool_ammo": [ "lamp_oil" ]
  },
  {
    "id": "ref_lighter_on",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "name": { "str": "refillable lighter" },
    "description": "A stylish lighter featuring a flip-top cover and a refuelable tank.  It is lit.",
    "weight": "20 g",
    "volume": "31 ml",
    "price": "30 USD",
    "price_postapoc": "1 USD 50 cent",
    "material": [ "aluminum" ],
    "symbol": ",",
    "color": "light_gray",
    "charges_per_use": 1,
    "pocket_data": [
      {
        "pocket_type": "MAGAZINE",
        "rigid": true,
        "airtight": true,
        "ammo_restriction": { "lamp_oil": 50 },
        "watertight": true
      }
    ],
    "turns_per_charge": 20,
    "revert_to": "ref_lighter",
    "use_action": [
      { "type": "firestarter", "moves": 40, "moves_slow": 500 },
      {
        "target": "ref_lighter",
        "msg": "You extinguish the lighter.",
        "active": false,
        "menu_text": "Extinguish",
        "type": "transform"
      }
    ],
    "flags": [ "FIRE", "FIRESTARTER", "LIGHT_8", "FLAMING", "TRADER_AVOID", "WATER_EXTINGUISH" ],
    "tool_ammo": [ "lamp_oil" ]
  },
  {
    "id": "ref_lighter_butane",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "name": { "str": "refillable butane lighter" },
    "description": "A large lighter with a trigger and a safety, reloaded by fitting a can of butane inside the base.  Allows you to use various drugs like cigarettes, light explosives like Molotov cocktails, or light nearby items on fire.",
    "weight": "200 g",
    "volume": "176 ml",
    "longest_side": "15 cm",
    "price": "30 USD",
    "price_postapoc": "1 USD",
    "material": [ "aluminum", "plastic" ],
    "symbol": ",",
    "color": "white",
    "charges_per_use": 1,
    "pocket_data": [ { "pocket_type": "MAGAZINE_WELL", "item_restriction": [ "butane_can" ] } ],
    "use_action": { "type": "firestarter", "moves": 50, "moves_slow": 500 },
    "flags": [ "FIRESTARTER" ],
    "tool_ammo": [ "butane" ]
  },
  {
    "id": "tinderbox",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "name": { "str": "ember carrier" },
    "description": "A small container for holding tinder, with holes punched in it to provide a controlled airflow.  It can nurture a smoldering ember for a long time, to start fires without modern tools.",
    "weight": "40 g",
    "volume": "263 ml",
    "price": "10 USD",
    "price_postapoc": "1 USD",
    "material": [ "steel" ],
    "symbol": ",",
    "color": "light_gray",
    "pocket_data": [ { "pocket_type": "MAGAZINE", "rigid": true, "ammo_restriction": { "tinder": 50 } } ],
    "use_action": {
      "target": "tinderbox_on",
      "msg": "You light the tinder.",
      "active": true,
      "need_fire": 1,
      "need_fire_msg": "You need a lighter or fire to light this.",
      "need_charges": 1,
      "need_charges_msg": "The ember carrier is out of tinder.",
      "type": "transform"
    },
    "tool_ammo": [ "tinder" ]
  },
  {
    "id": "tinderbox_on",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "name": { "str": "ember carrier (lit)", "str_pl": "ember carriers (lit)" },
    "description": "A small container for holding tinder, with holes punched in it to provide a controlled airflow.  An ember is smoldering inside it, and can be used to start a campfire.",
    "weight": "40 g",
    "volume": "263 ml",
    "price": "10 USD",
    "price_postapoc": "1 USD",
    "material": [ "steel" ],
    "symbol": ",",
    "color": "light_gray",
    "pocket_data": [ { "pocket_type": "MAGAZINE", "rigid": true, "ammo_restriction": { "tinder": 50 } } ],
    "turns_per_charge": 600,
    "revert_to": "tinderbox",
    "use_action": [
      { "type": "firestarter", "moves": 200, "moves_slow": 2000 },
      {
        "target": "tinderbox",
        "msg": "The ember is extinguished.",
        "active": false,
        "menu_text": "Extinguish",
        "type": "transform"
      }
    ],
    "flags": [ "FIRESTARTER" ],
    "tool_ammo": [ "tinder" ]
  },
  {
    "id": "electric_lighter",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "name": { "str": "electric lighter" },
    "description": "A rechargeable electric lighter.",
    "//": [ "https://www.amazon.co.uk/gp/product/B07GRNHPST", "Size: 6.88 x 4.75 x 1.73 cm" ],
    "weight": "51 g",
    "volume": "57 ml",
    "longest_side": "69 mm",
    "price": "10 dollars",
    "price_postapoc": "1 dollar",
    "material": [ "plastic", "zinc" ],
    "symbol": ",",
    "color": "blue",
    "charges_per_use": 1,
    "use_action": [
      { "type": "firestarter", "moves": 25 },
      { "type": "link_up", "cable_length": 3, "//": "USB 1/2 should take 2 hours for full", "charge_rate": "5 W" }
    ],
    "flags": [ "FIRESTARTER", "NO_UNLOAD", "NO_RELOAD", "ELECTRONIC" ],
    "faults": [ { "fault_group": "electronic_general" } ],
    "pocket_data": [ { "pocket_type": "MAGAZINE", "rigid": true, "ammo_restriction": { "battery": 30 } } ],
    "tool_ammo": [ "battery" ]
  },
  {
    "id": "small_lighter",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "name": { "str": "mini lighter" },
    "description": "A miniature disposable plastic lighter, capable of creating a small flame with the flick of a finger.  Allows you to use various drugs, like cigarettes, light explosives like Molotov cocktails, or light nearby items on fire.",
    "weight": "8 g",
    "volume": "8 ml",
    "price": "6 cent",
    "price_postapoc": "6 cent",
    "material": [ "plastic", "aluminum" ],
    "symbol": ",",
    "color": "blue",
    "looks_like": "lighter",
    "charges_per_use": 1,
    "pocket_data": [
      { "pocket_type": "MAGAZINE", "rigid": true, "airtight": true, "ammo_restriction": { "butane": 50 }, "watertight": true }
    ],
    "use_action": { "type": "firestarter", "moves": 50 },
    "flags": [ "FIRESTARTER", "NO_UNLOAD" ]
  }
]
