diff options
author | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2022-01-14 17:17:52 -0800 |
---|---|---|
committer | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2022-01-14 17:17:52 -0800 |
commit | 5ebe4e29a5f3e11f52dad9d20953b33f94597bf8 (patch) | |
tree | 8cc5d84d45cfc9ae40d32dda4e9459e09d11d8f3 | |
download | cataclysm-bn-mod_packed-at4-5ebe4e29a5f3e11f52dad9d20953b33f94597bf8.tar.xz |
Initial commit
-rw-r--r-- | json/itemgroups/Weapons_Mods_Ammo/guns.json | 10 | ||||
-rw-r--r-- | json/itemgroups/main.json | 10 | ||||
-rw-r--r-- | json/itemgroups/military.json | 10 | ||||
-rw-r--r-- | json/items/gun/84x246mm.json | 17 | ||||
-rw-r--r-- | json/items/ranged/launcher.json | 10 | ||||
-rw-r--r-- | json/items/tool/explosives.json | 39 | ||||
-rw-r--r-- | modinfo.json | 11 |
7 files changed, 107 insertions, 0 deletions
diff --git a/json/itemgroups/Weapons_Mods_Ammo/guns.json b/json/itemgroups/Weapons_Mods_Ammo/guns.json new file mode 100644 index 0000000..331175f --- /dev/null +++ b/json/itemgroups/Weapons_Mods_Ammo/guns.json @@ -0,0 +1,10 @@ +[ + { + "type": "item_group", + "id": "guns_launcher_rocket", + "//": "Factory manufactured rocket launchers (excludes improvised weapons)", + "items": [ + [ "AT4_Packed", 150 ] + ] + } +] diff --git a/json/itemgroups/main.json b/json/itemgroups/main.json new file mode 100644 index 0000000..ed0ea3c --- /dev/null +++ b/json/itemgroups/main.json @@ -0,0 +1,10 @@ +[ + { + "type": "item_group", + "id": "launchers", + "subtype": "distribution", + "entries": [ + { "item": "AT4_Packed", "prob": 60 } + ] + } +] diff --git a/json/itemgroups/military.json b/json/itemgroups/military.json new file mode 100644 index 0000000..82364b1 --- /dev/null +++ b/json/itemgroups/military.json @@ -0,0 +1,10 @@ +[ + { + "type": "item_group", + "id": "military", + "subtype": "distribution", + "entries": [ + { "item": "AT4_Packed", "prob": 20 } + ] + } +] diff --git a/json/items/gun/84x246mm.json b/json/items/gun/84x246mm.json new file mode 100644 index 0000000..8652bb5 --- /dev/null +++ b/json/items/gun/84x246mm.json @@ -0,0 +1,17 @@ +[ + { + "id": "AT4", + "type": "GUN", + "copy-from": "m3_carlgustav", + "name": { "str": "AT4" }, + "description": "Mil-Spec rocket launcher. An 84-mm unguided, portable, single-shot recoilless smoothbore weapon used primarily by the US military.", + "extend": { "flags": [ "FIRE_TWOHAND", "NO_REPAIR", "NO_UNLOAD", "NO_RELOAD", "TRADER_AVOID" ] }, + "ammo": "84x246mm", + "weight": "6803 g", + "volume": "3500 ml", + "price_postapoc": 6000, + "bashing": 4, + "dispersion": 200, + "durability": 7 + } +] diff --git a/json/items/ranged/launcher.json b/json/items/ranged/launcher.json new file mode 100644 index 0000000..cfaab87 --- /dev/null +++ b/json/items/ranged/launcher.json @@ -0,0 +1,10 @@ +[ + { + "id": "LAW", + "copy-from": "LAW", + "looks_like": "m79", + "type": "GUN", + "name": { "str_sp": "M72 LAW" }, + "extend": { "flags": [ "FIRE_TWOHAND", "NO_REPAIR" ] } + } +] diff --git a/json/items/tool/explosives.json b/json/items/tool/explosives.json new file mode 100644 index 0000000..42249c3 --- /dev/null +++ b/json/items/tool/explosives.json @@ -0,0 +1,39 @@ +[ + { + "id": "LAW_Packed", + "copy-from": "LAW_Packed", + "looks_like": "LAW", + "type": "TOOL", + "category": "guns", + "name": { "str_sp": "packed M72 LAW" }, + "weight": "2831 g", + "armor_data": { "covers": [ "torso" ], "coverage": 5, "material_thickness": 2, "encumbrance": 5 }, + "extend": { "flags": [ "BELTED", "OVERSIZE" ] } + }, + { + "id": "AT4_Packed", + "looks_like": "AT4", + "type": "TOOL", + "category": "guns", + "name": { "str": "packed AT4" }, + "description": "This is an AT4, 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": "10103 g", + "volume": "2500 ml", + "price": 1300000, + "price_postapoc": 7500, + "bashing": 6, + "material": "aluminum", + "symbol": ")", + "color": "green", + "use_action": { + "target": "AT4", + "msg": "You pull the activating lever, readying the LAW to fire.", + "target_charges": 1, + "target_ammo": "84x246mm_hedp", + "menu_text": "Activate", + "type": "transform" + }, + "armor_data": { "covers": [ "torso" ], "coverage": 5, "material_thickness": 2, "encumbrance": 5 }, + "extend": { "flags": [ "BELTED", "OVERSIZE" ] } + } +] diff --git a/modinfo.json b/modinfo.json new file mode 100644 index 0000000..73ac322 --- /dev/null +++ b/modinfo.json @@ -0,0 +1,11 @@ +[ + { + "type": "MOD_INFO", + "ident": "packed_at4", + "name": "Packed AT4", + "authors": ["jc_gargma"], + "description": "Convert the AT4 to function like the M72 LAW. Also add a carrying strap to both packed M72 and AT4.", + "category": "rebalance", + "dependencies": [ "dda" ] + } +] |