[
  {
    "id": "oil_lamp_on",
    "copy-from": "oil_lamp",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "name": { "str": "oil lamp" },
    "description": "This is an oil fueled lamp.  It does not provide much light, but it lasts a long time.  It is turned on.  Use it to turn it off.",
    "turns_per_charge": 240,
    "revert_to": "oil_lamp",
    "use_action": [
      {
        "ammo_scale": 0,
        "target": "oil_lamp",
        "msg": "The lantern is extinguished.",
        "menu_text": "Turn off",
        "type": "transform"
      },
      { "type": "firestarter", "moves": 100 }
    ],
    "flags": [ "LIGHT_30", "TRADER_AVOID", "FIRE", "ALLOWS_REMOTE_USE", "WATER_EXTINGUISH", "FIRESTARTER" ]
  },
  {
    "id": "oil_lamp_clay_on",
    "copy-from": "oil_lamp_clay",
    "looks_like": "oil_lamp_on",
    "sub": "oil_lamp_on",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "name": { "str": "clay oil lamp" },
    "description": "This is a specialized small clay container with a wick, an ancient form of oil lamp.  Unlike newer designs, it isn't windproof, so the flame is likely to be extinguished if exposed to wind; better use it indoors.  It does not provide much light, but lasts a long time.  It is lit, consuming oil and providing light.  Use it to extinguish the flame.",
    "turns_per_charge": 240,
    "revert_to": "oil_lamp_clay",
    "use_action": [
      {
        "ammo_scale": 0,
        "target": "oil_lamp_clay",
        "msg": "The lamp is extinguished.",
        "menu_text": "Turn off",
        "type": "transform"
      },
      { "type": "firestarter", "moves": 100 }
    ],
    "flags": [ "LIGHT_20", "TRADER_AVOID", "FIRE", "ALLOWS_REMOTE_USE", "WATER_EXTINGUISH", "WIND_EXTINGUISH", "FIRESTARTER" ]
  },
  {
    "id": "torch_lit",
    "type": "ITEM",
    "subtypes": [ "TOOL" ],
    "name": { "str": "torch", "str_pl": "torches" },
    "description": "This is a large stick, wrapped in rags that are soaked with a flammable material.  It is burning, producing plenty of light.",
    "weight": "831 g",
    "volume": "750 ml",
    "price": "0 cent",
    "price_postapoc": "0 cent",
    "to_hit": 1,
    "material": [ "wood" ],
    "symbol": "/",
    "color": "brown",
    "initial_charges": 20,
    "max_charges": 20,
    "turns_per_charge": 60,
    "revert_to": "torch_done",
    "use_action": [
      { "type": "firestarter", "moves": 30 },
      {
        "target": "torch",
        "msg": "The torch is extinguished.",
        "active": false,
        "menu_text": "Extinguish",
        "type": "transform"
      }
    ],
    "techniques": [ "WBLOCK_1" ],
    "flags": [ "FIRE", "LIGHT_60", "CHARGEDIM", "FLAMING", "TRADER_AVOID", "WATER_EXTINGUISH", "BURNOUT" ],
    "melee_damage": { "bash": 8 }
  }
]
