# Disarming Shotgun Trap Bug? / Sawn Off Shotgun Bug? ( Experimental 5683 )

**URL:** <https://discourse.cataclysmdda.org/t/disarming-shotgun-trap-bug-sawn-off-shotgun-bug-experimental-5683/12715>\
**Category:** The Garage\
**Created:** [October 12, 2016, 11:10am UTC](https://discourse.cataclysmdda.org/t/disarming-shotgun-trap-bug-sawn-off-shotgun-bug-experimental-5683/12715 "2016-10-12T11:10:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![KiBoy](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/kiboy/32/5863_2.png) [@KiBoy](https://discourse.cataclysmdda.org/u/KiBoy)\
**Post date:** [October 12, 2016, 11:10am UTC](https://discourse.cataclysmdda.org/t/disarming-shotgun-trap-bug-sawn-off-shotgun-bug-experimental-5683/12715/1 "2016-10-12T11:10:49Z")

</div>

I’ve went to a survivor house ( the one with boarded up windows ) and decided to disarm the 2 shotgun traps that were there.

I failed both times, and I almost died due to torso hits.

However, once I disarmed them, both of them dropped an item called undefined-shotgun\_sawns

It has a negative 0 price, no weight or volume, is in the OTHER category and the description says “Missing item definition for shotgun\_sawn”

I am the only one who encountered this?

Edit:

Some additional info. I genned this world in Experimental 5633 and transferred it from that version to the one in the title. Also, the sawn off shotguns still have their graphics, so I think it must be something with the .json file.

---

<div class="post-metadata">

**Author:** ![Solusphere](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/solusphere/32/66_2.png) [@Solusphere](https://discourse.cataclysmdda.org/u/Solusphere)\
**Post date:** [October 12, 2016, 11:35am UTC](https://discourse.cataclysmdda.org/t/disarming-shotgun-trap-bug-sawn-off-shotgun-bug-experimental-5683/12715/2 "2016-10-12T11:35:10Z")

</div>

I too have encountered this issue, though that was around 2 weeks ago.

---

<div class="post-metadata">

**Author:** ![BorkBorkGoesTheCode](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/borkborkgoesthecode/32/2343_2.png) [@BorkBorkGoesTheCode](https://discourse.cataclysmdda.org/u/BorkBorkGoesTheCode)\
**Post date:** [October 12, 2016, 11:41am UTC](https://discourse.cataclysmdda.org/t/disarming-shotgun-trap-bug-sawn-off-shotgun-bug-experimental-5683/12715/3 "2016-10-12T11:41:28Z")

</div>

It looks like the shotgun trap wasn’t updated with the deprecation of shotgun\_spawn, or item migration couldn’t find.

---

<div class="post-metadata">

**Author:** ![KiBoy](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/kiboy/32/5863_2.png) [@KiBoy](https://discourse.cataclysmdda.org/u/KiBoy)\
**Post date:** [October 12, 2016, 2:14pm UTC](https://discourse.cataclysmdda.org/t/disarming-shotgun-trap-bug-sawn-off-shotgun-bug-experimental-5683/12715/4 "2016-10-12T14:14:03Z")

</div>

This is the debug message I got once I loaded that save file again:

DEBUG : Missing item definition: shotgun\_sawn

FUNCTION : const itype\* Item\_factory::find\_template(const itype\_id&) const  
FILE : src/Item\_factory.cpp  
LINE : 892

---

<div class="post-metadata">

**Author:** ![BorkBorkGoesTheCode](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/borkborkgoesthecode/32/2343_2.png) [@BorkBorkGoesTheCode](https://discourse.cataclysmdda.org/u/BorkBorkGoesTheCode)\
**Post date:** [October 13, 2016, 11:18pm UTC](https://discourse.cataclysmdda.org/t/disarming-shotgun-trap-bug-sawn-off-shotgun-bug-experimental-5683/12715/5 "2016-10-13T23:18:23Z")

</div>

Found it. src/trapfunc. Will fix if I can.
