# Change ammo capacity of gun with gunmod

**URL:** <https://discourse.cataclysmdda.org/t/change-ammo-capacity-of-gun-with-gunmod/22896>\
**Category:** The Toolbox\
**Created:** [February 28, 2020, 10:10pm UTC](https://discourse.cataclysmdda.org/t/change-ammo-capacity-of-gun-with-gunmod/22896 "2020-02-28T22:10:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jninja](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/jninja/32/7800_2.png) [@Jninja](https://discourse.cataclysmdda.org/u/Jninja)\
**Post date:** [February 28, 2020, 10:10pm UTC](https://discourse.cataclysmdda.org/t/change-ammo-capacity-of-gun-with-gunmod/22896/1 "2020-02-28T22:10:22Z")

</div>

I’m wanting to make an item for a gun that changes the max capacity, the gun normally has a five round clip and the mod would ideally make it one shot. The mod is a launcher that is inserted into the muzzle and you load the launcher mod once (only one shot at a time) and you fire that round before having to reload. In short: How do I get a mod to change both ammo type and capacity?

Here’s the gun:  
[  
{  
“id”: “kar98k”,  
“copy-from”: “rifle\_manual”,  
“looks\_like”: “garand”,  
“type”: “GUN”,  
“name”: “Karabiner 98 Kurz”,  
“description”: “The Karabiner 98 Kurz or more commonly known as, the Kar98K or even the K98K. The Kar98K is a bolt-action rifle chambered for the 7.92×57mm Mauser cartridge that was adopted on 21 June 1935 as the standard service rifle by the German Wehrmacht.”,  
“weight”: “4082 g”,  
“volume”: “3 L”,  
“price”: 24000,  
“to\_hit”: -1,  
“bashing”: 12,  
“material”: [“steel”, “wood”],  
“color”: “brown”,  
“ammo”: “792”,  
“range”: 3,  
“dispersion”: 75,  
“durability”: 10,  
“clip\_size”: 5,  
“barrel\_length”: “600 ml”,  
“valid\_mod\_locations”: [  
[“accessories”, 4],  
[“barrel”, 1],  
[“brass catcher”, 1],  
[“mechanism”, 4],  
[“muzzle”, 1],  
[“sights”, 1],  
[“sling”, 1]  
],  
“magazines”: [[ “792”, [ “792\_clip”] ] ],  
“flags”: [“RELOAD\_ONE”]  
}  
]

Here’s the mod:  
[  
{  
“id”: “karlauncher”,  
“type”: “GUNMOD”,  
“name”: “Schiessbecher”,  
“description”: “The Schiessbecher is a grenade launcher designed for the Kar98K. Diffrent from most launchers in that it is inslated in the end of the barrel and secured by a clamp. The grenade is launched by shooting a wooden bullet into the bottom of the grenade and this primes and launches the explosive.”,  
“weight”: “750 g”,  
“volume”: “500 ml”,  
“price”: 200000,  
“material”: [“steel”],  
“symbol”: “-”,  
“color”: “light\_red”,  
“location”: “muzzle”,  
“install\_time”: “0 m”,  
“mod\_targets”: [“kar98k”],  
“gun\_data”: {“ammo”: “ggp”, “skill”: “launcher”, “dispersion”: 300, “durability”: 10, “clip\_size”: 1 },  
“magazine\_adaptor”: [[ “ggp”, [ “shie\_mag”] ] ],  
“ammo\_modifier”: [“ggp”],  
“flags”: [“RELOAD\_ONE”, “RELOAD\_EJECT”]  
}  
]

I also made a mag for a stand in:  
[  
{  
“id”: “shie\_mag”,  
“type”: “MAGAZINE”,  
“name”: “Schiessbecher mag”,  
“//”: “This item should NOT spawn and if it does, it’s a glitch.”,  
“description”: “The single holder for a grenade for a Schiessbecher.”,  
“weight”: “100 g”,  
“volume”: “100 ml”,  
“price”: 250,  
“material”: “steel”,  
“color”: “black”,  
“symbol”: “\*”,  
“looks\_like”: “8x40\_50\_mag”,  
“ammo\_type”: “ggp”,  
“capacity”: 1,  
“reliability”: 10,  
“flags”: [“MAG\_COMPACT”]  
}  
]

---

<div class="post-metadata">

**Author:** ![Invalid\_Username](https://avatars.discourse-cdn.com/v4/letter/i/4bbf92/32.png) [@Invalid\_Username](https://discourse.cataclysmdda.org/u/Invalid_Username)\
**Post date:** [February 29, 2020, 10:08pm UTC](https://discourse.cataclysmdda.org/t/change-ammo-capacity-of-gun-with-gunmod/22896/2 "2020-02-29T22:08:34Z")

</div>

Can you not just modify this to work specifically with the Kar98?

[http://cdda-trunk.chezzo.com/grenade\_under](http://cdda-trunk.chezzo.com/grenade_under)

I don’t believe you will have much luck in trying to develop an object that simultaneously accepts two different kinds of ammunition. If that functionality does end up materializing, I hope the first weapon developed with it is the LAPD 2019 from Blade Runner.

edit: disregard, for I am silly and the Schiessbecher is a muzzle accessory

---

<div class="post-metadata">

**Author:** ![Jninja](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/jninja/32/7800_2.png) [@Jninja](https://discourse.cataclysmdda.org/u/Jninja)\
**Post date:** [February 29, 2020, 10:29pm UTC](https://discourse.cataclysmdda.org/t/change-ammo-capacity-of-gun-with-gunmod/22896/3 "2020-02-29T22:29:16Z")

</div>

If it helps any, the Schisbecher would only work if the operator loaded a blank or even a wooden bullet into the chamber. Once fired the blank or bullet would transfer energy and launch the grenade (which only could be one at a time) which rests in a cup design.

---

<div class="post-metadata">

**Author:** ![Invalid\_Username](https://avatars.discourse-cdn.com/v4/letter/i/4bbf92/32.png) [@Invalid\_Username](https://discourse.cataclysmdda.org/u/Invalid_Username)\
**Post date:** [February 29, 2020, 11:09pm UTC](https://discourse.cataclysmdda.org/t/change-ammo-capacity-of-gun-with-gunmod/22896/4 "2020-02-29T23:09:23Z")

</div>

The grenade and requisite blank could possibly be fluffed as a single item of ammunition with an appropriate reload time, I suppose.

---

<div class="post-metadata">

**Author:** ![Jninja](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/jninja/32/7800_2.png) [@Jninja](https://discourse.cataclysmdda.org/u/Jninja)\
**Post date:** [February 29, 2020, 11:36pm UTC](https://discourse.cataclysmdda.org/t/change-ammo-capacity-of-gun-with-gunmod/22896/5 "2020-02-29T23:36:52Z")

</div>

Hmm that could work, I’ll have to look into that
