From 08753e2e1a88813f133e1cb411a27d1d7e4e85c6 Mon Sep 17 00:00:00 2001 From: jc_gargma Date: Tue, 14 Mar 2023 22:54:38 -0700 Subject: Port to DDA. --- json/items/gun/223.json | 47 ++++++++++++++++++++++++++++++----------------- 1 file changed, 30 insertions(+), 17 deletions(-) (limited to 'json/items/gun/223.json') diff --git a/json/items/gun/223.json b/json/items/gun/223.json index 45369b1..85901f6 100644 --- a/json/items/gun/223.json +++ b/json/items/gun/223.json @@ -1,24 +1,37 @@ [ - { - "id": "h&k416a5", - "copy-from": "h&k416a5", - "type": "GUN", - "name": { "str_sp": "H&K HK416A5" }, - "description": "Designed to replace the M4A1, the Heckler & Koch HK416A5 features most of the former's strengths, while being considerably more durable." - }, - { - "id": "m27iar", - "copy-from": "m27iar", - "type": "GUN", - "name": { "str_sp": "M27 IAR" }, - "default_mods": [ "grip", "acog_scope" ] - }, { "id": "hk_g36", - "copy-from": "hk_g36", + "//": "Overwrite because there doesn't seem to be a way to overwrite variants cleanly short of this.", + "copy-from": "rifle_auto", + "looks_like": "ar15", "type": "GUN", - "name": { "str_sp": "H&K G36" }, - "description": "Designed as a replacement for the early Heckler & Koch G3 battle rifle, the G36 is more accurate, and uses the much-lighter .223 round, allowing for a higher ammo capacity. It was later found to have problems overheating during prolonged firefights, and was phased out of active service in 2016.", + "name": { "str": "G36 assault rifle" }, + "description": "An assault rifle chambered in 5.56x45mm and accepting G36 magazines.", + "weight": "3630 g", + "volume": "4640 ml", + "longest_side": "1004 mm", + "price": 210000, + "price_postapoc": 6000, + "variant_type": "gun", + "variants": [ + { + "id": "hk_g36", + "name": { "str": "H&K G36" }, + "description": "Designed as a replacement for the early H&K G3 battle rifle, the G36 is more accurate, and uses the much lighter .223 round, allowing for a higher ammo capacity. It was later found to have problems overheating during prolonged firefights, and was phased out of active service in 2016.", + "weight": 1 + } + ], + "to_hit": -1, + "bashing": 12, + "material": [ "steel", "plastic" ], + "symbol": "(", + "color": "dark_gray", + "ammo": [ "223" ], + "dispersion": 150, + "durability": 8, + "min_cycle_recoil": 1350, + "modes": [ [ "DEFAULT", "semi-auto", 1 ], [ "AUTO", "auto", 4 ] ], + "pocket_data": [ { "pocket_type": "MAGAZINE_WELL", "item_restriction": [ "g36mag_30rd", "g36mag_100rd" ] } ], "built_in_mods": [ "folding_stock" ] } ] -- cgit v1.2.1