1[
2  {
3    "id": "atomic_lamp",
4    "type": "GENERIC",
5    "category": "tools",
6    "name": { "str": "atomic lamp" },
7    "description": "Powered by the magic of nuclear decay and low-energy LEDs, this very expensive lamp will emit a small amount of light for at least a decade.  Before the Cataclysm, it was mostly an expensive way to show off your preparedness.  Now, it's actually pretty cool.  Use it to close the cover and hide the light.",
8    "weight": "1438 g",
9    "volume": "1 L",
10    "price": 175000,
11    "price_postapoc": 4000,
12    "to_hit": -2,
13    "bashing": 8,
14    "material": [ "plastic", "aluminum" ],
15    "symbol": ",",
16    "color": "light_green",
17    "use_action": { "target": "atomic_lamp_off", "msg": "You close the lamp's cover.", "menu_text": "Close cover", "type": "transform" },
18    "flags": [ "LIGHT_15", "LEAK_DAM", "RADIOACTIVE", "DURABLE_MELEE", "ALLOWS_REMOTE_USE" ]
19  },
20  {
21    "id": "atomic_lamp_off",
22    "type": "GENERIC",
23    "category": "tools",
24    "name": { "str": "atomic lamp (covered)", "str_pl": "atomic lamps (covered)" },
25    "description": "Powered by the magic of nuclear decay and low-energy LEDs, this very expensive lamp will emit a small amount of light for at least a decade.  Before the Cataclysm, it was mostly an expensive way to show off your preparedness.  Now, it's actually pretty cool.  The cover is closed.  Use it to open the cover and show the light.",
26    "weight": "1438 g",
27    "volume": "1 L",
28    "price": 175000,
29    "price_postapoc": 4000,
30    "to_hit": -2,
31    "bashing": 8,
32    "material": [ "plastic", "aluminum" ],
33    "symbol": ",",
34    "color": "light_green",
35    "use_action": {
36      "target": "atomic_lamp",
37      "active": true,
38      "msg": "You open the lamp's cover.",
39      "menu_text": "Open cover",
40      "type": "transform"
41    },
42    "flags": [ "LEAK_DAM", "RADIOACTIVE", "DURABLE_MELEE", "ALLOWS_REMOTE_USE" ]
43  },
44  {
45    "id": "atomic_light",
46    "type": "GENERIC",
47    "category": "tools",
48    "name": { "str": "atomic reading light" },
49    "description": "Powered by the magic of nuclear decay and low-energy LEDs, this extremely expensive little light will provide just enough light to read by for at least a decade.  It is also available with a cute cartoon bear cover to turn it into a nightlight for a very wealthy child with a fear of the dark.  Use it to close the cover and hide the light.",
50    "weight": "214 g",
51    "volume": "250 ml",
52    "price": 125000,
53    "price_postapoc": 4000,
54    "to_hit": -2,
55    "bashing": 4,
56    "material": [ "plastic", "aluminum" ],
57    "symbol": ",",
58    "color": "light_green",
59    "use_action": {
60      "target": "atomic_light_off",
61      "msg": "You close the nightlight's cover.",
62      "menu_text": "Close cover",
63      "type": "transform"
64    },
65    "flags": [ "LIGHT_10", "LEAK_DAM", "RADIOACTIVE", "DURABLE_MELEE", "ALLOWS_REMOTE_USE" ]
66  },
67  {
68    "id": "atomic_light_off",
69    "type": "GENERIC",
70    "category": "tools",
71    "name": { "str": "atomic reading light (covered)", "str_pl": "atomic reading lights (covered)" },
72    "description": "Powered by the magic of nuclear decay and low-energy LEDs, this extremely expensive little light will provide just enough light to read by for at least a decade.  It is also available with a cute cartoon bear cover to turn it into a nightlight for a very wealthy child with a fear of the dark.  The cover is closed.  Use it to open the cover and show the light.",
73    "weight": "214 g",
74    "volume": "250 ml",
75    "price": 125000,
76    "price_postapoc": 4000,
77    "to_hit": -2,
78    "bashing": 4,
79    "material": [ "plastic", "aluminum" ],
80    "symbol": ",",
81    "color": "light_green",
82    "use_action": {
83      "target": "atomic_light",
84      "active": true,
85      "msg": "You open the nightlight's cover.",
86      "menu_text": "Open cover",
87      "type": "transform"
88    },
89    "flags": [ "LEAK_DAM", "RADIOACTIVE", "DURABLE_MELEE", "ALLOWS_REMOTE_USE" ]
90  },
91  {
92    "id": "candle",
93    "type": "TOOL",
94    "name": { "str": "candle" },
95    "description": "This is a thick candle.  It doesn't provide very much light, but it can burn for quite a long time.  You'll need a lighter or matches to light it.",
96    "weight": "225 g",
97    "volume": "250 ml",
98    "price": 100,
99    "price_postapoc": 50,
100    "to_hit": -2,
101    "material": [ "veggy" ],
102    "symbol": ",",
103    "color": "white",
104    "initial_charges": 100,
105    "max_charges": 100,
106    "charges_per_use": 1,
107    "pocket_data": [ { "pocket_type": "MAGAZINE", "ammo_restriction": { "candle_wax": 100 }, "rigid": true } ],
108    "use_action": {
109      "target": "candle_lit",
110      "msg": "You light the candle.",
111      "active": true,
112      "need_fire": 1,
113      "menu_text": "Light",
114      "type": "transform"
115    },
116    "flags": [ "BURNOUT", "NO_RELOAD", "NO_UNLOAD" ]
117  },
118  {
119    "id": "candle_lit",
120    "type": "TOOL",
121    "copy-from": "candle",
122    "name": { "str": "candle" },
123    "description": "This is a thick candle.  It doesn't provide very much light, but it can burn for quite a long time.  This candle is lit.",
124    "turns_per_charge": 1350,
125    "use_action": [
126      { "type": "firestarter", "moves": 100 },
127      { "target": "candle", "msg": "The candle winks out.", "menu_text": "Extinguish", "type": "transform" }
128    ],
129    "extend": { "flags": [ "LIGHT_8", "WATER_EXTINGUISH", "TRADER_AVOID", "WIND_EXTINGUISH", "FIRESTARTER" ] }
130  },
131  {
132    "id": "electric_lantern",
133    "type": "TOOL",
134    "name": { "str": "electric lantern (off)", "str_pl": "electric lanterns (off)" },
135    "description": "This is a battery-powered lamp.  It does not provide much light, but it lasts a long time.  Use it to turn it on.",
136    "weight": "980 g",
137    "volume": "1 L",
138    "price": 1000,
139    "price_postapoc": 100,
140    "bashing": 1,
141    "to_hit": 2,
142    "material": [ "plastic" ],
143    "symbol": ";",
144    "color": "green",
145    "charges_per_use": 1,
146    "ammo": [ "battery" ],
147    "use_action": {
148      "type": "transform",
149      "target": "electric_lantern_on",
150      "active": true,
151      "msg": "You turn the lamp on.",
152      "need_charges": 1,
153      "need_charges_msg": "The lantern has no batteries."
154    },
155    "flags": [ "RADIO_MODABLE", "RADIO_INVOKE_PROC", "ALLOWS_REMOTE_USE" ],
156    "pocket_data": [
157      {
158        "pocket_type": "MAGAZINE_WELL",
159        "rigid": true,
160        "holster": true,
161        "max_contains_volume": "20 L",
162        "max_contains_weight": "20 kg",
163        "item_restriction": [
164          "light_minus_battery_cell",
165          "light_minus_disposable_cell",
166          "light_minus_atomic_battery_cell",
167          "light_battery_cell",
168          "light_disposable_cell",
169          "light_plus_battery_cell",
170          "light_atomic_battery_cell"
171        ]
172      }
173    ]
174  },
175  {
176    "id": "electric_lantern_on",
177    "copy-from": "electric_lantern",
178    "type": "TOOL",
179    "name": { "str": "electric lantern (on)", "str_pl": "electric lanterns (on)" },
180    "power_draw": 1000,
181    "revert_to": "electric_lantern",
182    "use_action": { "menu_text": "Turn off", "type": "transform", "target": "electric_lantern", "msg": "You turn the lamp off." },
183    "flags": [ "RADIO_MODABLE", "RADIO_INVOKE_PROC", "LIGHT_15", "TRADER_AVOID", "ALLOWS_REMOTE_USE" ]
184  },
185  {
186    "id": "flashlight",
187    "type": "TOOL",
188    "name": { "str": "flashlight (off)", "str_pl": "flashlights (off)" },
189    "description": "This is a typical household flashlight with a plastic handle.  Using this flashlight will turn it on and provide light, assuming it is charged with batteries.",
190    "material": [ "plastic", "aluminum" ],
191    "symbol": ";",
192    "color": "blue",
193    "weight": "280 g",
194    "volume": "80 ml",
195    "longest_side": "14 cm",
196    "price": 500,
197    "price_postapoc": 100,
198    "charges_per_use": 1,
199    "ammo": [ "battery" ],
200    "flags": [ "BELT_CLIP" ],
201    "use_action": {
202      "type": "transform",
203      "msg": "You turn the flashlight on.",
204      "target": "flashlight_on",
205      "active": true,
206      "need_charges": 1,
207      "need_charges_msg": "The flashlight's batteries are dead."
208    },
209    "pocket_data": [
210      {
211        "pocket_type": "MAGAZINE_WELL",
212        "holster": true,
213        "rigid": true,
214        "max_contains_volume": "20 L",
215        "max_contains_weight": "20 kg",
216        "item_restriction": [
217          "light_disposable_cell",
218          "light_minus_disposable_cell",
219          "light_battery_cell",
220          "light_plus_battery_cell",
221          "light_minus_battery_cell",
222          "light_atomic_battery_cell",
223          "light_minus_atomic_battery_cell"
224        ]
225      }
226    ]
227  },
228  {
229    "id": "flashlight_on",
230    "copy-from": "flashlight",
231    "type": "TOOL",
232    "name": { "str": "flashlight (on)", "str_pl": "flashlights (on)" },
233    "power_draw": 10000,
234    "revert_to": "flashlight",
235    "use_action": { "menu_text": "Turn off", "type": "transform", "msg": "You turn the flashlight off.", "target": "flashlight" },
236    "flags": [ "LIGHT_300", "CHARGEDIM", "TRADER_AVOID", "BELT_CLIP" ]
237  },
238  {
239    "id": "gasoline_lantern",
240    "type": "TOOL",
241    "name": { "str": "gasoline lantern (off)", "str_pl": "gasoline lanterns (off)" },
242    "description": "This is a small gasoline powered lantern.  It does not provide much light, but it lasts a long time.  Use it to turn it on.",
243    "weight": "1400 g",
244    "volume": "750 ml",
245    "price": 3000,
246    "price_postapoc": 100,
247    "to_hit": 2,
248    "bashing": 1,
249    "material": [ "glass", "iron" ],
250    "symbol": ";",
251    "color": "yellow",
252    "ammo": [ "gasoline" ],
253    "pocket_data": [ { "pocket_type": "MAGAZINE", "watertight": true, "ammo_restriction": { "gasoline": 500 } } ],
254    "initial_charges": 500,
255    "max_charges": 500,
256    "charges_per_use": 1,
257    "use_action": {
258      "target": "gasoline_lantern_on",
259      "msg": "You turn the lamp on.",
260      "active": true,
261      "need_fire": 1,
262      "need_charges": 1,
263      "need_charges_msg": "The lamp is empty.",
264      "type": "transform"
265    },
266    "flags": [ "ALLOWS_REMOTE_USE" ]
267  },
268  {
269    "id": "gasoline_lantern_on",
270    "copy-from": "gasoline_lantern",
271    "type": "TOOL",
272    "name": { "str": "gasoline lantern (on)", "str_pl": "gasoline lanterns (on)" },
273    "description": "This is a small gasoline powered lantern.  It does not provide much light, but it lasts a long time.  It is turned on.  Use it to turn it off.",
274    "turns_per_charge": 60,
275    "revert_to": "gasoline_lantern",
276    "use_action": { "target": "gasoline_lantern", "msg": "The lantern is extinguished.", "menu_text": "Turn off", "type": "transform" },
277    "flags": [ "LIGHT_15", "TRADER_AVOID", "ALLOWS_REMOTE_USE" ]
278  },
279  {
280    "id": "glowstick",
281    "type": "TOOL",
282    "name": { "str": "glowstick" },
283    "description": "This is a small blue light glowstick.  Use it to bend the plastic and break the glass cylinder inside to start the reaction.  It will produce a small amount of light.",
284    "weight": "29 g",
285    "volume": "250 ml",
286    "price": 100,
287    "price_postapoc": 10,
288    "to_hit": -1,
289    "material": [ "plastic" ],
290    "symbol": ";",
291    "color": "light_blue",
292    "pocket_data": [ { "pocket_type": "MAGAZINE", "ammo_restriction": { "glowstick_juice": 1400 }, "rigid": true } ],
293    "ammo": "glowstick_juice",
294    "use_action": {
295      "target": "glowstick_lit",
296      "msg": "You activate the glowstick.",
297      "active": true,
298      "menu_text": "Activate",
299      "type": "transform"
300    },
301    "flags": [ "NO_UNLOAD", "NO_RELOAD" ]
302  },
303  {
304    "id": "glowstick_dead",
305    "type": "TOOL",
306    "category": "other",
307    "name": { "str": "dead glowstick" },
308    "description": "This is a spent glowstick.  It is essentially trash.",
309    "weight": "29 g",
310    "volume": "250 ml",
311    "price": 0,
312    "price_postapoc": 0,
313    "to_hit": -1,
314    "bashing": 2,
315    "material": [ "plastic" ],
316    "symbol": ";",
317    "color": "light_gray",
318    "flags": [ "TRADER_AVOID" ]
319  },
320  {
321    "id": "glowstick_lit",
322    "type": "TOOL",
323    "name": { "str": "active glowstick" },
324    "description": "This is an active glowstick and is producing light.  It will last for a few hours before burning out.",
325    "weight": "29 g",
326    "volume": "250 ml",
327    "to_hit": -1,
328    "material": [ "plastic" ],
329    "symbol": ";",
330    "color": "light_blue",
331    "pocket_data": [ { "pocket_type": "MAGAZINE", "ammo_restriction": { "glowstick_juice": 1400 }, "rigid": true } ],
332    "turns_per_charge": 30,
333    "revert_to": "glowstick_dead",
334    "revert_msg": "The glowstick fades out.",
335    "flags": [ "LIGHT_8", "TRADER_AVOID", "SLEEP_IGNORE", "NO_UNLOAD", "NO_RELOAD" ]
336  },
337  {
338    "id": "handflare",
339    "type": "TOOL",
340    "name": { "str": "flare" },
341    "description": "This is a slow-burning magnesium flare.  Use it to strike the striker and light it.  It will produce a bright light for about a half hour.",
342    "material": [ "plastic", "powder" ],
343    "symbol": ";",
344    "color": "light_red",
345    "weight": "128 g",
346    "volume": "250 ml",
347    "price": 400,
348    "price_postapoc": 100,
349    "pocket_data": [ { "pocket_type": "MAGAZINE", "ammo_restriction": { "flare_nitrate": 300 }, "rigid": true } ],
350    "ammo": "flare_nitrate",
351    "use_action": {
352      "menu_text": "Strike the striker",
353      "type": "transform",
354      "target": "handflare_lit",
355      "active": true,
356      "msg": "You strike your flare and light it."
357    },
358    "flags": [ "NO_UNLOAD", "NO_RELOAD" ]
359  },
360  {
361    "id": "handflare_lit",
362    "copy-from": "handflare",
363    "type": "TOOL",
364    "name": { "str": "active flare" },
365    "description": "This burning magnesium flare is producing light.  It will last for about a half hour before burning out.",
366    "color": "white",
367    "turns_per_charge": 6,
368    "revert_to": "handflare_dead",
369    "revert_msg": "The flare sputters out",
370    "use_action": { "type": "firestarter", "moves": 50 },
371    "flags": [ "FIRE", "LIGHT_240", "CHARGEDIM", "FLAMING", "TRADER_AVOID", "FIRESTARTER", "NO_UNLOAD", "NO_RELOAD" ]
372  },
373  {
374    "id": "heavy_flashlight",
375    "type": "TOOL",
376    "name": { "str": "heavy duty flashlight (off)", "str_pl": "heavy duty flashlights (off)" },
377    "description": "This is a heavy duty tubular aluminum LED flashlight as often used by security guards.  Makes for a passable melee weapon.  Using this flashlight will turn it on and provide light, assuming it is charged with batteries.",
378    "weight": "450 g",
379    "volume": "470 ml",
380    "longest_side": "37 cm",
381    "price": 950,
382    "price_postapoc": 200,
383    "bashing": 8,
384    "material": [ "aluminum" ],
385    "symbol": ";",
386    "color": "blue",
387    "charges_per_use": 1,
388    "ammo": [ "battery" ],
389    "flags": [ "BELT_CLIP" ],
390    "use_action": {
391      "type": "transform",
392      "msg": "You turn the heavy duty flashlight on.",
393      "target": "heavy_flashlight_on",
394      "active": true,
395      "need_charges": 1,
396      "need_charges_msg": "The heavy duty flashlight's batteries are dead."
397    },
398    "pocket_data": [
399      {
400        "pocket_type": "MAGAZINE_WELL",
401        "holster": true,
402        "rigid": true,
403        "max_contains_volume": "20 L",
404        "max_contains_weight": "20 kg",
405        "item_restriction": [
406          "light_disposable_cell",
407          "light_minus_disposable_cell",
408          "light_plus_battery_cell",
409          "light_battery_cell",
410          "light_minus_battery_cell",
411          "light_atomic_battery_cell",
412          "light_minus_atomic_battery_cell"
413        ]
414      }
415    ]
416  },
417  {
418    "id": "heavy_flashlight_on",
419    "copy-from": "heavy_flashlight",
420    "type": "TOOL",
421    "name": { "str": "heavy duty flashlight (on)", "str_pl": "heavy duty flashlights (on)" },
422    "power_draw": 15000,
423    "revert_to": "heavy_flashlight",
424    "use_action": {
425      "menu_text": "Turn off",
426      "type": "transform",
427      "msg": "You turn the heavy duty flashlight off.",
428      "target": "heavy_flashlight"
429    },
430    "flags": [ "LIGHT_500", "CHARGEDIM", "BELT_CLIP" ]
431  },
432  {
433    "abstract": "lightstrip_base",
434    "type": "TOOL",
435    "name": { "str": "lightstrip_base" },
436    "weight": "27 g",
437    "volume": "250 ml",
438    "price": 500,
439    "price_postapoc": 25,
440    "to_hit": 2,
441    "bashing": 1,
442    "material": [ "plastic", "aluminum" ],
443    "symbol": ";"
444  },
445  {
446    "id": "lightstrip",
447    "type": "TOOL",
448    "name": { "str": "lightstrip" },
449    "copy-from": "lightstrip_base",
450    "description": "This is a light-emitting circuit that has been wired directly to a battery.  It provides some weak light and can't be turned off until the battery dies.",
451    "color": "green",
452    "power_draw": 1000,
453    "revert_to": "lightstrip_inactive",
454    "revert_msg": "The lightstrip dies.",
455    "flags": [ "LIGHT_4", "NO_UNLOAD", "NO_RELOAD" ]
456  },
457  {
458    "//": "This doesn't make too much sense, flavor-wise, but it's the best I can come up with.  Put it on the todo list.",
459    "id": "lightstrip_inactive",
460    "type": "TOOL",
461    "name": { "str": "lightstrip (inactive)", "str_pl": "lightstrips (inactive)" },
462    "copy-from": "lightstrip_base",
463    "description": "This is a light-emitting circuit that can be wired directly to a battery.  It provides some weak light and can't be turned off until the battery dies.",
464    "color": "white",
465    "ammo": [ "battery" ],
466    "use_action": {
467      "target": "lightstrip",
468      "msg": "You irreversibly activate the lightstrip.",
469      "active": true,
470      "need_charges": 1,
471      "type": "transform"
472    },
473    "pocket_data": [
474      {
475        "pocket_type": "MAGAZINE_WELL",
476        "rigid": true,
477        "holster": true,
478        "max_contains_volume": "20 L",
479        "max_contains_weight": "20 kg",
480        "item_restriction": [
481          "light_battery_cell",
482          "light_plus_battery_cell",
483          "light_minus_battery_cell",
484          "light_atomic_battery_cell",
485          "light_minus_atomic_battery_cell",
486          "light_minus_disposable_cell",
487          "light_disposable_cell"
488        ]
489      }
490    ]
491  },
492  {
493    "id": "oil_lamp",
494    "type": "TOOL",
495    "name": { "str": "oil lamp (off)", "str_pl": "oil lamps (off)" },
496    "description": "This is an oil fueled lamp.  It does not provide much light, but it lasts a long time.  Use it to turn it on.",
497    "weight": "1720 g",
498    "volume": "1 L",
499    "price": 1000,
500    "price_postapoc": 100,
501    "to_hit": 2,
502    "bashing": 1,
503    "material": [ "glass", "iron" ],
504    "symbol": ";",
505    "color": "yellow",
506    "ammo": [ "lamp_oil" ],
507    "pocket_data": [ { "pocket_type": "MAGAZINE", "watertight": true, "ammo_restriction": { "lamp_oil": 750 } } ],
508    "initial_charges": 750,
509    "max_charges": 750,
510    "charges_per_use": 1,
511    "use_action": {
512      "target": "oil_lamp_on",
513      "msg": "You turn the lamp on.",
514      "active": true,
515      "need_fire": 1,
516      "need_charges": 1,
517      "need_charges_msg": "The lamp is empty.",
518      "type": "transform"
519    },
520    "flags": [ "ALLOWS_REMOTE_USE" ]
521  },
522  {
523    "id": "oil_lamp_on",
524    "copy-from": "oil_lamp",
525    "type": "TOOL",
526    "name": { "str": "oil lamp" },
527    "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.",
528    "turns_per_charge": 240,
529    "revert_to": "oil_lamp",
530    "use_action": { "target": "oil_lamp", "msg": "The lantern is extinguished.", "menu_text": "Turn off", "type": "transform" },
531    "flags": [ "LIGHT_10", "TRADER_AVOID", "FIRE", "ALLOWS_REMOTE_USE", "WATER_EXTINGUISH" ]
532  },
533  {
534    "id": "oxylamp",
535    "type": "TOOL",
536    "name": { "str": "acetylene lamp (off)", "str_pl": "acetylene lamps (off)" },
537    "description": "An antique brass lamp designed to run from a pressurized cylinder of acetylene.  It is an efficient, if somewhat dangerous, light source.",
538    "weight": "800 g",
539    "volume": "500 ml",
540    "price": 6500,
541    "price_postapoc": 100,
542    "symbol": ";",
543    "color": "red",
544    "material": [ "copper", "glass" ],
545    "charges_per_use": 1,
546    "ammo": [ "weldgas" ],
547    "use_action": {
548      "type": "transform",
549      "msg": "You light the %s.",
550      "target": "oxylamp_on",
551      "active": true,
552      "need_charges": 1,
553      "need_charges_msg": "The %s must be attached to a gas cylinder to light."
554    },
555    "pocket_data": [
556      {
557        "pocket_type": "MAGAZINE_WELL",
558        "holster": true,
559        "max_contains_volume": "20 L",
560        "max_contains_weight": "20 kg",
561        "item_restriction": [ "weldtank", "tinyweldtank" ]
562      }
563    ]
564  },
565  {
566    "id": "oxylamp_on",
567    "copy-from": "oxylamp",
568    "type": "TOOL",
569    "name": { "str": "acetylene lamp (on)", "str_pl": "acetylene lamps (on)" },
570    "turns_per_charge": 240,
571    "revert_to": "oxylamp",
572    "use_action": { "menu_text": "Turn off", "type": "transform", "msg": "The %s is extinguished", "target": "oxylamp" },
573    "flags": [ "LIGHT_30" ]
574  },
575  {
576    "id": "reading_light",
577    "type": "TOOL",
578    "name": { "str": "reading light" },
579    "description": "A little clip-on LED light, meant for reading books in the dark.",
580    "weight": "90 g",
581    "volume": "100 ml",
582    "price": 100,
583    "price_postapoc": 100,
584    "material": [ "plastic", "aluminum" ],
585    "symbol": ";",
586    "color": "white",
587    "ammo": [ "battery" ],
588    "charges_per_use": 1,
589    "use_action": {
590      "target": "reading_light_on",
591      "msg": "You switch on the reading light.",
592      "active": true,
593      "need_charges": 1,
594      "need_charges_msg": "The reading light winks out.",
595      "type": "transform"
596    },
597    "pocket_data": [
598      {
599        "pocket_type": "MAGAZINE_WELL",
600        "rigid": true,
601        "holster": true,
602        "max_contains_volume": "20 L",
603        "max_contains_weight": "20 kg",
604        "item_restriction": [ "light_minus_disposable_cell", "light_minus_battery_cell", "light_minus_atomic_battery_cell" ]
605      }
606    ]
607  },
608  {
609    "id": "reading_light_on",
610    "copy-from": "reading_light",
611    "type": "TOOL",
612    "name": { "str": "reading light (active)", "str_pl": "reading lights (active)" },
613    "description": "A little clip-on LED light, meant for reading books in the dark.  This one is turned on.",
614    "power_draw": 1000,
615    "revert_to": "reading_light",
616    "use_action": { "target": "reading_light", "msg": "You switch off the reading light.", "menu_text": "Turn off", "type": "transform" },
617    "flags": [ "LIGHT_15", "CHARGEDIM" ]
618  },
619  {
620    "id": "smart_lamp",
621    "type": "TOOL",
622    "name": { "str": "smart lamp (off)", "str_pl": "smart lamps (off)" },
623    "description": "This is a smart lamp, it can be activated remotely.",
624    "weight": "400 g",
625    "volume": "500 ml",
626    "price": 500,
627    "price_postapoc": 100,
628    "to_hit": -1,
629    "bashing": 1,
630    "material": [ "plastic", "aluminum" ],
631    "symbol": "&",
632    "color": "blue",
633    "ammo": [ "battery" ],
634    "charges_per_use": 1,
635    "use_action": {
636      "target": "smart_lamp_on",
637      "msg": "You turn the smart lamp on.",
638      "active": true,
639      "need_charges": 1,
640      "need_charges_msg": "The smart lamp batteries are dead.",
641      "type": "transform"
642    },
643    "flags": [ "ALLOWS_REMOTE_USE", "RADIO_ACTIVATION", "RADIO_INVOKE_PROC", "RADIOSIGNAL_2" ],
644    "pocket_data": [
645      {
646        "pocket_type": "MAGAZINE_WELL",
647        "rigid": true,
648        "holster": true,
649        "max_contains_volume": "20 L",
650        "max_contains_weight": "20 kg",
651        "item_restriction": [
652          "light_battery_cell",
653          "light_plus_battery_cell",
654          "light_minus_battery_cell",
655          "light_atomic_battery_cell",
656          "light_minus_atomic_battery_cell",
657          "light_minus_disposable_cell",
658          "light_disposable_cell"
659        ]
660      }
661    ]
662  },
663  {
664    "id": "smart_lamp_on",
665    "copy-from": "smart_lamp",
666    "type": "TOOL",
667    "name": { "str": "smart lamp (on)", "str_pl": "smart lamps (on)" },
668    "description": "This is a smart lamp, this smart lamp is turned on.  It can be deactivated remotely.",
669    "power_draw": 10000,
670    "revert_to": "smart_lamp",
671    "use_action": { "target": "smart_lamp", "msg": "Your smart lamp turned off.", "menu_text": "Turn off", "type": "transform" },
672    "flags": [
673      "ALLOWS_REMOTE_USE",
674      "RADIO_ACTIVATION",
675      "RADIO_INVOKE_PROC",
676      "RADIOSIGNAL_2",
677      "LIGHT_240",
678      "CHARGEDIM",
679      "TRADER_AVOID"
680    ]
681  },
682  {
683    "id": "torch",
684    "type": "TOOL",
685    "name": { "str": "torch", "str_pl": "torches" },
686    "description": "This is a large stick, wrapped in rags that are soaked with a flammable material.  When lit, produces a fair amount of light.  You'll need a lighter or matches to light it.",
687    "weight": "831 g",
688    "volume": "750 ml",
689    "price": 0,
690    "price_postapoc": 50,
691    "to_hit": 1,
692    "bashing": 8,
693    "material": [ "wood" ],
694    "symbol": "/",
695    "color": "brown",
696    "techniques": [ "WBLOCK_1" ],
697    "initial_charges": 20,
698    "max_charges": 20,
699    "use_action": {
700      "target": "torch_lit",
701      "msg": "You light the torch.",
702      "active": true,
703      "need_fire": 1,
704      "menu_text": "Light torch",
705      "type": "transform"
706    },
707    "flags": [ "BURNOUT" ]
708  },
709  {
710    "id": "torch_lit",
711    "type": "TOOL",
712    "name": { "str": "torch", "str_pl": "torches" },
713    "description": "This is a large stick, wrapped in rags that are soaked with a flammable material.  It is burning, producing plenty of light.",
714    "weight": "831 g",
715    "volume": "750 ml",
716    "price": 0,
717    "price_postapoc": 0,
718    "to_hit": 1,
719    "bashing": 8,
720    "material": [ "wood" ],
721    "symbol": "/",
722    "color": "brown",
723    "initial_charges": 20,
724    "max_charges": 20,
725    "turns_per_charge": 60,
726    "revert_to": "torch_done",
727    "use_action": [
728      { "type": "firestarter", "moves": 30 },
729      {
730        "target": "torch",
731        "msg": "The torch is extinguished.",
732        "active": false,
733        "menu_text": "Extinguish",
734        "type": "transform"
735      }
736    ],
737    "techniques": [ "WBLOCK_1" ],
738    "flags": [ "FIRE", "LIGHT_310", "CHARGEDIM", "FLAMING", "TRADER_AVOID", "WATER_EXTINGUISH", "BURNOUT" ]
739  }
740]
741