From 7b282ed66e28771b701c210aef39069b3e800a46 Mon Sep 17 00:00:00 2001
From: jc_gargma <jc_gargma@iserlohn-fortress.net>
Date: Wed, 6 Apr 2022 19:03:09 -0700
Subject: Add the UMP9 and UMP40 plus magazines and itemgroups.

---
 json/items/magazine/40.json  | 10 ++++++++++
 json/items/magazine/45.json  | 15 +++++++++++++--
 json/items/magazine/9mm.json | 16 +++++++++++++---
 3 files changed, 36 insertions(+), 5 deletions(-)

(limited to 'json/items/magazine')

diff --git a/json/items/magazine/40.json b/json/items/magazine/40.json
index c0ee22a..5f2795c 100644
--- a/json/items/magazine/40.json
+++ b/json/items/magazine/40.json
@@ -7,5 +7,15 @@
     "description": "A standard capacity magazine for use with the Heckler & Koch USP .40 handgun.",
     "ammo_type": [ "40" ],
     "capacity": 13
+  },
+  {
+    "id": "ump40mag",
+    "copy-from": "ump45mag",
+    "type": "MAGAZINE",
+    "name": { "str": "H&K UMP40 magazine" },
+    "description": "A standard 30-round box magazine for use with the Heckler & Koch UMP40 SMG.",
+    "weight": "200 g",
+    "ammo_type": [ "40" ],
+    "capacity": 30
   }
 ]
diff --git a/json/items/magazine/45.json b/json/items/magazine/45.json
index b3b6f75..9722667 100644
--- a/json/items/magazine/45.json
+++ b/json/items/magazine/45.json
@@ -1,10 +1,21 @@
 [
   {
     "id": "ump45mag",
-    "copy-from": "ump45mag",
+    "looks_like": "mp5mag",
     "type": "MAGAZINE",
     "name": { "str": "H&K UMP45 magazine" },
-    "description": "A standard 25-round box magazine for use with the Heckler & Koch UMP45 SMG."
+    "description": "A standard 25-round box magazine for use with the Heckler & Koch UMP45 SMG.",
+    "weight": "400 g",
+    "volume": "500 ml",
+    "price": 4950,
+    "price_postapoc": 100,
+    "material": "steel",
+    "symbol": "#",
+    "color": "light_gray",
+    "ammo_type": "45",
+    "capacity": 25,
+    "reliability": 9,
+    "flags": [ "MAG_COMPACT" ]
   },
   {
     "id": "ump45_makeshiftmag",
diff --git a/json/items/magazine/9mm.json b/json/items/magazine/9mm.json
index b338aeb..ffc0653 100644
--- a/json/items/magazine/9mm.json
+++ b/json/items/magazine/9mm.json
@@ -4,17 +4,27 @@
     "copy-from": "usp9mag",
     "type": "MAGAZINE",
     "name": { "str": "H&K USP 9mm magazine" }
-},
+  },
   {
     "id": "mp5mag",
     "copy-from": "mp5mag",
     "type": "MAGAZINE",
     "name": { "str": "H&K MP5 magazine" }
-},
+  },
   {
     "id": "mp5bigmag",
     "copy-from": "mp5bigmag",
     "type": "MAGAZINE",
     "name": { "str": "H&K MP5 extended magazine" }
-}
+  },
+  {
+    "id": "ump9mag",
+    "copy-from": "ump45mag",
+    "type": "MAGAZINE",
+    "name": { "str": "H&K UMP9 magazine" },
+    "description": "A standard 30-round curved box magazine for use with the Heckler & Koch UMP9 SMG.",
+    "weight": "200 g",
+    "ammo_type": [ "9mm" ],
+    "capacity": 30
+  }
 ]
-- 
cgit v1.2.1