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/magazine/223.json | 7 +- json/items/magazine/308.json | 50 ++++++++----- json/items/magazine/40.json | 4 +- json/items/magazine/45.json | 57 ++++++++++---- json/items/magazine/46.json | 33 ++++++--- json/items/magazine/473.json | 7 +- json/items/magazine/9mm.json | 167 ++++++++++++++++++++++++++++++++++++++++-- json/items/magazine/shot.json | 7 +- 8 files changed, 271 insertions(+), 61 deletions(-) (limited to 'json/items/magazine') diff --git a/json/items/magazine/223.json b/json/items/magazine/223.json index 1129624..1fa20c4 100644 --- a/json/items/magazine/223.json +++ b/json/items/magazine/223.json @@ -5,11 +5,11 @@ "looks_like": "stanag30", "type": "MAGAZINE", "name": { "str": "H&K G36 30-round magazine" }, + "description": "A standard capacity box magazine for use with the H&K G36 assault rifle.", "weight": "127 g", "material": [ "plastic" ], - "description": "A standard capacity box magazine for use with the H&K G36 assault rifle.", "ammo_type": [ "223" ], - "reliability": 9 + "pocket_data": [ { "pocket_type": "MAGAZINE", "rigid": true, "ammo_restriction": { "223": 30 } } ] }, { "id": "g36mag_100rd", @@ -18,6 +18,7 @@ "type": "MAGAZINE", "name": { "str": "H&K G36 100-round double drum magazine" }, "description": "A bulky 100-round double drum magazine for use with the H&K G36 assault rifle.", - "ammo_type": [ "223" ] + "ammo_type": [ "223" ], + "pocket_data": [ { "pocket_type": "MAGAZINE", "rigid": true, "ammo_restriction": { "223": 100 } } ] } ] diff --git a/json/items/magazine/308.json b/json/items/magazine/308.json index 50a4d02..1eb894f 100644 --- a/json/items/magazine/308.json +++ b/json/items/magazine/308.json @@ -1,35 +1,52 @@ [ { "id": "hk417mag_20rd", - "copy-from": "hk417mag_20rd", + "looks_like": "stanag30", "type": "MAGAZINE", - "name": { "str": "H&K HK417 magazine" }, - "description": "A 20 round double stack box magazine for the Heckler & Koch HK417 rifle.", + "name": { "str": "H&K HK417 20-round magazine" }, + "description": "A 20-round double stack box magazine for the H&K HK417 rifle.", + "weight": "90 g", + "volume": "500 ml", + "price": 5600, + "price_postapoc": 250, "material": [ "plastic" ], - "weight": "90 g" + "symbol": "#", + "color": "light_gray", + "ammo_type": [ "308" ], + "flags": [ "MAG_COMPACT" ], + "pocket_data": [ { "pocket_type": "MAGAZINE", "rigid": true, "ammo_restriction": { "308": 20 } } ] }, { "id": "hk417mag_10rd", - "copy-from": "hk417mag_10rd", + "looks_like": "stanag30", "type": "MAGAZINE", - "name": { "str": "H&K HK417 compact magazine" }, - "description": "A 10 round double stack box magazine for the Heckler & Koch HK417 rifle.", + "name": { "str": "H&K HK417 10-round magazine" }, + "description": "A 10-round double stack box magazine for the Heckler & Koch HK417 rifle.", + "weight": "55 g", + "volume": "250 ml", + "price": 5000, + "price_postapoc": 100, "material": [ "plastic" ], - "weight": "55 g" + "symbol": "#", + "color": "light_gray", + "ammo_type": [ "308" ], + "flags": [ "MAG_COMPACT" ], + "pocket_data": [ { "pocket_type": "MAGAZINE", "rigid": true, "ammo_restriction": { "308": 10 } } ] }, { "id": "hk417_makeshiftmag", - "copy-from": "hk417_makeshiftmag", + "copy-from": "fal_makeshiftmag", "type": "MAGAZINE", - "name": { "str": "H&K HK417 makeshift magazine" }, - "description": "An improvised 5-round straight single-stack box magazine consisting of little more than a bent sheet of steel held together by duct tape and hope, for use with Heckler & Koch HK417 rifle." + "price_postapoc": 50, + "name": { "str": "H&K HK417 5-round makeshift magazine" }, + "description": "An improvised 5-round straight single-stack box magazine consisting of little more than a bent sheet of steel held together by duct tape and hope, for use with the Heckler & Koch HK417 rifle." }, { "id": "g3smallmag", - "looks_like": "stanag30", + "looks_like": "g3mag", "type": "MAGAZINE", - "name": { "str": "H&K PSG1 magazine" }, - "description": "A 10-round aluminum box magazine for the H&K PSG1A1 rifle.", + "name": { "str": "H&K G3 10 round magazine" }, + "description": "A 10-round aluminum box magazine for the H&K G3 rifle.", "weight": "75 g", "volume": "250 ml", "price": 4500, @@ -38,8 +55,7 @@ "symbol": "#", "color": "light_gray", "ammo_type": [ "308" ], - "capacity": 10, - "reliability": 9, - "flags": [ "MAG_COMPACT" ] + "flags": [ "MAG_COMPACT" ], + "pocket_data": [ { "pocket_type": "MAGAZINE", "rigid": true, "ammo_restriction": { "308": 10 } } ] } ] diff --git a/json/items/magazine/40.json b/json/items/magazine/40.json index 3be341c..2fcaab8 100644 --- a/json/items/magazine/40.json +++ b/json/items/magazine/40.json @@ -6,7 +6,7 @@ "name": { "str": "H&K USP .40 magazine" }, "description": "A standard capacity magazine for use with the Heckler & Koch USP .40 handgun.", "ammo_type": [ "40" ], - "capacity": 13 + "pocket_data": [ { "pocket_type": "MAGAZINE", "rigid": true, "ammo_restriction": { "40": 13 } } ] }, { "id": "p3040mag", @@ -23,6 +23,6 @@ "description": "A standard 30-round box magazine for use with the Heckler & Koch UMP40 SMG.", "weight": "200 g", "ammo_type": [ "40" ], - "capacity": 30 + "pocket_data": [ { "pocket_type": "MAGAZINE", "rigid": true, "ammo_restriction": { "40": 30 } } ] } ] diff --git a/json/items/magazine/45.json b/json/items/magazine/45.json index 344187d..e9585aa 100644 --- a/json/items/magazine/45.json +++ b/json/items/magazine/45.json @@ -1,42 +1,71 @@ [ { "id": "ump45mag", + "//": "Overwrite so the ump40 and ump9 mags are based on this one.", "looks_like": "mp5mag", "type": "MAGAZINE", - "name": { "str": "H&K UMP45 magazine" }, + "name": { "str": "H&K UMP45 25-round magazine" }, "description": "A standard 25-round box magazine for use with the Heckler & Koch UMP45 SMG.", - "weight": "400 g", + "weight": "200 g", "volume": "500 ml", "price": 4950, "price_postapoc": 100, - "material": "steel", + "material": [ "plastic", "steel" ], "symbol": "#", "color": "light_gray", - "ammo_type": "45", - "capacity": 25, - "reliability": 9, - "flags": [ "MAG_COMPACT" ] + "ammo_type": [ "45" ], + "flags": [ "MAG_COMPACT" ], + "pocket_data": [ { "pocket_type": "MAGAZINE", "rigid": true, "ammo_restriction": { "45": 25 } } ] }, { "id": "ump45_makeshiftmag", "copy-from": "ump45_makeshiftmag", "type": "MAGAZINE", - "name": { "str": "H&K UMP45 makeshift magazine" }, + "price_postapoc": 50, + "name": { "str": "H&K UMP45 20-round makeshift magazine" }, "description": "An improvised 20-round straight single-stack box magazine consisting of little more than a bent sheet of steel held together by duct tape and hope, for use with the Heckler & Koch UMP45 SMG." }, { "id": "usp45mag", - "copy-from": "usp45mag", + "looks_like": "glock17_17", "type": "MAGAZINE", - "name": { "str": "H&K USP .45 magazine" }, - "description": "A standard capacity magazine for use with the Heckler & Koch USP .45 handgun." + "name": { "str": "USP .45 pistol 12-round magazine" }, + "description": "A 12-round magazine for use with the USP pistol", + "variant_type": "gun", + "variants": [ + { + "id": "usp45mag", + "name": { "str": "H&K USP .45 12-round magazine" }, + "description": "A standard capacity magazine for use with the Heckler & Koch USP handgun.", + "weight": 1 + } + ], + "weight": "60 g", + "volume": "250 ml", + "price": 5900, + "price_postapoc": 100, + "material": [ "plastic" ], + "symbol": "#", + "color": "light_gray", + "ammo_type": [ "45" ], + "flags": [ "MAG_COMPACT" ], + "pocket_data": [ { "pocket_type": "MAGAZINE", "rigid": true, "ammo_restriction": { "45": 12 } } ] }, { "id": "hk45mag", - "copy-from": "usp45mag", + "looks_like": "glock17_17", "type": "MAGAZINE", - "name": { "str": "H&K HK45 magazine" }, + "name": { "str": "H&K HK45 pistol 10-round magazine" }, "description": "A standard capacity magazine for use with the Heckler & Koch HK45 handgun.", - "capacity": 10 + "weight": "60 g", + "volume": "250 ml", + "price": 5900, + "price_postapoc": 100, + "material": [ "plastic" ], + "symbol": "#", + "color": "light_gray", + "ammo_type": [ "45" ], + "flags": [ "MAG_COMPACT" ], + "pocket_data": [ { "pocket_type": "MAGAZINE", "rigid": true, "ammo_restriction": { "45": 12 } } ] } ] diff --git a/json/items/magazine/46.json b/json/items/magazine/46.json index 856a12f..5e39fb2 100644 --- a/json/items/magazine/46.json +++ b/json/items/magazine/46.json @@ -1,33 +1,46 @@ [ { "id": "hk46mag", - "looks_like": "mp5mag", - "copy-from": "hk46mag", + "//": "Overwrite to ensure other 4.6mm mags are based on this.", + "looks_like": "usp9mag", "type": "MAGAZINE", - "name": { "str": "H&K 4.6mm magazine" }, + "name": { "str": "H&K 4.6mm 20-round magazine" }, "description": "A standard capacity 20-round magazine for use with H&K's proprietary 4.6x30mm round.", - "weight": "100 g" + "weight": "100 g", + "volume": "250 ml", + "price": 4700, + "price_postapoc": 100, + "material": [ "steel" ], + "symbol": "#", + "color": "light_gray", + "ammo_type": [ "46" ], + "flags": [ "MAG_COMPACT" ], + "pocket_data": [ { "pocket_type": "MAGAZINE", "rigid": true, "ammo_restriction": { "46": 20 } } ] }, { "id": "hk46bigmag", "looks_like": "mp5mag", - "copy-from": "hk46bigmag", + "copy-from": "hk46mag", "type": "MAGAZINE", - "name": { "str": "H&K 4.6mm extended magazine" }, + "name": { "str": "H&K 4.6mm 40-round magazine" }, "description": "An extended 40-round magazine for use with H&K's proprietary 4.6x30mm round.", - "weight": "200 g" + "weight": "200 g", + "volume": "500 ml", + "price": 6300, + "price_postapoc": 500, + "pocket_data": [ { "pocket_type": "MAGAZINE", "rigid": true, "ammo_restriction": { "46": 40 } } ] }, { "id": "hk46midmag", "looks_like": "hk46bigmag", - "copy-from": "hk46bigmag", + "copy-from": "hk46mag", "type": "MAGAZINE", - "name": { "str": "H&K 4.6mm expanded magazine" }, + "name": { "str": "H&K 4.6mm 30-round magazine" }, "description": "An expanded 30-round magazine for use with H&K's proprietary 4.6x30mm round.", "weight": "150 g", "volume": "375 ml", "price": 5500, "price_postapoc": 300, - "capacity": 30 + "pocket_data": [ { "pocket_type": "MAGAZINE", "rigid": true, "ammo_restriction": { "46": 30 } } ] } ] diff --git a/json/items/magazine/473.json b/json/items/magazine/473.json index 94a53b0..acebdbc 100644 --- a/json/items/magazine/473.json +++ b/json/items/magazine/473.json @@ -5,7 +5,7 @@ "type": "MAGAZINE", "name": { "str": "H&K G11 magazine" }, "description": "A 50 round box magazine for use with the Heckler & Koch G11 caseless assault rifle.", - "weight": "5 g", + "weight": "100 g", "volume": "500 ml", "price": 20000, "price_postapoc": 400, @@ -13,9 +13,8 @@ "symbol": "#", "color": "dark_gray", "ammo_type": [ "473" ], - "capacity": 50, - "reliability": 10, "reload_time": 50, - "flags": [ "MAG_COMPACT" ] + "flags": [ "MAG_COMPACT" ], + "pocket_data": [ { "pocket_type": "MAGAZINE", "rigid": true, "ammo_restriction": { "473": 50 } } ] } ] diff --git a/json/items/magazine/9mm.json b/json/items/magazine/9mm.json index 14644f2..21dd829 100644 --- a/json/items/magazine/9mm.json +++ b/json/items/magazine/9mm.json @@ -1,28 +1,181 @@ [ { "id": "usp9mag", + "looks_like": "glock17_17", + "type": "MAGAZINE", + "name": { "str": "H&K USP 9x19mm 15-round magazine" }, + "description": "A factory specification 15-round box magazine for use with the dependable Heckler & Koch USP 9x19mm pistol.", + "weight": "75 g", + "volume": "250 ml", + "price": 3850, + "price_postapoc": 100, + "material": [ "steel" ], + "symbol": "#", + "color": "light_gray", + "ammo_type": [ "9mm" ], + "flags": [ "MAG_COMPACT" ], + "pocket_data": [ { "pocket_type": "MAGAZINE", "rigid": true, "ammo_restriction": { "9mm": 15 } } ] + }, + { + "id": "usp9mag_10rd", "copy-from": "usp9mag", "type": "MAGAZINE", - "name": { "str": "H&K USP 9mm magazine" } + "name": { "str": "H&K USP 9x19mm 10-round magazine" }, + "description": "A 10-round box magazine for use with the Heckler & Koch USP 9x19mm pistol, physically of the same size as a 15-round magazine. It's made to comply with laws that limit maximum magazine capacity for firearms in some states.", + "weight": "75 g", + "price_postapoc": 80, + "pocket_data": [ { "pocket_type": "MAGAZINE", "rigid": true, "ammo_restriction": { "9mm": 10 } } ] + }, + { + "id": "usp9mag_18rd", + "copy-from": "usp9mag", + "type": "MAGAZINE", + "name": { "str": "H&K USP 9x19mm 18-round magazine" }, + "description": "An extended 18-round box magazine for use with the Heckler & Koch USP 9x19mm pistol.", + "weight": "90 g", + "volume": "270 ml", + "price": 4000, + "price_postapoc": 120, + "pocket_data": [ { "pocket_type": "MAGAZINE", "rigid": true, "ammo_restriction": { "9mm": 18 } } ] + }, + { + "id": "usp9mag_20rd", + "copy-from": "usp9mag", + "type": "MAGAZINE", + "name": { "str": "H&K USP 9x19mm 20-round magazine" }, + "description": "An extended 20-round box magazine for use with the Heckler & Koch USP 9x19mm pistol.", + "weight": "98 g", + "volume": "280 ml", + "price": 4200, + "price_postapoc": 130, + "flags": [ "MAG_COMPACT" ], + "pocket_data": [ { "pocket_type": "MAGAZINE", "rigid": true, "ammo_restriction": { "9mm": 20 } } ] + }, + { + "id": "usp9mag_32rd", + "copy-from": "usp9mag", + "type": "MAGAZINE", + "name": { "str": "H&K USP 9x19mm 32-round magazine" }, + "description": "An extended 32-round box magazine for use with the H&K USP 9x19mm pistol.", + "weight": "140 g", + "volume": "420 ml", + "price": 4800, + "price_postapoc": 180, + "flags": [ "MAG_COMPACT" ], + "pocket_data": [ { "pocket_type": "MAGAZINE", "rigid": true, "ammo_restriction": { "9mm": 32 } } ] }, { "id": "p309mag", "copy-from": "usp9mag", "type": "MAGAZINE", - "name": { "str": "H&K P30 9mm magazine" }, - "description": "A standard capacity magazine for use with the Heckler & Koch P30 9mm handgun." + "name": { "str": "H&K P30 9mm 15-round magazine" }, + "description": "A factory specification 15-round box magazine for use with the Heckler & Koch P30 9mm handgun." }, { "id": "mp5mag", + "//": "Tileset whitelist for SMG magazines", + "type": "MAGAZINE", + "name": { "str": "H&K MP5 30-round magazine" }, + "description": "A standard capacity curved magazine for use with the Heckler & Koch MP5 SMG.", + "weight": "210 g", + "volume": "500 ml", + "price": 4100, + "price_postapoc": 250, + "material": [ "steel" ], + "symbol": "#", + "color": "light_gray", + "pocket_data": [ { "pocket_type": "MAGAZINE", "rigid": true, "ammo_restriction": { "9mm": 30 } } ], + "ammo_type": [ "9mm" ], + "flags": [ "MAG_COMPACT" ] + }, + { + "id": "mp5mag_100rd", "copy-from": "mp5mag", "type": "MAGAZINE", - "name": { "str": "H&K MP5 magazine" } + "name": { "str": "H&K MP5 100-round double drum magazine" }, + "description": "A bulky 100-round double drum magazine for use with the Heckler & Koch MP5 SMG.", + "weight": "780 g", + "volume": "800 ml", + "price": 7000, + "price_postapoc": 700, + "material": [ "steel", "plastic" ], + "pocket_data": [ { "pocket_type": "MAGAZINE", "rigid": true, "ammo_restriction": { "9mm": 100 } } ], + "reload_time": 160, + "flags": [ "MAG_BULKY" ] }, { "id": "mp5bigmag", - "copy-from": "mp5bigmag", + "copy-from": "mp5mag", + "type": "MAGAZINE", + "name": { "str": "H&K MP5 50-round drum magazine" }, + "description": "A drum magazine for use with the Heckler & Koch MP5 SMG. Much greater capacity, but less reliable than the factory specification magazine.", + "weight": "350 g", + "volume": "750 ml", + "price": 6920, + "price_postapoc": 500, + "reload_time": 160, + "flags": [ "MAG_BULKY" ], + "pocket_data": [ { "pocket_type": "MAGAZINE", "rigid": true, "ammo_restriction": { "9mm": 50 } } ] + }, + { + "id": "mp5mag_40rd", + "copy-from": "mp5mag", + "type": "MAGAZINE", + "name": { "str": "H&K MP5 40-round magazine" }, + "description": "An extended-capacity 40-round magazine for use with the Heckler & Koch MP5 SMG.", + "weight": "280 g", + "volume": "667 ml", + "price": 4550, + "price_postapoc": 360, + "pocket_data": [ { "pocket_type": "MAGAZINE", "rigid": true, "ammo_restriction": { "9mm": 40 } } ] + }, + { + "id": "mp5mag_38rd", + "copy-from": "mp5mag", + "type": "MAGAZINE", + "name": { "str": "H&K MP5 38-round magazine" }, + "description": "An extended-capacity 38-round magazine for use with the Heckler & Koch MP5 SMG.", + "weight": "266 g", + "volume": "633 ml", + "price": 4500, + "price_postapoc": 350, + "pocket_data": [ { "pocket_type": "MAGAZINE", "rigid": true, "ammo_restriction": { "9mm": 38 } } ] + }, + { + "id": "mp5mag_20rd", + "copy-from": "mp5mag", + "type": "MAGAZINE", + "name": { "str": "H&K MP5 20-round magazine" }, + "description": "A compact 20-round magazine for use with the Heckler & Koch MP5 SMG.", + "weight": "128 g", + "volume": "172 ml", + "price": 3500, + "price_postapoc": 200, + "pocket_data": [ { "pocket_type": "MAGAZINE", "rigid": true, "ammo_restriction": { "9mm": 20 } } ] + }, + { + "id": "mp5mag_15rd", + "copy-from": "mp5mag", + "type": "MAGAZINE", + "name": { "str": "H&K MP5 15-round magazine" }, + "description": "A compact 15-round magazine for use with the Heckler & Koch MP5 SMG.", + "weight": "96 g", + "volume": "129 ml", + "price": 3000, + "price_postapoc": 150, + "pocket_data": [ { "pocket_type": "MAGAZINE", "rigid": true, "ammo_restriction": { "9mm": 15 } } ] + }, + { + "id": "mp5mag_10rd", + "copy-from": "mp5mag", "type": "MAGAZINE", - "name": { "str": "H&K MP5 extended magazine" } + "name": { "str": "H&K MP5 10-round magazine" }, + "description": "A compact 10-round magazine for use with the Heckler & Koch MP5 SMG.", + "weight": "64 g", + "volume": "86 ml", + "price": 2500, + "price_postapoc": 100, + "pocket_data": [ { "pocket_type": "MAGAZINE", "rigid": true, "ammo_restriction": { "9mm": 10 } } ] }, { "id": "ump9mag", @@ -32,6 +185,6 @@ "description": "A standard 30-round curved box magazine for use with the Heckler & Koch UMP9 SMG.", "weight": "200 g", "ammo_type": [ "9mm" ], - "capacity": 30 + "pocket_data": [ { "pocket_type": "MAGAZINE", "rigid": true, "ammo_restriction": { "9mm": 30 } } ] } ] diff --git a/json/items/magazine/shot.json b/json/items/magazine/shot.json index ac22067..50fdc95 100644 --- a/json/items/magazine/shot.json +++ b/json/items/magazine/shot.json @@ -3,7 +3,7 @@ "id": "hk_caws_mag", "looks_like": "saiga10mag", "type": "MAGAZINE", - "name": { "str": "H&K CAWS box magazine" }, + "name": { "str": "H&K CAWS 10-round magazine" }, "description": "A removable plastic box magazine for the H&K CAWS shotgun. Holds 10 shells.", "weight": "210 g", "volume": "500 ml", @@ -13,8 +13,7 @@ "symbol": "#", "color": "dark_gray", "ammo_type": [ "shot" ], - "capacity": 10, - "reliability": 9, - "flags": [ "MAG_COMPACT" ] + "flags": [ "MAG_COMPACT" ], + "pocket_data": [ { "pocket_type": "MAGAZINE", "rigid": true, "ammo_restriction": { "shot": 10 } } ] } ] -- cgit v1.2.1