# NPC trade bug

**URL:** https://discourse.cataclysmdda.org/t/npc-trade-bug/12566
**Category:** The Garage
**Created:** [September 21, 2016, 9:04pm UTC](https://discourse.cataclysmdda.org/t/npc-trade-bug/12566 "2016-09-21T21:04:10Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Codeslamer](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/codeslamer/32/3433_2.png) [@Codeslamer](https://discourse.cataclysmdda.org/u/Codeslamer)
#### Post date: [September 21, 2016, 9:04pm UTC](https://discourse.cataclysmdda.org/t/npc-trade-bug/12566/1 "2016-09-21T21:04:10Z")

</div>

Every time I start a new game I normally ask the NPC for an item before I leave the shelter. Normally I’d just get the item but now it seems to set the NPC’s cash to 0 and make me owe the NPC the amount that the item was. Then if you get them as a follower and are able to trade items without paying then the game will always say that you still owe the NPC the amount of money and not let you trade the items, even if you’re giving the NPC lots of items over the value you owe and are taking nothing.

---

<div class="post-metadata">

### Author: ![latogato](https://avatars.discourse-cdn.com/v4/letter/l/b9bd4f/32.png) [@latogato](https://discourse.cataclysmdda.org/u/latogato)
#### Post date: [September 23, 2016, 4:28pm UTC](https://discourse.cataclysmdda.org/t/npc-trade-bug/12566/2 "2016-09-23T16:28:37Z")

</div>

I just come here to report the same, except i was not aware the cause of my debt. Cool.

Anyway you can erase your debt in the save files just search for

```auto
"owed":-X
```

where X is your debt in cents and change it to 0.

For example $205 debt is

```auto
"owed":-20500
```

* * *

Also another trader bugs:

1. values are strange. I can sell …  
dog whistle for $15.40 (worth: $10)  
heat pack for $7.70 (worth $1)  
copper tubing $3.30 (worth $75), at least i can see this is its “barter value”.

2. Can’t examine items with uppercase letters on the trading window

---

<div class="post-metadata">

### Author: ![Codeslamer](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/codeslamer/32/3433_2.png) [@Codeslamer](https://discourse.cataclysmdda.org/u/Codeslamer)
#### Post date: [September 26, 2016, 9:57pm UTC](https://discourse.cataclysmdda.org/t/npc-trade-bug/12566/3 "2016-09-26T21:57:46Z")

</div>

[quote=“latogato, post:2, topic:12566”]I just come here to report the same, except i was not aware the cause of my debt. Cool.

Anyway you can erase your debt in the save files just search for

```auto
"owed":-X
```

where X is your debt in cents and change it to 0.

For example $205 debt is

`
"owed":-20500
`[/quote]  
Thanks for the tip 🙂 Afraid I can’t help you with your problems though

---

<div class="post-metadata">

### Author: ![Codeslamer](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/codeslamer/32/3433_2.png) [@Codeslamer](https://discourse.cataclysmdda.org/u/Codeslamer)
#### Post date: [November 20, 2016, 9:42pm UTC](https://discourse.cataclysmdda.org/t/npc-trade-bug/12566/4 "2016-11-20T21:42:48Z")

</div>

I know reviving a dead post and all but I just wanted to say that this is still a problem since the latest update. I didn’t think there was much point making a new post when one already exists about the problem.

---

<div class="post-metadata">

### Author: ![Nibelung44](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/nibelung44/32/587_2.png) [@Nibelung44](https://discourse.cataclysmdda.org/u/Nibelung44)
#### Post date: [November 24, 2016, 1:40pm UTC](https://discourse.cataclysmdda.org/t/npc-trade-bug/12566/5 "2016-11-24T13:40:13Z")

</div>

I believe I have the same issue… Do you know how to alter a NPC so that you can remove buggy behavior? My NPC has 2 AI tag in status that indicate that if I see them, there is a bug… So bug there is!
