From 53fd457f8cb081b73e755844d1878de699a76a8d Mon Sep 17 00:00:00 2001 From: jc_gargma Date: Thu, 2 Jan 2025 11:49:53 -0800 Subject: Various formatting fixes I found while porting this mod. --- json/items/gun/45.json | 48 ++++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) (limited to 'json/items/gun') diff --git a/json/items/gun/45.json b/json/items/gun/45.json index 0dc2f3c..d3bf4c2 100644 --- a/json/items/gun/45.json +++ b/json/items/gun/45.json @@ -1,4 +1,28 @@ [ + { + "id": "hk_ump45", + "copy-from": "smg_base", + "type": "GUN", + "name": { "str_sp": "H&K UMP45" }, + "description": "Developed as a successor to the MP5 submachine gun, the UMP45 retains the earlier model's supreme accuracy and low recoil, but in the higher .45 caliber.", + "weight": "2300 g", + "volume": "1250 ml", + "price": "2900 USD", + "price_postapoc": "30 USD", + "to_hit": -2, + "ascii_picture": "hk_ump", + "bashing": 11, + "material": [ "steel", "plastic" ], + "symbol": "(", + "color": "dark_gray", + "ammo": "45", + "ranged_damage": { "damage_type": "bullet", "amount": 1 }, + "dispersion": 240, + "durability": 8, + "min_cycle_recoil": 540, + "modes": [ [ "DEFAULT", "semi", 1 ], [ "BURST", "burst", 2 ], [ "AUTO", "auto", 4 ] ], + "magazines": [ [ "45", [ "ump45mag", "ump45_makeshiftmag" ] ] ] + }, { "id": "usp_45", "//": "Modding this gun requires changing vanilla game files. :/ Upstream needs to get their copy-from load order problems fixed.", @@ -37,29 +61,5 @@ "min_cycle_recoil": 400, "magazines": [ [ "45", [ "hk45mag" ] ] ], "built_in_mods": [ "pistol_grip" ] - }, - { - "id": "hk_ump45", - "copy-from": "smg_base", - "type": "GUN", - "name": { "str_sp": "H&K UMP45" }, - "description": "Developed as a successor to the MP5 submachine gun, the UMP45 retains the earlier model's supreme accuracy and low recoil, but in the higher .45 caliber.", - "weight": "2300 g", - "volume": "1250 ml", - "price": "2900 USD", - "price_postapoc": "30 USD", - "to_hit": -2, - "ascii_picture": "hk_ump", - "bashing": 11, - "material": [ "steel", "plastic" ], - "symbol": "(", - "color": "dark_gray", - "ammo": "45", - "ranged_damage": { "damage_type": "bullet", "amount": 1 }, - "dispersion": 240, - "durability": 8, - "min_cycle_recoil": 540, - "modes": [ [ "DEFAULT", "semi", 1 ], [ "BURST", "burst", 2 ], [ "AUTO", "auto", 4 ] ], - "magazines": [ [ "45", [ "ump45mag", "ump45_makeshiftmag" ] ] ] } ] -- cgit v1.2.1