# Npcs delete range weapons when given to them

**URL:** https://discourse.cataclysmdda.org/t/npcs-delete-range-weapons-when-given-to-them/10835
**Category:** The Garage
**Created:** [November 9, 2015, 8:35pm UTC](https://discourse.cataclysmdda.org/t/npcs-delete-range-weapons-when-given-to-them/10835 "2015-11-09T20:35:23Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Noctifer](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/noctifer/32/458_2.png) [@Noctifer](https://discourse.cataclysmdda.org/u/Noctifer)
#### Post date: [November 9, 2015, 8:35pm UTC](https://discourse.cataclysmdda.org/t/npcs-delete-range-weapons-when-given-to-them/10835/1 "2015-11-09T20:35:23Z")

</div>

So I made a pneumatic rifle for an npc and gave it to them via the trading menu. The rifle disappeared form the npc’s inventory, mine and it was not wielding it. I gave them ammo to see if they would equip it and nothing. I spawned a zombie to see if they would use the gun to fight but nothing. Gave them a gun with ammo loaded and still disappeared. Use other types of ranged weapons and same effect.

Version aa3d161.

---

<div class="post-metadata">

### Author: ![Iosyn](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/iosyn/32/35_2.png) [@Iosyn](https://discourse.cataclysmdda.org/u/Iosyn)
#### Post date: [November 10, 2015, 9:50am UTC](https://discourse.cataclysmdda.org/t/npcs-delete-range-weapons-when-given-to-them/10835/2 "2015-11-10T09:50:15Z")

</div>

Sup Noct. have you tried this with other NPCs?  
Also if you can open the Debug menu and see what happens after you trade it that’d be helpful.

---

<div class="post-metadata">

### Author: ![Noctifer](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/noctifer/32/458_2.png) [@Noctifer](https://discourse.cataclysmdda.org/u/Noctifer)
#### Post date: [November 10, 2015, 5:22pm UTC](https://discourse.cataclysmdda.org/t/npcs-delete-range-weapons-when-given-to-them/10835/3 "2015-11-10T17:22:49Z")

</div>

Used debug menu to spawn npcs, strip them then give them ruck sacks. Used grant item by debug, convo and trade to give them item and ammo and still the same issue.

Edit: It now apparently works…it either wields it, drops it or puts it in inventory.

---

<div class="post-metadata">

### Author: ![Voiddweller](https://avatars.discourse-cdn.com/v4/letter/v/9f8e36/32.png) [@Voiddweller](https://discourse.cataclysmdda.org/u/Voiddweller)
#### Post date: [November 10, 2015, 6:47pm UTC](https://discourse.cataclysmdda.org/t/npcs-delete-range-weapons-when-given-to-them/10835/4 "2015-11-10T18:47:28Z")

</div>

It seems that NPC really hate pneumatic rifle ammo anyway, because of high volume and maybe junk value too…

---

<div class="post-metadata">

### Author: ![Coolthulhu](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/coolthulhu/32/2446_2.png) [@Coolthulhu](https://discourse.cataclysmdda.org/u/Coolthulhu)
#### Post date: [November 10, 2015, 7:26pm UTC](https://discourse.cataclysmdda.org/t/npcs-delete-range-weapons-when-given-to-them/10835/5 "2015-11-10T19:26:11Z")

</div>

Turn on debug mode before giving the item to see how does the NPC value it.

---

<div class="post-metadata">

### Author: ![Noctifer](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/noctifer/32/458_2.png) [@Noctifer](https://discourse.cataclysmdda.org/u/Noctifer)
#### Post date: [November 10, 2015, 7:59pm UTC](https://discourse.cataclysmdda.org/t/npcs-delete-range-weapons-when-given-to-them/10835/6 "2015-11-10T19:59:04Z")

</div>

I did, it seems they favor items with higher damage mostly, between a crossbow and repeating crossbow they take the normal crossbow (they are holding bolts in inventory).

---

<div class="post-metadata">

### Author: ![Straume21](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/straume21/32/236_2.png) [@Straume21](https://discourse.cataclysmdda.org/u/Straume21)
#### Post date: [November 11, 2015, 12:40am UTC](https://discourse.cataclysmdda.org/t/npcs-delete-range-weapons-when-given-to-them/10835/7 "2015-11-11T00:40:29Z")

</div>

I’ve had problems in the past with giving NPCs firearms and then the weapons being missing when I come back to find them dead. They drop all of their gear, but not the weapons that I gave them.
