summaryrefslogtreecommitdiff
path: root/json/items
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2020-11-02 21:14:35 -0800
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2020-11-02 21:14:35 -0800
commit7f427ee2a8e7ac0ab8da15e588574c8b1e843bdd (patch)
tree27741726c060a0a566b04e41d379cfe08ea94e4d /json/items
parentFix PSG1/MSG90 volume (diff)
downloadcataclysm-dda-mod_hk-loadout-7f427ee2a8e7ac0ab8da15e588574c8b1e843bdd.tar.xz
Add the G11K2 rifle
Diffstat (limited to 'json/items')
-rw-r--r--json/items/ammo/473.json34
-rw-r--r--json/items/gun/473.json37
-rw-r--r--json/items/magazine/473.json20
3 files changed, 91 insertions, 0 deletions
diff --git a/json/items/ammo/473.json b/json/items/ammo/473.json
new file mode 100644
index 0000000..37f9af4
--- /dev/null
+++ b/json/items/ammo/473.json
@@ -0,0 +1,34 @@
+[
+ {
+ "id": "bootleg_473x33mm",
+ "copy-from": "473x33mm",
+ "type": "AMMO",
+ "name": { "str": "4.73x33mm, bootleg" },
+ "description": "Bootleg duplicates of 4.73x33mm caseless rounds. Produced without access to proper ammunition casting machinery, these knockoffs are of lower quality than stock rounds. Being caseless rounds, these cannot be disassembled or reloaded.",
+ "proportional": { "price": 0.7, "damage": 0.9, "dispersion": 1.1 },
+ "extend": { "effects": [ "RECYCLED" ] },
+ "delete": { "effects": [ "NEVER_MISFIRES" ] }
+ },
+ {
+ "id": "473x33mm",
+ "type": "AMMO",
+ "name": { "str": "4.73x33mm" },
+ "description": "4.73x33mm caseless rounds. Designed for the H&K G11 rifle, these rounds encase the bullet within a block of solid propellant, greatly reducing ammunition mass while reducing metal requirements to manufacture. Being caseless rounds, these cannot be disassembled or reloaded.",
+ "weight": "3 g",
+ "volume": "250 ml",
+ "price": 225,
+ "price_postapoc": 12500,
+ "material": [ "plastic", "powder" ],
+ "symbol": "=",
+ "color": "pink",
+ "count": 100,
+ "stack_size": 100,
+ "ammo_type": "473",
+ "range": 35,
+ "damage": 35,
+ "pierce": 12,
+ "dispersion": 95,
+ "recoil": 2500,
+ "effects": [ "NEVER_MISFIRES" ]
+ }
+]
diff --git a/json/items/gun/473.json b/json/items/gun/473.json
new file mode 100644
index 0000000..5917a2e
--- /dev/null
+++ b/json/items/gun/473.json
@@ -0,0 +1,37 @@
+[
+ {
+ "id": "hk_g11",
+ "type": "GUN",
+ "reload_noise_volume": 10,
+ "name": { "str": "H&K G11K2 Assault Rifle" },
+ "description": "The Heckler and Koch G11 was designed to replace the G3 rifle and is notable for utilizing the caseless 4.73x33m round. While a technical success, only 1000 units were ever made due to the high cost and NATO decision to standardize on the 5.56x45mm round.",
+ "weight": "3650 g",
+ "volume": "1750 ml",
+ "price": 1800000,
+ "to_hit": -1,
+ "bashing": 12,
+ "material": [ "steel", "ceramic" ],
+ "symbol": "(",
+ "color": "dark_gray",
+ "ammo": "473",
+ "skill": "rifle",
+ "dispersion": 120,
+ "durability": 9,
+ "modes": [ [ "DEFAULT", "semi-auto", 1 ], [ "BURST", "3 rd.", 3 ], [ "AUTO", "auto", 5 ] ],
+ "valid_mod_locations": [
+ [ "accessories", 4 ],
+ [ "grip", 1 ],
+ [ "mechanism", 4 ],
+ [ "muzzle", 1 ],
+ [ "rail", 1 ],
+ [ "sights", 1 ],
+ [ "sling", 1 ],
+ [ "stock", 1 ],
+ [ "underbarrel", 1 ]
+ ],
+ "magazine_well": 2,
+ "default_mods": [ "acog_scope" ],
+ "magazines": [ [ "473", [ "hk_g11_mag" ] ] ],
+ "flags": [ "NEVER_JAMS" ]
+ }
+]
diff --git a/json/items/magazine/473.json b/json/items/magazine/473.json
new file mode 100644
index 0000000..10b7e57
--- /dev/null
+++ b/json/items/magazine/473.json
@@ -0,0 +1,20 @@
+[
+ {
+ "id": "hk_g11_mag",
+ "looks_like": "stanag30",
+ "type": "MAGAZINE",
+ "name": { "str": "H&K G11 magazine" },
+ "description": "A 50 round box magazine for use with H&K G11 caseless assault rifle.",
+ "weight": "5 g",
+ "volume": "500 ml",
+ "price": 25000,
+ "material": [ "plastic" ],
+ "symbol": "#",
+ "color": "dark_gray",
+ "ammo_type": "473",
+ "capacity": 50,
+ "reliability": 10,
+ "reload_time": 50,
+ "flags": [ "MAG_COMPACT" ]
+ }
+]