# Help troubleshooting

**URL:** <https://discourse.cataclysmdda.org/t/help-troubleshooting/22475>\
**Category:** The Toolbox\
**Created:** [January 13, 2020, 9:47pm UTC](https://discourse.cataclysmdda.org/t/help-troubleshooting/22475 "2020-01-13T21:47:06Z")\
**Posts on this page:** 8\
**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:** [January 13, 2020, 9:47pm UTC](https://discourse.cataclysmdda.org/t/help-troubleshooting/22475/1 "2020-01-13T21:47:06Z")

</div>

I’m making a mod that adds a couple new guns to the game the mod runs and all but the guns don’t show up in game nor do they appear in the debug menu. Heres one gun for refrence and the modinfo file.  
[  
{  
“id”: “AWM”,  
“copy\_from”: “gun\_base”,  
“looks\_like”: “pneumatic\_bolt\_driver”,  
“type”: “GUN”,  
“name”: “AWM”,  
“description”: “A bolt-action sniper rifle designed and manufactured by the British company Accuracy International. This rifle has seen popularity from everyone, from civilians to military.”,  
“weight”: “6486,4 g”,  
“volume”: 3,  
“price”: 800000,  
“bashing”: 8,  
“to\_hit”: -2,  
“materials”: [“steel”, “plastic”],  
“symbol”: “|”,  
“color”: “grey”,  
“ammo”: “.300\_Winchester\_Magnum”,  
“skill”: “rifle”,  
“range”: 70,  
“dispersion”: 30,  
“durability”: 20,  
“valid\_mod\_locations”: [  
[“accessories”, 2],  
[“grip”, 1],  
[“mechanism”, 3],  
[“sights”, 1],  
[“sling”, 1],  
[“underbarrel”, 1]  
],  
“magazines”: [".300\_Winchester\_Magnum", [“AWM\_mag”]]  
}  
]

[  
{  
“type”: “MOD\_INFO”,  
“ident”: “More\_Snipers”,  
“name”: “More Snipers”,  
“authors”: [“Jninja1”],  
“description”: “Adds a couple of new sniper rifles.”,  
“category”: “guns”,  
“dependencies”: [“dda”]  
}  
]

---

<div class="post-metadata">

**Author:** ![CreeperWatcher23](https://avatars.discourse-cdn.com/v4/letter/c/b5e925/32.png) [@CreeperWatcher23](https://discourse.cataclysmdda.org/u/CreeperWatcher23)\
**Post date:** [January 13, 2020, 11:15pm UTC](https://discourse.cataclysmdda.org/t/help-troubleshooting/22475/2 "2020-01-13T23:15:58Z")

</div>

Did you set it up in an item group\set up spawning? I’m still working on making my items spawn in my mod but the items do exist.

---

<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:** [January 14, 2020, 6:31pm UTC](https://discourse.cataclysmdda.org/t/help-troubleshooting/22475/3 "2020-01-14T18:31:21Z")

</div>

I believe I did, I’m not entirely sure if I did. How would I do that though?

---

<div class="post-metadata">

**Author:** ![CreeperWatcher23](https://avatars.discourse-cdn.com/v4/letter/c/b5e925/32.png) [@CreeperWatcher23](https://discourse.cataclysmdda.org/u/CreeperWatcher23)\
**Post date:** [January 14, 2020, 11:31pm UTC](https://discourse.cataclysmdda.org/t/help-troubleshooting/22475/4 "2020-01-14T23:31:27Z")

</div>

Again, I haven’t gotten my items to spawn the way I want them too, but when testing item groups my items did show up.

in the json files of the game, there should be a folder called “Itemgroups”, in it are the files for what items will spawn with what (bathroom spawns, mutagens, etc). Create a mod file that edits a group and add the item that you’d like.

if the problem is that your item doesn’t exist at all, make sure that the mod is active, otherwise I’m as clueless as you.

---

<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:** [January 17, 2020, 8:37pm UTC](https://discourse.cataclysmdda.org/t/help-troubleshooting/22475/5 "2020-01-17T20:37:02Z")

</div>

Ya it sounds like it’s because I don’t have it set to an item group

---

<div class="post-metadata">

**Author:** ![TheMurderUnicorn](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/themurderunicorn/32/5706_2.png) [@TheMurderUnicorn](https://discourse.cataclysmdda.org/u/TheMurderUnicorn)\
**Post date:** [January 18, 2020, 1:26am UTC](https://discourse.cataclysmdda.org/t/help-troubleshooting/22475/6 "2020-01-18T01:26:09Z")

</div>

Even if they’re not in an itemgroup they would appear in the debug menu.

Are you sure that the world you’re running is using the mod? I don’t see any glaring issues with what you posted, though admittedly I didn’t look very closely.

---

<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:** [January 24, 2020, 3:21pm UTC](https://discourse.cataclysmdda.org/t/help-troubleshooting/22475/7 "2020-01-24T15:21:50Z")

</div>

It could have been that was the issue, I haven’t had many chances to check though.

---

<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:** [January 25, 2020, 8:25pm UTC](https://discourse.cataclysmdda.org/t/help-troubleshooting/22475/9 "2020-01-25T20:25:24Z")

</div>

I found the issue, I had the ammo types wrong I was for sure they were right. Obviously not though…
