forked from CleverRaven/Cataclysm-DDA
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #62 from AtomicFox556/devbranch
Explosives overhaul
- Loading branch information
Showing
50 changed files
with
1,378 additions
and
882 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[ | ||
{ | ||
"id": "emit_small_toxic_stream", | ||
"type": "emit", | ||
"field": "fd_toxic_gas", | ||
"intensity": 2, | ||
"qty": 10 | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
[ | ||
{ | ||
"type": "AMMO", | ||
"id": "sling-ready_flashbang", | ||
"name": { "str": "sling-ready M84 stun grenade" }, | ||
"description": "A military-grade stun grenade, also known as flashbang. To throw it without using a staff sling, wield it and then activate it to pull the pin and prime the grenade. You will then have 2 seconds to throw it before it explodes.", | ||
"weight": "370 g", | ||
"volume": "270 ml", | ||
"longest_side": "133 mm", | ||
"price": 2000, | ||
"price_postapoc": 250, | ||
"to_hit": -1, | ||
"bashing": 5, | ||
"material": [ "steel" ], | ||
"symbol": "*", | ||
"color": "dark_gray", | ||
"use_action": { | ||
"need_wielding": true, | ||
"target": "flashbang_act", | ||
"msg": "You pull the pin on your %s.", | ||
"target_charges": 2, | ||
"active": true, | ||
"menu_text": "Pull pin", | ||
"type": "transform" | ||
}, | ||
"flags": [ "BOMB", "GRENADE", "ACT_IN_FIRE" ], | ||
"ammo_type": "sling-ready_grenade", | ||
"damage": { "damage_type": "bash", "amount": 6 }, | ||
"//": "Currently this item explodes instantly upon hit if used with a staff sling; it's supposed to drop an active grenade with normal explosion delay, however.", | ||
"range": 25, | ||
"dispersion": 14, | ||
"effects": [ "NEVER_MISFIRES", "NON_FOULING", "FLASHBANG", "NO_PENETRATE_OBSTACLES" ] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
[ | ||
{ | ||
"id": "claybomb_hull", | ||
"type": "GENERIC", | ||
"category": "container", | ||
"name": { "str": "clay fire bomb hull" }, | ||
"looks_like": "bottle_plastic", | ||
"description": "A round fragile clay vessel with a leather lid, intended to be filled with some sort of burning mixture, lit and thrown.", | ||
"weight": "370 g", | ||
"volume": "903 ml", | ||
"longest_side": "12 cm", | ||
"price": 0, | ||
"price_postapoc": 10, | ||
"to_hit": -1, | ||
"bashing": 2, | ||
"material": [ "clay" ], | ||
"symbol": ")", | ||
"color": "cyan", | ||
"pocket_data": [ | ||
{ | ||
"pocket_type": "CONTAINER", | ||
"watertight": true, | ||
"rigid": true, | ||
"max_contains_volume": "750 ml", | ||
"max_item_volume": "17 ml", | ||
"max_contains_weight": "3 kg", | ||
"moves": 400 | ||
} | ||
], | ||
"qualities": [ [ "BOIL", 2 ], [ "CONTAIN", 1 ] ], | ||
"flags": [ "COLLAPSE_CONTENTS" ] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
[ | ||
{ | ||
"id": "claybomb_lit", | ||
"type": "TOOL", | ||
"category": "weapons", | ||
"name": { "str": "lit clay fire bomb" }, | ||
"description": "A round fragile clay vessel full of flammable liquid with a flaming rag stoppered in its opening. Throwing it will shatter the vessel 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": "937 g", | ||
"volume": "909 ml", | ||
"longest_side": "12 cm", | ||
"price": 0, | ||
"price_postapoc": 0, | ||
"to_hit": -1, | ||
"bashing": 2, | ||
"material": [ "clay" ], | ||
"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", "WATER_EXTINGUISH" ] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
[ | ||
{ | ||
"type": "recipe", | ||
"activity_level": "LIGHT_EXERCISE", | ||
"result": "flamethrower_fuel", | ||
"id_suffix": "mix_1", | ||
"charges": 2, | ||
"category": "CC_*", | ||
"subcategory": "CSC_*_NESTED", | ||
"skill_used": "chemistry", | ||
"time": "3 m", | ||
"batch_time_factors": [ 80, 5 ], | ||
"book_learn": [ [ "textbook_gaswarfare", 0 ], [ "textbook_anarch", 0 ], [ "manual_launcher", 0 ] ], | ||
"components": [ [ [ "gasoline", 1 ], [ "avgas", 1 ], [ "chem_acetone", 1 ] ], [ [ "chem_turpentine", 1 ] ] ], | ||
"flags": [ "BLIND_HARD" ] | ||
}, | ||
{ | ||
"type": "recipe", | ||
"activity_level": "LIGHT_EXERCISE", | ||
"result": "flamethrower_fuel", | ||
"id_suffix": "mix_2", | ||
"charges": 4, | ||
"category": "CC_*", | ||
"subcategory": "CSC_*_NESTED", | ||
"skill_used": "chemistry", | ||
"time": "3 m", | ||
"batch_time_factors": [ 80, 5 ], | ||
"book_learn": [ [ "textbook_gaswarfare", 0 ], [ "textbook_anarch", 0 ], [ "manual_launcher", 0 ] ], | ||
"components": [ [ [ "gasoline", 3 ], [ "avgas", 3 ] ], [ [ "crude_lamp_oil", 1 ], [ "lamp_oil", 1 ], [ "motor_oil", 1 ] ] ], | ||
"flags": [ "BLIND_HARD" ] | ||
}, | ||
{ | ||
"type": "recipe", | ||
"activity_level": "LIGHT_EXERCISE", | ||
"result": "flamethrower_fuel", | ||
"id_suffix": "mix_3", | ||
"charges": 4, | ||
"category": "CC_*", | ||
"subcategory": "CSC_*_NESTED", | ||
"skill_used": "chemistry", | ||
"time": "3 m", | ||
"batch_time_factors": [ 80, 5 ], | ||
"book_learn": [ [ "textbook_gaswarfare", 0 ], [ "textbook_anarch", 0 ], [ "manual_launcher", 0 ] ], | ||
"components": [ | ||
[ [ "gasoline", 2 ], [ "avgas", 2 ] ], | ||
[ [ "crude_lamp_oil", 1 ], [ "lamp_oil", 1 ], [ "motor_oil", 1 ] ], | ||
[ [ "chem_turpentine", 1 ] ] | ||
], | ||
"flags": [ "BLIND_HARD" ] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.