# Hostile NPC bug

**URL:** https://discourse.cataclysmdda.org/t/hostile-npc-bug/10485
**Category:** The Garage
**Created:** [September 7, 2015, 9:36am UTC](https://discourse.cataclysmdda.org/t/hostile-npc-bug/10485 "2015-09-07T09:36:10Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Rot](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/rot/32/454_2.png) [@Rot](https://discourse.cataclysmdda.org/u/Rot)
#### Post date: [September 7, 2015, 9:36am UTC](https://discourse.cataclysmdda.org/t/hostile-npc-bug/10485/1 "2015-09-07T09:36:10Z")

</div>

I was reading in my large tent outside of town when I heard a noise outside. Turned out it was a hostile NPC and it attacked me with a nail board. I swiftly hacked him to bits with my Katana and now i’m suffering morale penalties “Killed Innocent” as if I had just killed a friendly NPC.

It’s irritating now that I have to sit here in the dead of night with -100 morale. Can’t read, and I don’t want to explore. Any way for me to reset my morale using the debug menu?

EDIT: Forgot to mention the build i’m playing is 3660. Changed it because StatsThroughSkills is working here.

---

<div class="post-metadata">

### Author: ![Rot](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/rot/32/454_2.png) [@Rot](https://discourse.cataclysmdda.org/u/Rot)
#### Post date: [September 7, 2015, 9:46am UTC](https://discourse.cataclysmdda.org/t/hostile-npc-bug/10485/2 "2015-09-07T09:46:29Z")

</div>

I figured a way on how to deal with the morale.

Cheat in some food and water and basically sleep it away by setting your needs so your char is exhausted.

---

<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: [September 7, 2015, 9:58am UTC](https://discourse.cataclysmdda.org/t/hostile-npc-bug/10485/3 "2015-09-07T09:58:30Z")

</div>

My fault, I set npc::hit\_by\_player in a place where it should be left alone, will fix soon.

---

<div class="post-metadata">

### Author: ![Rot](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/rot/32/454_2.png) [@Rot](https://discourse.cataclysmdda.org/u/Rot)
#### Post date: [September 7, 2015, 10:15am UTC](https://discourse.cataclysmdda.org/t/hostile-npc-bug/10485/4 "2015-09-07T10:15:56Z")

</div>

> [@Coolthulhu](#):
>
> My fault, I set npc::hit\_by\_player in a place where it should be left alone, will fix soon.

Thanks. I’ll stay playing at 3660, instead of killing them with my char i’ll just use the debug menu from here on out.

---

<div class="post-metadata">

### Author: ![Random\_dragon](https://avatars.discourse-cdn.com/v4/letter/r/4da419/32.png) [@Random\_dragon](https://discourse.cataclysmdda.org/u/Random_dragon)
#### Post date: [September 7, 2015, 4:11pm UTC](https://discourse.cataclysmdda.org/t/hostile-npc-bug/10485/5 "2015-09-07T16:11:07Z")

</div>

Could also go grab a vibrator. Counteract the morale penalty and make it easier to sleep away the worries afterward, no debugging needed. o3o
