# Assigning multiple ammunition types to a magazine

**URL:** <https://discourse.cataclysmdda.org/t/assigning-multiple-ammunition-types-to-a-magazine/17903>\
**Category:** The Lab\
**Created:** [December 13, 2018, 8:45pm UTC](https://discourse.cataclysmdda.org/t/assigning-multiple-ammunition-types-to-a-magazine/17903 "2018-12-13T20:45:26Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Surprised\_Cephamorph](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/surprised_cephamorph/32/4004_2.png) [@Surprised\_Cephamorph](https://discourse.cataclysmdda.org/u/Surprised_Cephamorph)\
**Post date:** [December 13, 2018, 8:45pm UTC](https://discourse.cataclysmdda.org/t/assigning-multiple-ammunition-types-to-a-magazine/17903/1 "2018-12-13T20:45:26Z")

</div>

So, after a _rather_ frustrating occurrence in my latest run, being that of converting my SvS to .223 for easier access to cartridges, I found that there was no stripper clip available for .223. This made me sad, So I decided to make a small mod that added a collection of four stripper clips and loading tubes, that would cover pistols, small bore (~5.56mm) rifles, larger bore (~7.62mm) rifles, and shotshells respectively.

By referencing the 7.62mmR stripper clip and the .223 STANAG cartridge, I have knocked together a shotshell tube, that I _think_ will work as intended, but I am at a loss as to making a magazine accept multiple “families” of cartridges (in the case of this example, both .410 and 12Ga shells)  
{  
“id”: “shotgunC”,  
“type”: “MAGAZINE”,  
“name”: “Quick Loading Tube, Shotgun”,  
“//”: “Provisional.”,  
“description”: “A spring-loaded tube, designed to store 4 12-gauge or .410 shells, complete with a plunger release to rapidly empty it’s contents into a shotgun’s tube.”,  
“weight”: 100,  
“volume”: “150ml”,  
“price”: 1000,  
“material”: “steel”,  
“symbol”: “#”,  
“color”: “light\_gray”,  
“ammo\_type”: “shot\_00”,  
“capacity”: 4,  
“flags”: [“SPEEDLOADER”]  
}

Any help would be greatly appreciated! 😃

---

<div class="post-metadata">

**Author:** ![kevin.granade](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/kevin.granade/32/1316_2.png) [@kevin.granade](https://discourse.cataclysmdda.org/u/kevin.granade)\
**Post date:** [December 13, 2018, 9:48pm UTC](https://discourse.cataclysmdda.org/t/assigning-multiple-ammunition-types-to-a-magazine/17903/2 "2018-12-13T21:48:18Z")

</div>

Why would a magazine or speedloader accept both 12Ga and .410? 12Ga is about 2x the diameter of .410.

In the game, it’s not possible to have a magazine hold more than one ammo type.

---

<div class="post-metadata">

**Author:** ![Surprised\_Cephamorph](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/surprised_cephamorph/32/4004_2.png) [@Surprised\_Cephamorph](https://discourse.cataclysmdda.org/u/Surprised_Cephamorph)\
**Post date:** [December 13, 2018, 10:33pm UTC](https://discourse.cataclysmdda.org/t/assigning-multiple-ammunition-types-to-a-magazine/17903/3 "2018-12-13T22:33:20Z")

</div>

Truth be told, I was more thinking about the tube being loaded with one _or_ the other, rather than both simultaneously, more to save on back end leg work then anything, in terms of near-duplicate entries 👼

Practically, can I make a _“copy-from”_ reference to the 12Ga tube for the .410 one, but change the blurb and ammo type, like below?

```
   {
    "id": "shotgunC_12Ga",
    "type": "MAGAZINE",
    "name": "Quick Loading Tube, Shotgun",
    "//": "Provisional.",
    "description": "A spring-loaded tube, designed to store 4 12-gauge shells, complete with a plunger release to rapidly empty it's contents into a shotgun's tube.",
    "weight": 100,
    "volume": "150ml",
    "price": 1000,
    "material": "steel",
    "symbol": "#",
    "color": "light_gray",
    "ammo_type": "shot_00",
    "capacity": 4,
    "flags": ["SPEEDLOADER"]
  }
  {
  "id": "shotgunC_410",
  "copy-from":"shotgunC_12Ga",
  "description": "A spring-loaded tube, designed to store 4 .410 bore shells, complete with a plunger release to rapidly empty it's contents into a shotgun's tube.",
  "ammo_type": "Shot_410",
  }
```

---

<div class="post-metadata">

**Author:** ![kevin.granade](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/kevin.granade/32/1316_2.png) [@kevin.granade](https://discourse.cataclysmdda.org/u/kevin.granade)\
**Post date:** [December 13, 2018, 11:52pm UTC](https://discourse.cataclysmdda.org/t/assigning-multiple-ammunition-types-to-a-magazine/17903/4 "2018-12-13T23:52:12Z")

</div>

I expect that will work.

---

<div class="post-metadata">

**Author:** ![nameless\_survivor](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/nameless_survivor/32/4476_2.png) [@nameless\_survivor](https://discourse.cataclysmdda.org/u/nameless_survivor)\
**Post date:** [December 14, 2018, 5:23pm UTC](https://discourse.cataclysmdda.org/t/assigning-multiple-ammunition-types-to-a-magazine/17903/5 "2018-12-14T17:23:09Z")

</div>

> [@kevin.granade](#):
>
> In the game, it’s not possible to have a magazine hold more than one ammo type.

It would be nice to be able to mix regular ammunition and tracers, so you can still have the incendiary effect but not use up a whole bunch of them just to set one thing on fire. Like interspersed NATO 5.56mm and incendiary rounds in a 5:1 ratio or something. You couldn’t mix most of the other ammo types together because the different pressures they generate could potentially cause jamming, but tracer rounds are mixed with other ammo all the time.

---

<div class="post-metadata">

**Author:** ![kevin.granade](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/kevin.granade/32/1316_2.png) [@kevin.granade](https://discourse.cataclysmdda.org/u/kevin.granade)\
**Post date:** [December 14, 2018, 8:29pm UTC](https://discourse.cataclysmdda.org/t/assigning-multiple-ammunition-types-to-a-magazine/17903/6 "2018-12-14T20:29:18Z")

</div>

Ammo type is not the same as a specific item.  
Ordinary 5.56mm and 5.56mm tracers are the same “ammo\_type” but different items, and they can have different stats and special effects.

Having said that, the game _also_ does not support loading different item types in a magazine at the same time, partially because of some random game internals, and partially because if you have staggered rounds you might also want to specify things about them (maybe I want 5:1 tracers, maybe I want 10:1) or even do select-fire with e.g. revolvers, so enabling that opens a big can of worms on the interface side.

---

<div class="post-metadata">

**Author:** ![nameless\_survivor](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/nameless_survivor/32/4476_2.png) [@nameless\_survivor](https://discourse.cataclysmdda.org/u/nameless_survivor)\
**Post date:** [December 14, 2018, 10:46pm UTC](https://discourse.cataclysmdda.org/t/assigning-multiple-ammunition-types-to-a-magazine/17903/7 "2018-12-14T22:46:36Z")

</div>

I have a partial work around for that but its kind of weird and limited.

You create a recipe for “interspersed 5.56 NATO” made in batches of 5. Requires (4) standard 5.56 NATO rounds and (1) Tracer round. Each round would have a 20% chance of inflicting the incendiary effect. You could have a version of this recipe for each variety of the 5.56 family of rounds (ex: (4) .223 Remington, (1) tracer.

Damage, penetration, etc would be a weighted average of the stats of the primary round and the tracer.

While it would be technically possible for the incendiary effect to proc more than it would if you had actual interspersed rounds, you wouldn’t need to overhaul the game engine to do it.
