From ac64085fd227fb76ccd83bc6262bbabcd7043333 Mon Sep 17 00:00:00 2001 From: RarkGrames <50421549+RarkGrames@users.noreply.github.com> Date: Mon, 20 Jan 2020 07:25:20 +0100 Subject: [PATCH] Tools.json sorting pt. 3 (#37214) * Tools.json sorting pt. 3 --- data/json/items/tool/explosives.json | 807 ++++++++++++++++++++++ data/json/items/tool/landscaping.json | 157 +++++ data/json/items/tools.json | 960 -------------------------- 3 files changed, 964 insertions(+), 960 deletions(-) create mode 100644 data/json/items/tool/explosives.json create mode 100644 data/json/items/tool/landscaping.json diff --git a/data/json/items/tool/explosives.json b/data/json/items/tool/explosives.json new file mode 100644 index 0000000000000..516177a9f3b44 --- /dev/null +++ b/data/json/items/tool/explosives.json @@ -0,0 +1,807 @@ +[ + { + "id": "acidbomb", + "type": "TOOL", + "category": "weapons", + "name": "acid bomb", + "description": "This is a fragile container filled with acid. Throw it to spill out a pool of potent acid.", + "weight": "650 g", + "volume": "500 ml", + "price": 5000, + "to_hit": -1, + "bashing": 4, + "material": "glass", + "symbol": "*", + "color": "yellow", + "use_action": "ACIDBOMB_ACT", + "flags": [ "ACT_ON_RANGED_HIT", "NPC_THROWN" ] + }, + { + "id": "c4", + "type": "TOOL", + "category": "weapons", + "name": "C-4 explosive", + "description": "This is military grade RDX composition explosive. A label reads: \"Highly explosive, use with extreme caution!\" It comes with a small timer.", + "weight": "1570 g", + "volume": "1 L", + "price": 9000, + "to_hit": -4, + "material": [ "plastic" ], + "symbol": ";", + "color": "light_gray", + "use_action": "C4" + }, + { + "id": "c4armed", + "type": "TOOL", + "category": "weapons", + "name": "C-4 explosive (armed)", + "name_plural": "C-4 explosives (armed)", + "description": "This is military grade RDX composition explosive. A label reads: \"Highly explosive, use with extreme caution!\" It comes with a small timer, which is currently ticking down.", + "weight": "1570 g", + "volume": "1 L", + "price": 0, + "to_hit": -4, + "material": [ "plastic" ], + "symbol": ";", + "color": "light_gray", + "initial_charges": 9, + "max_charges": 9, + "turns_per_charge": 1, + "use_action": { + "type": "explosion", + "sound_volume": 0, + "sound_msg": "Tick.", + "no_deactivate_msg": "You've already set the %s's timer, you might want to get away from it.", + "explosion": { "power": 2000 } + }, + "flags": [ "TRADER_AVOID" ] + }, + { + "id": "dynamite", + "type": "TOOL", + "category": "weapons", + "name": "dynamite", + "description": "These are several sticks of explosives with a fuse attached. Use this item to light the fuse. You will, of course, need a lighter or matches in your inventory to do this. Shortly after lighting the fuse, this item will explode, so get away!", + "weight": "1133 g", + "volume": "750 ml", + "price": 6000, + "to_hit": -3, + "bashing": 4, + "material": [ "paper", "powder" ], + "symbol": "*", + "color": "red", + "explode_in_fire": true, + "explosion": { "power": 938 }, + "use_action": { + "target": "dynamite_act", + "msg": "You light the dynamite.", + "target_charges": 20, + "active": true, + "need_fire": 1, + "menu_text": "Light fuse", + "type": "transform" + }, + "flags": [ "RADIO_MODABLE", "RADIO_INVOKE_PROC", "BOMB" ] + }, + { + "id": "dynamite_act", + "type": "TOOL", + "category": "weapons", + "name": "dynamite (lit)", + "name_plural": "dynamites (lit)", + "description": "The fuse on this dynamite is lit and hissing. It'll explode any moment now.", + "weight": "1133 g", + "volume": "750 ml", + "price": 0, + "to_hit": -3, + "bashing": 4, + "material": [ "paper", "powder" ], + "symbol": "*", + "color": "red", + "turns_per_charge": 1, + "explode_in_fire": true, + "explosion": { "power": 938 }, + "use_action": { + "type": "explosion", + "sound_volume": 0, + "sound_msg": "ssss...", + "no_deactivate_msg": "You've already lit the %s, try throwing it instead.", + "explosion": { "power": 938 } + }, + "flags": [ "TRADER_AVOID", "BOMB" ] + }, + { + "id": "dynamite_bomb", + "type": "TOOL", + "category": "weapons", + "name": "dynamite bomb", + "name_plural": "dynamite bombs", + "description": "These are several sticks of explosives surrounded by shrapnel stuffed inside a metal container. The fuse is sticking out through a small hole. Use this item to light the fuse. You will, of course, need a lighter or matches in your inventory to do this. Shortly after lighting the fuse, this item will explode, so get away!", + "weight": "2730 g", + "volume": "2000 ml", + "price": 6000, + "to_hit": -3, + "bashing": 4, + "material": [ "paper", "powder" ], + "symbol": "*", + "looks_like": "fragment_bomb", + "color": "red", + "explode_in_fire": true, + "explosion": { "power": 938, "shrapnel": { "casing_mass": 1597, "fragment_mass": 1 } }, + "use_action": { + "target": "dynamite_bomb_act", + "msg": "You light the dynamite.", + "target_charges": 20, + "active": true, + "need_fire": 1, + "menu_text": "Light fuse", + "type": "transform" + }, + "flags": [ "RADIO_MODABLE", "RADIO_INVOKE_PROC", "BOMB" ] + }, + { + "id": "dynamite_bomb_act", + "type": "TOOL", + "category": "weapons", + "name": "dynamite bomb (lit)", + "name_plural": "dynamite bombs (lit)", + "description": "The fuse on this dynamite bomb is lit and hissing. It'll explode any moment now.", + "weight": "2730 g", + "volume": "2000 ml", + "price": 0, + "to_hit": -3, + "bashing": 4, + "material": [ "paper", "powder" ], + "symbol": "*", + "looks_like": "fragment_bomb_act", + "color": "red", + "turns_per_charge": 1, + "explode_in_fire": true, + "explosion": { "power": 938, "shrapnel": { "casing_mass": 1597, "fragment_mass": 1 } }, + "use_action": { + "type": "explosion", + "sound_volume": 0, + "sound_msg": "ssss...", + "no_deactivate_msg": "You've already lit the %s, try throwing it instead.", + "explosion": { "power": 938, "shrapnel": { "casing_mass": 1597, "fragment_mass": 1 } } + }, + "flags": [ "TRADER_AVOID", "BOMB" ] + }, + { + "id": "EMPbomb", + "type": "TOOL", + "category": "weapons", + "name": "EMP bomb", + "description": "This substantial device is a bomb that generates a electromagnetic pulse. When activated, the plutonium fuel cell is drained into a flux compression generator, the detonation of which creates a strong magnetic field. When this magnetic field is fed into the antenna, it creates a strong electro-magnetic pulse.", + "weight": "4543 g", + "volume": "15500 ml", + "price": 60000, + "to_hit": -1, + "bashing": 12, + "material": [ "steel", "plastic" ], + "symbol": "*", + "explode_in_fire": true, + "explosion": { "power": 600, "shrapnel": { "casing_mass": 3214, "fragment_mass": 0.5 } }, + "color": "light_gray", + "use_action": { + "target": "EMPbomb_act", + "msg": "You activate the EMP bomb.", + "target_charges": 50, + "active": true, + "menu_text": "Activate bomb", + "type": "transform" + }, + "flags": [ "RADIO_MODABLE", "RADIO_INVOKE_PROC", "BOMB", "GRENADE" ] + }, + { + "id": "EMPbomb_act", + "type": "TOOL", + "category": "weapons", + "name": "active EMP bomb", + "description": "This EMP bomb is active, and will shortly detonate, creating a large EMP field that damages robots and drains bionic energy, as well as a sizeable explosion. You may not want to be holding it much longer.", + "weight": "19515 g", + "volume": "16 L", + "price": 0, + "to_hit": -1, + "bashing": 12, + "material": [ "steel", "plastic" ], + "symbol": "*", + "explode_in_fire": true, + "explosion": { "power": 600, "shrapnel": { "casing_mass": 3214, "fragment_mass": 0.5 } }, + "color": "light_gray", + "initial_charges": 50, + "max_charges": 50, + "turns_per_charge": 1, + "use_action": { + "type": "explosion", + "draw_explosion_radius": 10, + "draw_explosion_color": "light_blue", + "emp_blast_radius": 10, + "sound_volume": 0, + "sound_msg": "Tick.", + "explosion": { "power": 600, "shrapnel": { "casing_mass": 3214, "fragment_mass": 0.5 } }, + "no_deactivate_msg": "You've already activated the %s, try throwing it instead." + }, + "flags": [ "TRADER_AVOID" ] + }, + { + "id": "fertilizer_bomb", + "type": "TOOL", + "category": "weapons", + "name": "fertilizer bomb", + "description": "This is a volatile homemade explosive. Use this item to light the fuse. You will, of course, need a lighter or matches in your inventory to do this. Shortly after lighting the fuse, this item will explode, so get away!", + "weight": "1133 g", + "volume": "750 ml", + "price": 0, + "to_hit": -3, + "bashing": 4, + "material": [ "plastic", "powder" ], + "symbol": "*", + "color": "red", + "explode_in_fire": true, + "explosion": { "power": 125 }, + "use_action": { + "target": "fertilizer_bomb_act", + "msg": "You light the %s.", + "target_charges": 10, + "active": true, + "need_fire": 1, + "menu_text": "Light fuse", + "type": "transform" + } + }, + { + "id": "fertilizer_bomb_act", + "type": "TOOL", + "category": "weapons", + "name": "fertilizer bomb (lit)", + "name_plural": "fertilizer bombs (lit)", + "description": "The fuse on this fertilizer bomb is lit and hissing. It'll explode any moment now.", + "weight": "1133 g", + "volume": "750 ml", + "price": 0, + "to_hit": -3, + "bashing": 4, + "material": [ "plastic", "powder" ], + "symbol": "*", + "color": "red", + "initial_charges": 10, + "max_charges": 10, + "turns_per_charge": 1, + "explode_in_fire": true, + "explosion": { "power": 125 }, + "use_action": { + "type": "explosion", + "sound_volume": 0, + "sound_msg": "ssss...", + "no_deactivate_msg": "You've already lit the %s, try throwing it instead.", + "explosion": { "power": 175 } + }, + "flags": [ "TRADER_AVOID" ] + }, + { + "id": "firecracker", + "type": "TOOL", + "name": "firecracker", + "description": "A solitary firecracker with a short fuse. Use this item to light the fuse. Of course, you will need a lighter or some matches to do so. Shortly after you light the fuse it will explode, so throw it quickly!", + "weight": "3 g", + "volume": 0, + "price": 4, + "to_hit": -3, + "bashing": 1, + "material": "paper", + "symbol": ";", + "color": "red", + "use_action": "FIRECRACKER" + }, + { + "id": "firecracker_act", + "type": "TOOL", + "name": "firecracker (lit)", + "name_plural": "firecrackers (lit)", + "description": "A firecracker that has been lit; the fuse is hissing. Throw it quickly before it explodes.", + "weight": "3 g", + "volume": 0, + "price": 0, + "to_hit": -3, + "bashing": 1, + "material": "paper", + "symbol": ";", + "color": "red", + "turns_per_charge": 1, + "use_action": "FIRECRACKER_ACT", + "flags": [ "TRADER_AVOID" ] + }, + { + "id": "firecracker_pack", + "type": "TOOL", + "name": "pack of firecrackers", + "name_plural": "packs of firecrackers", + "description": "This is a pack of 25 firecrackers with a starter fuse. Use this item to light the fuse. Of course, you will need a lighter or some matches to do so. Shortly after you light the fuse they will begin to explode, so throw them quickly!", + "weight": "75 g", + "volume": 0, + "price": 100, + "to_hit": -3, + "bashing": 1, + "material": "paper", + "symbol": "*", + "color": "red", + "initial_charges": 25, + "max_charges": 25, + "charges_per_use": 1, + "use_action": "FIRECRACKER_PACK" + }, + { + "id": "firecracker_pack_act", + "type": "TOOL", + "name": "pack of firecrackers (lit)", + "name_plural": "packs of firecrackers (lit)", + "description": "A pack of 25 firecrackers that has been lit; the fuse is hissing. Throw them quickly before the start to explode.", + "weight": "75 g", + "volume": 0, + "price": 0, + "to_hit": -3, + "material": "paper", + "symbol": "*", + "color": "red", + "turns_per_charge": 7, + "use_action": "FIRECRACKER_PACK_ACT", + "flags": [ "TRADER_AVOID" ] + }, + { + "id": "flashbang", + "type": "TOOL", + "category": "weapons", + "name": "flashbang", + "description": "This is a military police style flashbang. Use this item to pull the pin and light the fuse. You will then have five turns before it detonates with intense light and sound, blinding, deafening and disorienting anyone nearby.", + "weight": "236 g", + "volume": "250 ml", + "price": 2000, + "to_hit": -1, + "bashing": 5, + "material": [ "steel", "plastic" ], + "symbol": "*", + "color": "dark_gray", + "use_action": { + "target": "flashbang_act", + "msg": "You pull the pin on the flashbang.", + "target_charges": 5, + "active": true, + "menu_text": "Pull pin", + "type": "transform" + }, + "flags": [ "RADIO_MODABLE", "RADIO_INVOKE_PROC", "BOMB", "GRENADE" ] + }, + { + "id": "flashbang_act", + "type": "TOOL", + "category": "weapons", + "name": "active flashbang", + "description": "This flashbang is active, and will soon detonate with intense light and sound, blinding, deafening and disorienting anyone nearby. It may be a good idea to throw it!", + "weight": "236 g", + "volume": "250 ml", + "price": 0, + "to_hit": -1, + "bashing": 5, + "material": [ "steel", "plastic" ], + "symbol": "*", + "color": "dark_gray", + "initial_charges": 5, + "max_charges": 5, + "turns_per_charge": 1, + "use_action": { + "type": "explosion", + "do_flashbang": true, + "sound_volume": 0, + "sound_msg": "Tick.", + "no_deactivate_msg": "You've already pulled the %s's pin, try throwing it instead." + }, + "flags": [ "TRADER_AVOID" ] + }, + { + "id": "gasbomb_makeshift", + "type": "TOOL", + "category": "weapons", + "name": "makeshift gas canister", + "description": "This is a crude gasbomb using household chemicals. Use this item to arm it. In three turns it will begin to expel a highly toxic gas for a short time. This gas poisons those exposed to it, in addition to obscuring vision and scent.", + "weight": "1264 g", + "volume": "250 ml", + "price": 500, + "to_hit": -1, + "bashing": 6, + "material": "steel", + "symbol": "*", + "color": "dark_gray", + "use_action": { + "target": "gasbomb_makeshift_act", + "msg": "You arm the makeshift gas canister.", + "target_charges": 10, + "active": true, + "menu_text": "Arm", + "type": "transform" + }, + "flags": [ "RADIO_MODABLE", "RADIO_INVOKE_PROC", "BOMB" ] + }, + { + "id": "gasbomb_makeshift_act", + "type": "TOOL", + "category": "weapons", + "name": "active makeshift gas grenade", + "description": "This homemade canister of poison gas has been unsealed, and is (or will shortly be) expelling highly toxic gas. You should consider getting rid of it soon.", + "weight": "1264 g", + "volume": "250 ml", + "price": 0, + "to_hit": -1, + "bashing": 6, + "material": "steel", + "symbol": "*", + "color": "dark_gray", + "initial_charges": 3, + "max_charges": 3, + "turns_per_charge": 1, + "revert_to": "canister_empty", + "use_action": { + "type": "explosion", + "fields_type": "fd_toxic_gas", + "fields_radius": 2, + "fields_min_intensity": 1, + "fields_max_intensity": 3, + "sound_volume": 0, + "sound_msg": "Hiss.", + "no_deactivate_msg": "You've already armed the %s, try throwing it instead." + }, + "flags": [ "TRADER_AVOID" ] + }, + { + "id": "LAW_Packed", + "type": "TOOL", + "category": "guns", + "name": "packed M72 LAW", + "name_plural": "packed M72 LAWs", + "description": "This is a M72 LAW, packed in its storage form. Use it to pop it out and make it ready to fire. Once it is activated, it cannot be repacked.", + "weight": "2500 g", + "volume": "1500 ml", + "price": 200000, + "bashing": 6, + "material": "aluminum", + "symbol": ")", + "color": "green", + "use_action": { + "target": "LAW", + "msg": "You pull the activating lever, readying the LAW to fire.", + "target_charges": 1, + "target_ammo": "66mm_HEAT", + "menu_text": "Activate", + "type": "transform" + } + }, + { + "id": "mininuke", + "type": "TOOL", + "category": "weapons", + "name": "mininuke", + "//": "This is based on the Davy Crockett nuclear artillery shell, all other man-portable nuclear weapons have far too high a yield.", + "description": "This is an extremely powerful weapon, a portable nuclear bomb. Use it to activate the timer. You guess that the explosion would be large enough to take out a small house.", + "weight": "23000 g", + "volume": "16 L", + "price": 180000, + "to_hit": -2, + "bashing": 8, + "material": [ "steel", "plastic" ], + "symbol": "*", + "color": "light_green", + "use_action": "MININUKE", + "flags": [ "LEAK_DAM", "RADIOACTIVE", "RADIO_MODABLE", "RADIO_INVOKE_PROC", "BOMB" ] + }, + { + "id": "mininuke_act", + "type": "TOOL", + "category": "weapons", + "name": "mininuke", + "name_plural": "mininukes", + "//": "This is based on the Davy Crockett nuclear artillery shell, all other man-portable nuclear weapons have far too high a yield.", + "description": "This miniature nuclear bomb has a light blinking on the side, showing that it will soon explode. You should probably get far, far away from it.", + "weight": "23000 g", + "volume": "16 L", + "price": 0, + "to_hit": -2, + "bashing": 8, + "material": [ "steel", "plastic" ], + "symbol": "*", + "color": "light_green", + "turns_per_charge": 1, + "use_action": { + "type": "explosion", + "fields_type": "fd_nuke_gas", + "fields_radius": 18, + "fields_min_intensity": 3, + "fields_max_intensity": 3, + "sound_volume": 2, + "sound_msg": "Tick.", + "no_deactivate_msg": "You've already set the %s's timer, you might want to get away from it.", + "explosion": { "power": 9000000 } + }, + "flags": [ "LEAK_DAM", "RADIOACTIVE", "TRADER_AVOID" ] + }, + { + "id": "molotov", + "type": "TOOL", + "category": "weapons", + "name": "Molotov cocktail", + "description": "A bottle of flammable liquid with a rag inserted. Use this item to light the rag. You will, of course, need a lighter or matches in your inventory to do this. After lighting it, throw it to cause fires.", + "weight": "742 g", + "volume": "750 ml", + "price": 500, + "to_hit": 1, + "bashing": 5, + "material": [ "glass", "cotton" ], + "symbol": "*", + "color": "light_gray", + "initial_charges": 1, + "max_charges": 1, + "use_action": { + "target": "molotov_lit", + "msg": "You light the Molotov cocktail!", + "target_charges": 1, + "active": true, + "moves": 75, + "need_fire": 1, + "menu_text": "Light rag", + "type": "transform" + }, + "flags": [ "NPC_ACTIVATE", "NO_REPAIR" ] + }, + { + "id": "molotov_lit", + "type": "TOOL", + "category": "weapons", + "name": "Molotov cocktail", + "name_plural": "Molotov cocktails", + "description": "A bottle of flammable liquid with a flaming rag stoppered in its neck. Throwing it will shatter the bottle on impact and ignite a fireball. Dropping it will set you on fire, so don't do that unless you want to burn to death.", + "weight": "742 g", + "volume": "750 ml", + "price": 0, + "to_hit": 1, + "bashing": 5, + "material": [ "glass", "cotton" ], + "symbol": "*", + "color": "light_gray", + "initial_charges": 1, + "max_charges": 1, + "turns_per_charge": 1, + "use_action": "MOLOTOV_LIT", + "flags": [ "LIGHT_15", "TRADER_AVOID", "NPC_THROW_NOW", "NO_REPAIR", "WATER_EXTINGUISH" ] + }, + { + "id": "tool_anfo_charge", + "type": "TOOL", + "category": "weapons", + "name": "ANFO charge", + "description": "This is a large metal keg filled with ANFO pellets and equipped with a dynamite primer. Use this item to light the fuse. You will then have twenty turns before it explodes and creates a large fireball.", + "weight": "77800 g", + "volume": "50 L", + "price": 75000, + "to_hit": -5, + "bashing": 12, + "material": [ "steel", "plastic" ], + "symbol": "*", + "color": "red", + "explode_in_fire": true, + "explosion": { + "power": 25000, + "//": "Fire would burn away/degrade some of the ANFO before the detonator would trigger.", + "shrapnel": 12600 + }, + "use_action": { + "target": "tool_anfo_charge_act", + "msg": "You light the fuse on the ANFO charge. Run survivor, run!", + "target_charges": 100, + "active": true, + "need_fire": 1, + "menu_text": "Light fuse", + "type": "transform" + }, + "flags": [ "RADIO_MODABLE", "RADIO_INVOKE_PROC", "BOMB" ] + }, + { + "id": "tool_anfo_charge_act", + "type": "TOOL", + "category": "weapons", + "name": "active ANFO charge", + "description": "This is a large metal keg filled with ANFO pellets and equipped with a dynamite primer. The fuse has been lit - better run like hell!", + "weight": "77800 g", + "volume": "50 L", + "price": 0, + "to_hit": -5, + "bashing": 12, + "material": [ "steel", "plastic" ], + "symbol": "*", + "color": "light_red", + "initial_charges": 100, + "max_charges": 100, + "turns_per_charge": 1, + "explode_in_fire": true, + "explosion": { "power": 25000, "shrapnel": 12600 }, + "use_action": { + "type": "explosion", + "sound_volume": 0, + "sound_msg": "Tick.", + "no_deactivate_msg": "You've already lit the fuse - run!", + "explosion": { + "power": 48900, + "//": "Fire exposure would burn away/degrade some of the ANFO before the detonator would trigger.", + "shrapnel": 12600 + } + }, + "flags": [ "BOMB", "TRADER_AVOID" ] + }, + { + "id": "tool_black_powder_charge", + "type": "TOOL", + "category": "weapons", + "name": "black gunpowder charge", + "description": "This is a home-made explosive device, consisting of a large plastic jug filled with black gunpowder and scrap metal, equipped with a long fuse. Use this item to light the fuse. Should explode in a few minutes�", + "weight": "5000 g", + "volume": "4 L", + "price": 20000, + "to_hit": -2, + "material": [ "steel", "plastic" ], + "symbol": "*", + "color": "red", + "explode_in_fire": true, + "explosion": { "power": 250, "shrapnel": { "casing_mass": 2500, "fragment_mass": 2, "drop": "scrap", "recovery": 20 } }, + "use_action": { + "target": "tool_black_powder_charge_act", + "msg": "You light the fuse on the black gunpowder charge. Get rid of it quickly!", + "target_charges": 20, + "active": true, + "menu_text": "Light fuse", + "type": "transform" + }, + "flags": [ "RADIO_MODABLE", "RADIO_INVOKE_PROC", "BOMB" ] + }, + { + "id": "tool_black_powder_charge_act", + "type": "TOOL", + "category": "weapons", + "name": "active black gunpowder charge", + "description": "This is a home-made explosive device, consisting of a large plastic jug filled with black gunpowder and scrap metal, whose fuse has been lit, its final countdown starting.", + "weight": "5000 g", + "volume": "4 L", + "price": 0, + "to_hit": -2, + "material": [ "steel", "plastic" ], + "symbol": "*", + "color": "light_red", + "initial_charges": 20, + "max_charges": 20, + "turns_per_charge": 1, + "explode_in_fire": true, + "explosion": { "power": 250, "shrapnel": { "casing_mass": 2500, "fragment_mass": 2, "drop": "scrap", "recovery": 20 } }, + "use_action": { + "type": "explosion", + "sound_volume": 0, + "sound_msg": "Kshhh.", + "no_deactivate_msg": "You've already lit the fuse - run!", + "explosion": { "power": 500, "shrapnel": { "casing_mass": 2500, "fragment_mass": 2, "drop": "scrap", "recovery": 20 } } + }, + "flags": [ "BOMB", "TRADER_AVOID" ] + }, + { + "id": "tool_rdx_charge", + "type": "TOOL", + "category": "weapons", + "name": "RDX charge", + "description": "This is an metal keg, filled with 50 liters worth of RDX and scrap metal. Contains a core of primary explosive to ensure that the charge detonates completely and delivers its entire destructive power to everything in sight.", + "weight": "106600 g", + "volume": "50 L", + "price": 90000, + "to_hit": -5, + "bashing": 20, + "material": [ "steel", "plastic" ], + "symbol": "(", + "color": "red", + "explode_in_fire": true, + "explosion": { + "power": 6700, + "shrapnel": { "casing_mass": 50000, "fragment_mass": 0.1, "drop": "scrap", "recovery": 1 }, + "//": "Fire exposure would destroy most of the RDX before the HMTD core triggered, resulting in a far smaller blast (relatively speaking)." + }, + "use_action": { + "target": "tool_rdx_charge_act", + "msg": "You light the fuse on the explosive charge. Clear the area!", + "target_charges": 100, + "active": true, + "menu_text": "Light fuse", + "type": "transform" + }, + "flags": [ "RADIO_MODABLE", "RADIO_INVOKE_PROC", "BOMB" ] + }, + { + "id": "tool_rdx_charge_act", + "type": "TOOL", + "category": "weapons", + "name": "active RDX charge", + "description": "This is an metal keg, filled with 50 liters worth of RDX and scrap metal. The fuse has been lit and once it ignites the primary explosive, the charge will detonate and rain fire and steel on everything in sight.", + "weight": "106600 g", + "volume": "50 L", + "price": 0, + "to_hit": -5, + "bashing": 20, + "material": [ "steel", "plastic" ], + "symbol": "(", + "color": "light_red", + "initial_charges": 100, + "max_charges": 100, + "turns_per_charge": 1, + "explode_in_fire": true, + "explosion": { + "power": 6700, + "shrapnel": { "casing_mass": 50000, "fragment_mass": 0.1, "drop": "scrap", "recovery": 1 }, + "//": "Fire exposure would destroy most of the RDX before the HMTD core triggered, resulting in a far smaller blast (relatively speaking)." + }, + "use_action": { + "type": "explosion", + "sound_volume": 0, + "sound_msg": "Kshhh.", + "no_deactivate_msg": "You've already lit the fuse - clear the area immediately!", + "explosion": { "power": 67000, "shrapnel": { "casing_mass": 50000, "fragment_mass": 0.1, "drop": "shrapnel", "recovery": 1 } } + }, + "flags": [ "BOMB", "TRADER_AVOID" ] + }, + { + "id": "tool_rocket_candy", + "type": "TOOL", + "category": "weapons", + "name": { "str": "rocket candy", "str_pl": "rocket candies" }, + "description": "A pear-shaped chunk of rocket candy obtained by heating saltpeter with sugar and casting the obtained liquid. Can serve as a rocket fuel, but also as a smokescreen - if you lit the narrow end, you should be able to throw it before the flame reaches the broad end.", + "weight": "250 g", + "volume": "250 ml", + "price": 100, + "to_hit": -2, + "bashing": 1, + "material": [ "steel", "plastic" ], + "symbol": "*", + "color": "green", + "use_action": { + "target": "tool_rocket_candy_act", + "msg": "You light the rocket candy on fire. Throw it!", + "target_charges": 2, + "active": true, + "menu_text": "Light candy", + "type": "transform" + }, + "flags": [ "RADIO_MODABLE", "RADIO_INVOKE_PROC", "BOMB" ] + }, + { + "id": "tool_rocket_candy_act", + "type": "TOOL", + "category": "weapons", + "name": { "str": "burning rocket candy", "str_pl": "burning rocket candies" }, + "description": "This is a chunk of rocket candy that has been lit on fire and burns with a loud hiss, spewing forth large amounts of smoke.", + "weight": "250 g", + "volume": "250 ml", + "price": 0, + "to_hit": -2, + "bashing": 1, + "material": [ "steel", "plastic" ], + "symbol": "*", + "color": "green", + "initial_charges": 2, + "max_charges": 2, + "turns_per_charge": 1, + "use_action": { + "type": "explosion", + "fields_type": "fd_smoke", + "fields_radius": 2, + "fields_min_intensity": 2, + "fields_max_intensity": 3, + "sound_volume": 5, + "sound_msg": "Hsssss.", + "no_deactivate_msg": "You've already lit the fuse - get rid of it immediately!", + "explosion": { "power": 1 } + }, + "flags": [ "BOMB", "TRADER_AVOID" ] + } +] diff --git a/data/json/items/tool/landscaping.json b/data/json/items/tool/landscaping.json new file mode 100644 index 0000000000000..117287bfc13d7 --- /dev/null +++ b/data/json/items/tool/landscaping.json @@ -0,0 +1,157 @@ +[ + { + "id": "digging_stick", + "type": "GENERIC", + "name": "digging stick", + "category": "tools", + "description": "This is a large stick, with the end carved into a broad blade for digging. It could be used to dig shallow pits, but not deep ones.", + "weight": "1133 g", + "volume": "1500 ml", + "price": 0, + "bashing": 8, + "material": "wood", + "symbol": "/", + "color": "brown", + "techniques": [ "WBLOCK_1" ], + "qualities": [ [ "DIG", 1 ] ] + }, + { + "id": "g_shovel", + "type": "TOOL", + "name": "trowel", + "description": "A small, sharp gardening shovel, perfect for digging up grubs and worms.", + "weight": "280 g", + "volume": "500 ml", + "price": 20, + "to_hit": 1, + "bashing": 3, + "cutting": 5, + "material": "steel", + "symbol": "/", + "color": "dark_gray", + "qualities": [ [ "DIG", 1 ], [ "BUTCHER", -4 ], [ "CUT", 1 ] ] + }, + { + "id": "hoe", + "type": "TOOL", + "name": "hoe", + "description": "This is a farming implement. You can use it to turn tillable land into a slow-to-cross pile of dirt, or dig a shallow pit.", + "weight": "1088 g", + "volume": "3500 ml", + "price": 2000, + "to_hit": 3, + "bashing": 10, + "cutting": 6, + "material": [ "steel", "wood" ], + "symbol": "/", + "color": "brown", + "qualities": [ [ "DIG", 1 ] ], + "techniques": "WBLOCK_1", + "use_action": "MAKEMOUND" + }, + { + "id": "primitive_shovel", + "type": "TOOL", + "name": "stone shovel", + "description": "This is a flattened stone affixed to a stick. It works passably well as a shovel but really can't compare to a real shovel.", + "weight": "1581 g", + "volume": "4 L", + "price": 0, + "bashing": 15, + "cutting": 1, + "material": [ "stone", "wood" ], + "symbol": "/", + "color": "brown", + "qualities": [ [ "DIG", 2 ], [ "COOK", 1 ], [ "BUTCHER", -96 ] ] + }, + { + "id": "scythe", + "type": "TOOL", + "name": "scythe", + "description": "This is an old-fashioned farming tool used to cut tall grass. While it may be a giant blade on the end of a stick, it is incredibly awkward to use for anything but its intended purpose.", + "weight": "3013 g", + "volume": "3250 ml", + "price": 8000, + "to_hit": -6, + "bashing": 6, + "cutting": 14, + "material": [ "steel", "wood" ], + "symbol": "/", + "color": "light_gray", + "techniques": [ "WIDE", "BRUTAL" ], + "qualities": [ [ "CUT", 1 ], [ "BUTCHER", -22 ] ], + "flags": [ "DURABLE_MELEE", "NONCONDUCTIVE" ] + }, + { + "id": "shovel", + "type": "TOOL", + "name": "shovel", + "description": "This is a digging tool. Use it to dig pits adjacent to your location.", + "weight": "1315 g", + "volume": "3500 ml", + "price": 2000, + "to_hit": 3, + "bashing": 14, + "cutting": 3, + "material": [ "steel", "wood" ], + "symbol": "/", + "color": "brown", + "qualities": [ [ "DIG", 3 ], [ "COOK", 1 ], [ "BUTCHER", -70 ] ], + "techniques": [ "WBLOCK_1" ], + "flags": [ "NONCONDUCTIVE" ] + }, + { + "id": "sickle", + "type": "TOOL", + "name": "sickle", + "description": "This is an old-fashioned farming tool used to cut tall grass. While it may be a massive curved blade on a handle, it is incredibly awkward to use for anything but its intended purpose.", + "weight": "1432 g", + "volume": "1250 ml", + "price": 3800, + "to_hit": -6, + "bashing": 2, + "cutting": 16, + "material": [ "steel", "wood" ], + "symbol": "/", + "color": "light_gray", + "qualities": [ [ "CUT", 1 ], [ "BUTCHER", 7 ] ], + "techniques": [ "WBLOCK_1" ], + "flags": [ "DURABLE_MELEE" ] + }, + { + "id": "trimmer_off", + "type": "TOOL", + "name": "hedge trimmer (off)", + "name_plural": "hedge trimmers (off)", + "description": "A cordless, double-sided, gasoline-powered hedge trimmer. A long line of sharp-edged teeth extends from the engine; turning the trimmer on will make them rapidly vibrate. The poor man's chainsaw as far as the zombies are concerned.", + "weight": "4500 g", + "volume": "2500 ml", + "price": 4000, + "to_hit": -1, + "bashing": 4, + "cutting": 8, + "material": [ "steel", "plastic" ], + "symbol": "/", + "color": "green", + "ammo": "gasoline", + "max_charges": 600, + "charges_per_use": 5, + "use_action": "TRIMMER_OFF", + "flags": [ "NONCONDUCTIVE" ] + }, + { + "id": "trimmer_on", + "copy-from": "trimmer_off", + "type": "TOOL", + "name": "hedge trimmer (on)", + "name_plural": "hedge trimmers (on)", + "description": "A cordless, double-sided, gasoline-powered hedge trimmer. It is currently on, ready to do some zombie topiary; use this item to turn it off.", + "cutting": 40, + "power_draw": 500000, + "charges_per_use": 0, + "revert_to": "trimmer_off", + "use_action": "TRIMMER_ON", + "qualities": [ [ "CUT", 1 ], [ "BUTCHER", -60 ] ], + "flags": [ "MESSY", "TRADER_AVOID", "NONCONDUCTIVE" ] + } +] diff --git a/data/json/items/tools.json b/data/json/items/tools.json index 11f28c3ec448b..11981128d2be3 100644 --- a/data/json/items/tools.json +++ b/data/json/items/tools.json @@ -1,30 +1,4 @@ [ - { - "id": "EMPbomb", - "type": "TOOL", - "category": "weapons", - "name": "EMP bomb", - "description": "This substantial device is a bomb that generates a electromagnetic pulse. When activated, the plutonium fuel cell is drained into a flux compression generator, the detonation of which creates a strong magnetic field. When this magnetic field is fed into the antenna, it creates a strong electro-magnetic pulse.", - "weight": "4543 g", - "volume": "15500 ml", - "price": 60000, - "to_hit": -1, - "bashing": 12, - "material": [ "steel", "plastic" ], - "symbol": "*", - "explode_in_fire": true, - "explosion": { "power": 600, "shrapnel": { "casing_mass": 3214, "fragment_mass": 0.5 } }, - "color": "light_gray", - "use_action": { - "target": "EMPbomb_act", - "msg": "You activate the EMP bomb.", - "target_charges": 50, - "active": true, - "menu_text": "Activate bomb", - "type": "transform" - }, - "flags": [ "RADIO_MODABLE", "RADIO_INVOKE_PROC", "BOMB", "GRENADE" ] - }, { "id": "horse_tack", "type": "TOOL", @@ -40,60 +14,6 @@ "color": "yellow", "flags": [ "TACK" ] }, - { - "id": "EMPbomb_act", - "type": "TOOL", - "category": "weapons", - "name": "active EMP bomb", - "description": "This EMP bomb is active, and will shortly detonate, creating a large EMP field that damages robots and drains bionic energy, as well as a sizeable explosion. You may not want to be holding it much longer.", - "weight": "19515 g", - "volume": "16 L", - "price": 0, - "to_hit": -1, - "bashing": 12, - "material": [ "steel", "plastic" ], - "symbol": "*", - "explode_in_fire": true, - "explosion": { "power": 600, "shrapnel": { "casing_mass": 3214, "fragment_mass": 0.5 } }, - "color": "light_gray", - "initial_charges": 50, - "max_charges": 50, - "turns_per_charge": 1, - "use_action": { - "type": "explosion", - "draw_explosion_radius": 10, - "draw_explosion_color": "light_blue", - "emp_blast_radius": 10, - "sound_volume": 0, - "sound_msg": "Tick.", - "explosion": { "power": 600, "shrapnel": { "casing_mass": 3214, "fragment_mass": 0.5 } }, - "no_deactivate_msg": "You've already activated the %s, try throwing it instead." - }, - "flags": [ "TRADER_AVOID" ] - }, - { - "id": "LAW_Packed", - "type": "TOOL", - "category": "guns", - "name": "packed M72 LAW", - "name_plural": "packed M72 LAWs", - "description": "This is a M72 LAW, packed in its storage form. Use it to pop it out and make it ready to fire. Once it is activated, it cannot be repacked.", - "weight": "2500 g", - "volume": "1500 ml", - "price": 200000, - "bashing": 6, - "material": "aluminum", - "symbol": ")", - "color": "green", - "use_action": { - "target": "LAW", - "msg": "You pull the activating lever, readying the LAW to fire.", - "target_charges": 1, - "target_ammo": "66mm_HEAT", - "menu_text": "Activate", - "type": "transform" - } - }, { "id": "hand_pump", "type": "TOOL", @@ -109,23 +29,6 @@ "to_hit": -1, "qualities": [ [ "PRESSURIZATION", 1 ] ] }, - { - "id": "acidbomb", - "type": "TOOL", - "category": "weapons", - "name": "acid bomb", - "description": "This is a fragile container filled with acid. Throw it to spill out a pool of potent acid.", - "weight": "650 g", - "volume": "500 ml", - "price": 5000, - "to_hit": -1, - "bashing": 4, - "material": "glass", - "symbol": "*", - "color": "yellow", - "use_action": "ACIDBOMB_ACT", - "flags": [ "ACT_ON_RANGED_HIT", "NPC_THROWN" ] - }, { "id": "advanced_ecig", "type": "TOOL", @@ -565,47 +468,6 @@ "done_message": "You set the bubble wrap on the ground, ready to be popped." } }, - { - "id": "c4", - "type": "TOOL", - "category": "weapons", - "name": "C-4 explosive", - "description": "This is military grade RDX composition explosive. A label reads: \"Highly explosive, use with extreme caution!\" It comes with a small timer.", - "weight": "1570 g", - "volume": "1 L", - "price": 9000, - "to_hit": -4, - "material": [ "plastic" ], - "symbol": ";", - "color": "light_gray", - "use_action": "C4" - }, - { - "id": "c4armed", - "type": "TOOL", - "category": "weapons", - "name": "C-4 explosive (armed)", - "name_plural": "C-4 explosives (armed)", - "description": "This is military grade RDX composition explosive. A label reads: \"Highly explosive, use with extreme caution!\" It comes with a small timer, which is currently ticking down.", - "weight": "1570 g", - "volume": "1 L", - "price": 0, - "to_hit": -4, - "material": [ "plastic" ], - "symbol": ";", - "color": "light_gray", - "initial_charges": 9, - "max_charges": 9, - "turns_per_charge": 1, - "use_action": { - "type": "explosion", - "sound_volume": 0, - "sound_msg": "Tick.", - "no_deactivate_msg": "You've already set the %s's timer, you might want to get away from it.", - "explosion": { "power": 2000 } - }, - "flags": [ "TRADER_AVOID" ] - }, { "id": "caltrops", "type": "TOOL", @@ -1158,22 +1020,6 @@ "symbol": ";", "color": "brown" }, - { - "id": "digging_stick", - "type": "GENERIC", - "name": "digging stick", - "category": "tools", - "description": "This is a large stick, with the end carved into a broad blade for digging. It could be used to dig shallow pits, but not deep ones.", - "weight": "1133 g", - "volume": "1500 ml", - "price": 0, - "bashing": 8, - "material": "wood", - "symbol": "/", - "color": "brown", - "techniques": [ "WBLOCK_1" ], - "qualities": [ [ "DIG", 1 ] ] - }, { "id": "distaff_spindle", "type": "GENERIC", @@ -1266,117 +1112,6 @@ ], "flags": [ "FIRESTARTER", "THERMOMETER" ] }, - { - "id": "dynamite", - "type": "TOOL", - "category": "weapons", - "name": "dynamite", - "description": "These are several sticks of explosives with a fuse attached. Use this item to light the fuse. You will, of course, need a lighter or matches in your inventory to do this. Shortly after lighting the fuse, this item will explode, so get away!", - "weight": "1133 g", - "volume": "750 ml", - "price": 6000, - "to_hit": -3, - "bashing": 4, - "material": [ "paper", "powder" ], - "symbol": "*", - "color": "red", - "explode_in_fire": true, - "explosion": { "power": 938 }, - "use_action": { - "target": "dynamite_act", - "msg": "You light the dynamite.", - "target_charges": 20, - "active": true, - "need_fire": 1, - "menu_text": "Light fuse", - "type": "transform" - }, - "flags": [ "RADIO_MODABLE", "RADIO_INVOKE_PROC", "BOMB" ] - }, - { - "id": "dynamite_act", - "type": "TOOL", - "category": "weapons", - "name": "dynamite (lit)", - "name_plural": "dynamites (lit)", - "description": "The fuse on this dynamite is lit and hissing. It'll explode any moment now.", - "weight": "1133 g", - "volume": "750 ml", - "price": 0, - "to_hit": -3, - "bashing": 4, - "material": [ "paper", "powder" ], - "symbol": "*", - "color": "red", - "turns_per_charge": 1, - "explode_in_fire": true, - "explosion": { "power": 938 }, - "use_action": { - "type": "explosion", - "sound_volume": 0, - "sound_msg": "ssss...", - "no_deactivate_msg": "You've already lit the %s, try throwing it instead.", - "explosion": { "power": 938 } - }, - "flags": [ "TRADER_AVOID", "BOMB" ] - }, - { - "id": "dynamite_bomb", - "type": "TOOL", - "category": "weapons", - "name": "dynamite bomb", - "name_plural": "dynamite bombs", - "description": "These are several sticks of explosives surrounded by shrapnel stuffed inside a metal container. The fuse is sticking out through a small hole. Use this item to light the fuse. You will, of course, need a lighter or matches in your inventory to do this. Shortly after lighting the fuse, this item will explode, so get away!", - "weight": "2730 g", - "volume": "2000 ml", - "price": 6000, - "to_hit": -3, - "bashing": 4, - "material": [ "paper", "powder" ], - "symbol": "*", - "looks_like": "fragment_bomb", - "color": "red", - "explode_in_fire": true, - "explosion": { "power": 938, "shrapnel": { "casing_mass": 1597, "fragment_mass": 1 } }, - "use_action": { - "target": "dynamite_bomb_act", - "msg": "You light the dynamite.", - "target_charges": 20, - "active": true, - "need_fire": 1, - "menu_text": "Light fuse", - "type": "transform" - }, - "flags": [ "RADIO_MODABLE", "RADIO_INVOKE_PROC", "BOMB" ] - }, - { - "id": "dynamite_bomb_act", - "type": "TOOL", - "category": "weapons", - "name": "dynamite bomb (lit)", - "name_plural": "dynamite bombs (lit)", - "description": "The fuse on this dynamite bomb is lit and hissing. It'll explode any moment now.", - "weight": "2730 g", - "volume": "2000 ml", - "price": 0, - "to_hit": -3, - "bashing": 4, - "material": [ "paper", "powder" ], - "symbol": "*", - "looks_like": "fragment_bomb_act", - "color": "red", - "turns_per_charge": 1, - "explode_in_fire": true, - "explosion": { "power": 938, "shrapnel": { "casing_mass": 1597, "fragment_mass": 1 } }, - "use_action": { - "type": "explosion", - "sound_volume": 0, - "sound_msg": "ssss...", - "no_deactivate_msg": "You've already lit the %s, try throwing it instead.", - "explosion": { "power": 938, "shrapnel": { "casing_mass": 1597, "fragment_mass": 1 } } - }, - "flags": [ "TRADER_AVOID", "BOMB" ] - }, { "id": "e_tool", "type": "TOOL", @@ -1491,61 +1226,6 @@ "charges_per_use": 1, "use_action": "EXTINGUISHER" }, - { - "id": "fertilizer_bomb", - "type": "TOOL", - "category": "weapons", - "name": "fertilizer bomb", - "description": "This is a volatile homemade explosive. Use this item to light the fuse. You will, of course, need a lighter or matches in your inventory to do this. Shortly after lighting the fuse, this item will explode, so get away!", - "weight": "1133 g", - "volume": "750 ml", - "price": 0, - "to_hit": -3, - "bashing": 4, - "material": [ "plastic", "powder" ], - "symbol": "*", - "color": "red", - "explode_in_fire": true, - "explosion": { "power": 125 }, - "use_action": { - "target": "fertilizer_bomb_act", - "msg": "You light the %s.", - "target_charges": 10, - "active": true, - "need_fire": 1, - "menu_text": "Light fuse", - "type": "transform" - } - }, - { - "id": "fertilizer_bomb_act", - "type": "TOOL", - "category": "weapons", - "name": "fertilizer bomb (lit)", - "name_plural": "fertilizer bombs (lit)", - "description": "The fuse on this fertilizer bomb is lit and hissing. It'll explode any moment now.", - "weight": "1133 g", - "volume": "750 ml", - "price": 0, - "to_hit": -3, - "bashing": 4, - "material": [ "plastic", "powder" ], - "symbol": "*", - "color": "red", - "initial_charges": 10, - "max_charges": 10, - "turns_per_charge": 1, - "explode_in_fire": true, - "explosion": { "power": 125 }, - "use_action": { - "type": "explosion", - "sound_volume": 0, - "sound_msg": "ssss...", - "no_deactivate_msg": "You've already lit the %s, try throwing it instead.", - "explosion": { "power": 175 } - }, - "flags": [ "TRADER_AVOID" ] - }, { "id": "fire_ax", "type": "TOOL", @@ -1599,75 +1279,6 @@ "use_action": { "type": "firestarter", "moves": 200, "moves_slow": 10000 }, "flags": [ "FIRESTARTER" ] }, - { - "id": "firecracker", - "type": "TOOL", - "name": "firecracker", - "description": "A solitary firecracker with a short fuse. Use this item to light the fuse. Of course, you will need a lighter or some matches to do so. Shortly after you light the fuse it will explode, so throw it quickly!", - "weight": "3 g", - "volume": 0, - "price": 4, - "to_hit": -3, - "bashing": 1, - "material": "paper", - "symbol": ";", - "color": "red", - "use_action": "FIRECRACKER" - }, - { - "id": "firecracker_act", - "type": "TOOL", - "name": "firecracker (lit)", - "name_plural": "firecrackers (lit)", - "description": "A firecracker that has been lit; the fuse is hissing. Throw it quickly before it explodes.", - "weight": "3 g", - "volume": 0, - "price": 0, - "to_hit": -3, - "bashing": 1, - "material": "paper", - "symbol": ";", - "color": "red", - "turns_per_charge": 1, - "use_action": "FIRECRACKER_ACT", - "flags": [ "TRADER_AVOID" ] - }, - { - "id": "firecracker_pack", - "type": "TOOL", - "name": "pack of firecrackers", - "name_plural": "packs of firecrackers", - "description": "This is a pack of 25 firecrackers with a starter fuse. Use this item to light the fuse. Of course, you will need a lighter or some matches to do so. Shortly after you light the fuse they will begin to explode, so throw them quickly!", - "weight": "75 g", - "volume": 0, - "price": 100, - "to_hit": -3, - "bashing": 1, - "material": "paper", - "symbol": "*", - "color": "red", - "initial_charges": 25, - "max_charges": 25, - "charges_per_use": 1, - "use_action": "FIRECRACKER_PACK" - }, - { - "id": "firecracker_pack_act", - "type": "TOOL", - "name": "pack of firecrackers (lit)", - "name_plural": "packs of firecrackers (lit)", - "description": "A pack of 25 firecrackers that has been lit; the fuse is hissing. Throw them quickly before the start to explode.", - "weight": "75 g", - "volume": 0, - "price": 0, - "to_hit": -3, - "material": "paper", - "symbol": "*", - "color": "red", - "turns_per_charge": 7, - "use_action": "FIRECRACKER_PACK_ACT", - "flags": [ "TRADER_AVOID" ] - }, { "id": "fish_trap", "type": "TOOL", @@ -1762,56 +1373,6 @@ "charges_per_use": 1, "use_action": "ARROW_FLAMABLE" }, - { - "id": "flashbang", - "type": "TOOL", - "category": "weapons", - "name": "flashbang", - "description": "This is a military police style flashbang. Use this item to pull the pin and light the fuse. You will then have five turns before it detonates with intense light and sound, blinding, deafening and disorienting anyone nearby.", - "weight": "236 g", - "volume": "250 ml", - "price": 2000, - "to_hit": -1, - "bashing": 5, - "material": [ "steel", "plastic" ], - "symbol": "*", - "color": "dark_gray", - "use_action": { - "target": "flashbang_act", - "msg": "You pull the pin on the flashbang.", - "target_charges": 5, - "active": true, - "menu_text": "Pull pin", - "type": "transform" - }, - "flags": [ "RADIO_MODABLE", "RADIO_INVOKE_PROC", "BOMB", "GRENADE" ] - }, - { - "id": "flashbang_act", - "type": "TOOL", - "category": "weapons", - "name": "active flashbang", - "description": "This flashbang is active, and will soon detonate with intense light and sound, blinding, deafening and disorienting anyone nearby. It may be a good idea to throw it!", - "weight": "236 g", - "volume": "250 ml", - "price": 0, - "to_hit": -1, - "bashing": 5, - "material": [ "steel", "plastic" ], - "symbol": "*", - "color": "dark_gray", - "initial_charges": 5, - "max_charges": 5, - "turns_per_charge": 1, - "use_action": { - "type": "explosion", - "do_flashbang": true, - "sound_volume": 0, - "sound_msg": "Tick.", - "no_deactivate_msg": "You've already pulled the %s's pin, try throwing it instead." - }, - "flags": [ "TRADER_AVOID" ] - }, { "id": "tear_gas_payload", "type": "TOOL", @@ -1946,76 +1507,6 @@ "done_message": "You unroll the fur mat and lay it on the ground." } }, - { - "id": "g_shovel", - "type": "TOOL", - "name": "trowel", - "description": "A small, sharp gardening shovel, perfect for digging up grubs and worms.", - "weight": "280 g", - "volume": "500 ml", - "price": 20, - "to_hit": 1, - "bashing": 3, - "cutting": 5, - "material": "steel", - "symbol": "/", - "color": "dark_gray", - "qualities": [ [ "DIG", 1 ], [ "BUTCHER", -4 ], [ "CUT", 1 ] ] - }, - { - "id": "gasbomb_makeshift", - "type": "TOOL", - "category": "weapons", - "name": "makeshift gas canister", - "description": "This is a crude gasbomb using household chemicals. Use this item to arm it. In three turns it will begin to expel a highly toxic gas for a short time. This gas poisons those exposed to it, in addition to obscuring vision and scent.", - "weight": "1264 g", - "volume": "250 ml", - "price": 500, - "to_hit": -1, - "bashing": 6, - "material": "steel", - "symbol": "*", - "color": "dark_gray", - "use_action": { - "target": "gasbomb_makeshift_act", - "msg": "You arm the makeshift gas canister.", - "target_charges": 10, - "active": true, - "menu_text": "Arm", - "type": "transform" - }, - "flags": [ "RADIO_MODABLE", "RADIO_INVOKE_PROC", "BOMB" ] - }, - { - "id": "gasbomb_makeshift_act", - "type": "TOOL", - "category": "weapons", - "name": "active makeshift gas grenade", - "description": "This homemade canister of poison gas has been unsealed, and is (or will shortly be) expelling highly toxic gas. You should consider getting rid of it soon.", - "weight": "1264 g", - "volume": "250 ml", - "price": 0, - "to_hit": -1, - "bashing": 6, - "material": "steel", - "symbol": "*", - "color": "dark_gray", - "initial_charges": 3, - "max_charges": 3, - "turns_per_charge": 1, - "revert_to": "canister_empty", - "use_action": { - "type": "explosion", - "fields_type": "fd_toxic_gas", - "fields_radius": 2, - "fields_min_intensity": 1, - "fields_max_intensity": 3, - "sound_volume": 0, - "sound_msg": "Hiss.", - "no_deactivate_msg": "You've already armed the %s, try throwing it instead." - }, - "flags": [ "TRADER_AVOID" ] - }, { "id": "gasoline_lantern", "type": "TOOL", @@ -2219,24 +1710,6 @@ "color": "light_gray", "qualities": [ [ "DRILL", 2 ] ] }, - { - "id": "hoe", - "type": "TOOL", - "name": "hoe", - "description": "This is a farming implement. You can use it to turn tillable land into a slow-to-cross pile of dirt, or dig a shallow pit.", - "weight": "1088 g", - "volume": "3500 ml", - "price": 2000, - "to_hit": 3, - "bashing": 10, - "cutting": 6, - "material": [ "steel", "wood" ], - "symbol": "/", - "color": "brown", - "qualities": [ [ "DIG", 1 ] ], - "techniques": "WBLOCK_1", - "use_action": "MAKEMOUND" - }, { "id": "honey_scraper", "type": "TOOL", @@ -2798,54 +2271,6 @@ "color": "light_gray", "qualities": [ [ "SMOOTH", 2 ] ] }, - { - "id": "mininuke", - "type": "TOOL", - "category": "weapons", - "name": "mininuke", - "//": "This is based on the Davy Crockett nuclear artillery shell, all other man-portable nuclear weapons have far too high a yield.", - "description": "This is an extremely powerful weapon, a portable nuclear bomb. Use it to activate the timer. You guess that the explosion would be large enough to take out a small house.", - "weight": "23000 g", - "volume": "16 L", - "price": 180000, - "to_hit": -2, - "bashing": 8, - "material": [ "steel", "plastic" ], - "symbol": "*", - "color": "light_green", - "use_action": "MININUKE", - "flags": [ "LEAK_DAM", "RADIOACTIVE", "RADIO_MODABLE", "RADIO_INVOKE_PROC", "BOMB" ] - }, - { - "id": "mininuke_act", - "type": "TOOL", - "category": "weapons", - "name": "mininuke", - "name_plural": "mininukes", - "//": "This is based on the Davy Crockett nuclear artillery shell, all other man-portable nuclear weapons have far too high a yield.", - "description": "This miniature nuclear bomb has a light blinking on the side, showing that it will soon explode. You should probably get far, far away from it.", - "weight": "23000 g", - "volume": "16 L", - "price": 0, - "to_hit": -2, - "bashing": 8, - "material": [ "steel", "plastic" ], - "symbol": "*", - "color": "light_green", - "turns_per_charge": 1, - "use_action": { - "type": "explosion", - "fields_type": "fd_nuke_gas", - "fields_radius": 18, - "fields_min_intensity": 3, - "fields_max_intensity": 3, - "sound_volume": 2, - "sound_msg": "Tick.", - "no_deactivate_msg": "You've already set the %s's timer, you might want to get away from it.", - "explosion": { "power": 9000000 } - }, - "flags": [ "LEAK_DAM", "RADIOACTIVE", "TRADER_AVOID" ] - }, { "id": "misc_repairkit", "type": "TOOL", @@ -2891,55 +2316,6 @@ "color": "light_blue", "qualities": [ [ "CONTAIN", 1 ] ] }, - { - "id": "molotov", - "type": "TOOL", - "category": "weapons", - "name": "Molotov cocktail", - "description": "A bottle of flammable liquid with a rag inserted. Use this item to light the rag. You will, of course, need a lighter or matches in your inventory to do this. After lighting it, throw it to cause fires.", - "weight": "742 g", - "volume": "750 ml", - "price": 500, - "to_hit": 1, - "bashing": 5, - "material": [ "glass", "cotton" ], - "symbol": "*", - "color": "light_gray", - "initial_charges": 1, - "max_charges": 1, - "use_action": { - "target": "molotov_lit", - "msg": "You light the Molotov cocktail!", - "target_charges": 1, - "active": true, - "moves": 75, - "need_fire": 1, - "menu_text": "Light rag", - "type": "transform" - }, - "flags": [ "NPC_ACTIVATE", "NO_REPAIR" ] - }, - { - "id": "molotov_lit", - "type": "TOOL", - "category": "weapons", - "name": "Molotov cocktail", - "name_plural": "Molotov cocktails", - "description": "A bottle of flammable liquid with a flaming rag stoppered in its neck. Throwing it will shatter the bottle on impact and ignite a fireball. Dropping it will set you on fire, so don't do that unless you want to burn to death.", - "weight": "742 g", - "volume": "750 ml", - "price": 0, - "to_hit": 1, - "bashing": 5, - "material": [ "glass", "cotton" ], - "symbol": "*", - "color": "light_gray", - "initial_charges": 1, - "max_charges": 1, - "turns_per_charge": 1, - "use_action": "MOLOTOV_LIT", - "flags": [ "LIGHT_15", "TRADER_AVOID", "NPC_THROW_NOW", "NO_REPAIR", "WATER_EXTINGUISH" ] - }, { "id": "multitool", "type": "TOOL", @@ -3462,21 +2838,6 @@ "qualities": [ [ "CUT", 1 ], [ "BUTCHER", 11 ] ], "flags": [ "STAB", "SHEATH_KNIFE" ] }, - { - "id": "primitive_shovel", - "type": "TOOL", - "name": "stone shovel", - "description": "This is a flattened stone affixed to a stick. It works passably well as a shovel but really can't compare to a real shovel.", - "weight": "1581 g", - "volume": "4 L", - "price": 0, - "bashing": 15, - "cutting": 1, - "material": [ "stone", "wood" ], - "symbol": "/", - "color": "brown", - "qualities": [ [ "DIG", 2 ], [ "COOK", 1 ], [ "BUTCHER", -96 ] ] - }, { "id": "reading_light", "type": "TOOL", @@ -3710,24 +3071,6 @@ "qualities": [ [ "SCREW", 1 ], [ "SCREW_FINE", 1 ] ], "flags": [ "BELT_CLIP" ] }, - { - "id": "scythe", - "type": "TOOL", - "name": "scythe", - "description": "This is an old-fashioned farming tool used to cut tall grass. While it may be a giant blade on the end of a stick, it is incredibly awkward to use for anything but its intended purpose.", - "weight": "3013 g", - "volume": "3250 ml", - "price": 8000, - "to_hit": -6, - "bashing": 6, - "cutting": 14, - "material": [ "steel", "wood" ], - "symbol": "/", - "color": "light_gray", - "techniques": [ "WIDE", "BRUTAL" ], - "qualities": [ [ "CUT", 1 ], [ "BUTCHER", -22 ] ], - "flags": [ "DURABLE_MELEE", "NONCONDUCTIVE" ] - }, { "id": "sewing_kit", "type": "TOOL", @@ -3874,42 +3217,6 @@ "done_message": "You set the shotgun trap." } }, - { - "id": "shovel", - "type": "TOOL", - "name": "shovel", - "description": "This is a digging tool. Use it to dig pits adjacent to your location.", - "weight": "1315 g", - "volume": "3500 ml", - "price": 2000, - "to_hit": 3, - "bashing": 14, - "cutting": 3, - "material": [ "steel", "wood" ], - "symbol": "/", - "color": "brown", - "qualities": [ [ "DIG", 3 ], [ "COOK", 1 ], [ "BUTCHER", -70 ] ], - "techniques": [ "WBLOCK_1" ], - "flags": [ "NONCONDUCTIVE" ] - }, - { - "id": "sickle", - "type": "TOOL", - "name": "sickle", - "description": "This is an old-fashioned farming tool used to cut tall grass. While it may be a massive curved blade on a handle, it is incredibly awkward to use for anything but its intended purpose.", - "weight": "1432 g", - "volume": "1250 ml", - "price": 3800, - "to_hit": -6, - "bashing": 2, - "cutting": 16, - "material": [ "steel", "wood" ], - "symbol": "/", - "color": "light_gray", - "qualities": [ [ "CUT", 1 ], [ "BUTCHER", 7 ] ], - "techniques": [ "WBLOCK_1" ], - "flags": [ "DURABLE_MELEE" ] - }, { "id": "sm_extinguisher", "type": "TOOL", @@ -4528,237 +3835,6 @@ "use_action": { "target": "large_space_heater", "msg": "You turn off the heater.", "menu_text": "Turn off", "type": "transform" }, "magazine_well": 4 }, - { - "id": "tool_anfo_charge", - "type": "TOOL", - "category": "weapons", - "name": "ANFO charge", - "description": "This is a large metal keg filled with ANFO pellets and equipped with a dynamite primer. Use this item to light the fuse. You will then have twenty turns before it explodes and creates a large fireball.", - "weight": "77800 g", - "volume": "50 L", - "price": 75000, - "to_hit": -5, - "bashing": 12, - "material": [ "steel", "plastic" ], - "symbol": "*", - "color": "red", - "explode_in_fire": true, - "explosion": { - "power": 25000, - "//": "Fire would burn away/degrade some of the ANFO before the detonator would trigger.", - "shrapnel": 12600 - }, - "use_action": { - "target": "tool_anfo_charge_act", - "msg": "You light the fuse on the ANFO charge. Run survivor, run!", - "target_charges": 100, - "active": true, - "need_fire": 1, - "menu_text": "Light fuse", - "type": "transform" - }, - "flags": [ "RADIO_MODABLE", "RADIO_INVOKE_PROC", "BOMB" ] - }, - { - "id": "tool_anfo_charge_act", - "type": "TOOL", - "category": "weapons", - "name": "active ANFO charge", - "description": "This is a large metal keg filled with ANFO pellets and equipped with a dynamite primer. The fuse has been lit - better run like hell!", - "weight": "77800 g", - "volume": "50 L", - "price": 0, - "to_hit": -5, - "bashing": 12, - "material": [ "steel", "plastic" ], - "symbol": "*", - "color": "light_red", - "initial_charges": 100, - "max_charges": 100, - "turns_per_charge": 1, - "explode_in_fire": true, - "explosion": { "power": 25000, "shrapnel": 12600 }, - "use_action": { - "type": "explosion", - "sound_volume": 0, - "sound_msg": "Tick.", - "no_deactivate_msg": "You've already lit the fuse - run!", - "explosion": { - "power": 48900, - "//": "Fire exposure would burn away/degrade some of the ANFO before the detonator would trigger.", - "shrapnel": 12600 - } - }, - "flags": [ "BOMB", "TRADER_AVOID" ] - }, - { - "id": "tool_black_powder_charge", - "type": "TOOL", - "category": "weapons", - "name": "black gunpowder charge", - "description": "This is a home-made explosive device, consisting of a large plastic jug filled with black gunpowder and scrap metal, equipped with a long fuse. Use this item to light the fuse. Should explode in a few minutes…", - "weight": "5000 g", - "volume": "4 L", - "price": 20000, - "to_hit": -2, - "material": [ "steel", "plastic" ], - "symbol": "*", - "color": "red", - "explode_in_fire": true, - "explosion": { "power": 250, "shrapnel": { "casing_mass": 2500, "fragment_mass": 2, "drop": "scrap", "recovery": 20 } }, - "use_action": { - "target": "tool_black_powder_charge_act", - "msg": "You light the fuse on the black gunpowder charge. Get rid of it quickly!", - "target_charges": 20, - "active": true, - "menu_text": "Light fuse", - "type": "transform" - }, - "flags": [ "RADIO_MODABLE", "RADIO_INVOKE_PROC", "BOMB" ] - }, - { - "id": "tool_black_powder_charge_act", - "type": "TOOL", - "category": "weapons", - "name": "active black gunpowder charge", - "description": "This is a home-made explosive device, consisting of a large plastic jug filled with black gunpowder and scrap metal, whose fuse has been lit, its final countdown starting.", - "weight": "5000 g", - "volume": "4 L", - "price": 0, - "to_hit": -2, - "material": [ "steel", "plastic" ], - "symbol": "*", - "color": "light_red", - "initial_charges": 20, - "max_charges": 20, - "turns_per_charge": 1, - "explode_in_fire": true, - "explosion": { "power": 250, "shrapnel": { "casing_mass": 2500, "fragment_mass": 2, "drop": "scrap", "recovery": 20 } }, - "use_action": { - "type": "explosion", - "sound_volume": 0, - "sound_msg": "Kshhh.", - "no_deactivate_msg": "You've already lit the fuse - run!", - "explosion": { "power": 500, "shrapnel": { "casing_mass": 2500, "fragment_mass": 2, "drop": "scrap", "recovery": 20 } } - }, - "flags": [ "BOMB", "TRADER_AVOID" ] - }, - { - "id": "tool_rdx_charge", - "type": "TOOL", - "category": "weapons", - "name": "RDX charge", - "description": "This is an metal keg, filled with 50 liters worth of RDX and scrap metal. Contains a core of primary explosive to ensure that the charge detonates completely and delivers its entire destructive power to everything in sight.", - "weight": "106600 g", - "volume": "50 L", - "price": 90000, - "to_hit": -5, - "bashing": 20, - "material": [ "steel", "plastic" ], - "symbol": "(", - "color": "red", - "explode_in_fire": true, - "explosion": { - "power": 6700, - "shrapnel": { "casing_mass": 50000, "fragment_mass": 0.1, "drop": "scrap", "recovery": 1 }, - "//": "Fire exposure would destroy most of the RDX before the HMTD core triggered, resulting in a far smaller blast (relatively speaking)." - }, - "use_action": { - "target": "tool_rdx_charge_act", - "msg": "You light the fuse on the explosive charge. Clear the area!", - "target_charges": 100, - "active": true, - "menu_text": "Light fuse", - "type": "transform" - }, - "flags": [ "RADIO_MODABLE", "RADIO_INVOKE_PROC", "BOMB" ] - }, - { - "id": "tool_rdx_charge_act", - "type": "TOOL", - "category": "weapons", - "name": "active RDX charge", - "description": "This is an metal keg, filled with 50 liters worth of RDX and scrap metal. The fuse has been lit and once it ignites the primary explosive, the charge will detonate and rain fire and steel on everything in sight.", - "weight": "106600 g", - "volume": "50 L", - "price": 0, - "to_hit": -5, - "bashing": 20, - "material": [ "steel", "plastic" ], - "symbol": "(", - "color": "light_red", - "initial_charges": 100, - "max_charges": 100, - "turns_per_charge": 1, - "explode_in_fire": true, - "explosion": { - "power": 6700, - "shrapnel": { "casing_mass": 50000, "fragment_mass": 0.1, "drop": "scrap", "recovery": 1 }, - "//": "Fire exposure would destroy most of the RDX before the HMTD core triggered, resulting in a far smaller blast (relatively speaking)." - }, - "use_action": { - "type": "explosion", - "sound_volume": 0, - "sound_msg": "Kshhh.", - "no_deactivate_msg": "You've already lit the fuse - clear the area immediately!", - "explosion": { "power": 67000, "shrapnel": { "casing_mass": 50000, "fragment_mass": 0.1, "drop": "shrapnel", "recovery": 1 } } - }, - "flags": [ "BOMB", "TRADER_AVOID" ] - }, - { - "id": "tool_rocket_candy", - "type": "TOOL", - "category": "weapons", - "name": { "str": "rocket candy", "str_pl": "rocket candies" }, - "description": "A pear-shaped chunk of rocket candy obtained by heating saltpeter with sugar and casting the obtained liquid. Can serve as a rocket fuel, but also as a smokescreen - if you lit the narrow end, you should be able to throw it before the flame reaches the broad end.", - "weight": "250 g", - "volume": "250 ml", - "price": 100, - "to_hit": -2, - "bashing": 1, - "material": [ "steel", "plastic" ], - "symbol": "*", - "color": "green", - "use_action": { - "target": "tool_rocket_candy_act", - "msg": "You light the rocket candy on fire. Throw it!", - "target_charges": 2, - "active": true, - "menu_text": "Light candy", - "type": "transform" - }, - "flags": [ "RADIO_MODABLE", "RADIO_INVOKE_PROC", "BOMB" ] - }, - { - "id": "tool_rocket_candy_act", - "type": "TOOL", - "category": "weapons", - "name": { "str": "burning rocket candy", "str_pl": "burning rocket candies" }, - "description": "This is a chunk of rocket candy that has been lit on fire and burns with a loud hiss, spewing forth large amounts of smoke.", - "weight": "250 g", - "volume": "250 ml", - "price": 0, - "to_hit": -2, - "bashing": 1, - "material": [ "steel", "plastic" ], - "symbol": "*", - "color": "green", - "initial_charges": 2, - "max_charges": 2, - "turns_per_charge": 1, - "use_action": { - "type": "explosion", - "fields_type": "fd_smoke", - "fields_radius": 2, - "fields_min_intensity": 2, - "fields_max_intensity": 3, - "sound_volume": 5, - "sound_msg": "Hsssss.", - "no_deactivate_msg": "You've already lit the fuse - get rid of it immediately!", - "explosion": { "power": 1 } - }, - "flags": [ "BOMB", "TRADER_AVOID" ] - }, { "id": "toolbox", "type": "TOOL", @@ -4928,42 +4004,6 @@ "techniques": [ "WBLOCK_1" ], "flags": [ "FIRE", "LIGHT_310", "CHARGEDIM", "FLAMING", "TRADER_AVOID", "WATER_EXTINGUISH" ] }, - { - "id": "trimmer_off", - "type": "TOOL", - "name": "hedge trimmer (off)", - "name_plural": "hedge trimmers (off)", - "description": "A cordless, double-sided, gasoline-powered hedge trimmer. A long line of sharp-edged teeth extends from the engine; turning the trimmer on will make them rapidly vibrate. The poor man's chainsaw as far as the zombies are concerned.", - "weight": "4500 g", - "volume": "2500 ml", - "price": 4000, - "to_hit": -1, - "bashing": 4, - "cutting": 8, - "material": [ "steel", "plastic" ], - "symbol": "/", - "color": "green", - "ammo": "gasoline", - "max_charges": 600, - "charges_per_use": 5, - "use_action": "TRIMMER_OFF", - "flags": [ "NONCONDUCTIVE" ] - }, - { - "id": "trimmer_on", - "copy-from": "trimmer_off", - "type": "TOOL", - "name": "hedge trimmer (on)", - "name_plural": "hedge trimmers (on)", - "description": "A cordless, double-sided, gasoline-powered hedge trimmer. It is currently on, ready to do some zombie topiary; use this item to turn it off.", - "cutting": 40, - "power_draw": 500000, - "charges_per_use": 0, - "revert_to": "trimmer_off", - "use_action": "TRIMMER_ON", - "qualities": [ [ "CUT", 1 ], [ "BUTCHER", -60 ] ], - "flags": [ "MESSY", "TRADER_AVOID", "NONCONDUCTIVE" ] - }, { "id": "tripwire", "type": "TOOL",