From e5911f68ee736c360b35143ac362146d43c04984 Mon Sep 17 00:00:00 2001 From: jc_gargma Date: Mon, 13 Mar 2023 10:12:18 -0700 Subject: Port ammo fixes from DDA. --- json/items/ammo/66mm.json | 22 ++++++++++++++++++++++ json/items/ammo/84x246mm.json | 29 +++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 json/items/ammo/66mm.json create mode 100644 json/items/ammo/84x246mm.json diff --git a/json/items/ammo/66mm.json b/json/items/ammo/66mm.json new file mode 100644 index 0000000..945b966 --- /dev/null +++ b/json/items/ammo/66mm.json @@ -0,0 +1,22 @@ +[ + { + "type": "AMMO", + "id": "66mm_HEAT", + "price": 200000, + "name": { "str_sp": "66mm HEAT" }, + "symbol": "=", + "color": "dark_gray", + "description": "A 66mm high-explosive anti-tank round. It could blow through up to two feet of concrete.", + "material": [ "steel", "powder" ], + "weight": "1800 g", + "volume": "250 ml", + "price_postapoc": 8000, + "flags": [ "IRREPLACEABLE_CONSUMABLE" ], + "ammo_type": "66mm", + "damage": { "damage_type": "stab", "amount": 2500, "armor_penetration": 400 }, + "range": 80, + "dispersion": 30, + "recoil": 225, + "effects": [ "COOKOFF", "EXPLOSIVE", "FRAG_SMALL", "TRAIL" ] + } +] diff --git a/json/items/ammo/84x246mm.json b/json/items/ammo/84x246mm.json new file mode 100644 index 0000000..7a53494 --- /dev/null +++ b/json/items/ammo/84x246mm.json @@ -0,0 +1,29 @@ +[ + { + "type": "AMMO", + "id": "84x246mm_he", + "copy-from": "84x246mm_he", + "name": { "str": "84x246mm HE rocket" }, + "weight": "440 g", + "damage": { "damage_type": "bullet", "amount": 60, "armor_penetration": 10 }, + "effects": [ "COOKOFF", "EXPLOSIVE", "FRAG", "NEVER_MISFIRES" ] + }, + { + "type": "AMMO", + "id": "84x246mm_hedp", + "copy-from": "84x246mm_hedp", + "name": { "str": "84x246mm HEDP rocket" }, + "weight": "440 g", + "damage": { "damage_type": "bullet", "amount": 1000, "armor_penetration": 225 }, + "effects": [ "COOKOFF", "EXPLOSIVE", "FRAG", "NEVER_MISFIRES" ] + }, + { + "type": "AMMO", + "id": "84x246mm_smoke", + "copy-from": "84x246mm_smoke", + "name": { "str": "84x246mm smoke rocket" }, + "weight": "440 g", + "damage": { "damage_type": "bullet", "amount": 60, "armor_penetration": 10 }, + "effects": [ "COOKOFF", "SMOKE", "NEVER_MISFIRES" ] + } +] -- cgit v1.2.1