CleverRaven / Cataclysm-DDA

Cataclysm - Dark Days Ahead. A turn-based survival game set in a post-apocalyptic world.
http://cataclysmdda.org
Other
10.33k stars 4.14k forks source link

Blacksmith/Gunsmith Merchant Bugs #62946

Open ghost opened 1 year ago

ghost commented 1 year ago

Describe the bug

These NPCs will defend their area without returning to their shop. When their wares respawn, if they are not in their shops, they will not sell any of the new items. Tested w/ the Gunsmith. Blacksmith died defending his house - I am assuming similar behavior.

Editing anger and trust values does nothing to change the situation.

Additionally, these guys spent a lot of time on those turrets and trenches... then they built this horrible wooden fence that ensures both houses will burn down if a fire is started anywhere along the perimeter.

Steps to reproduce

Spawn a zombie or something close enough that these guys move out of their houses. Wait 3 days. Try to buy their new stock.

Expected behavior

I expect them to sell me stuff if they have it for sale. Not trusting me enough is clearly an incorrect label.

Screenshots

No response

Versions and configuration

Additional context

No response

andrei8l commented 1 year ago

Spawn a zombie or something close enough that these guys move out of their houses. Wait 3 days. Try to buy their new stock.

Can't reproduce with these instructions:

I've dragged Jay all the way out here and advanced time by 7 days. You can see that he restocked on the adjacent tile ![Screenshot from 2022-12-31 13-03-50](https://user-images.githubusercontent.com/68240139/210134463-7128327f-79dd-4c60-be00-d5800254dab8.png)
And he's selling his stuff just fine ![Screenshot from 2022-12-31 13-04-00](https://user-images.githubusercontent.com/68240139/210134466-225df082-9913-4a83-acbe-de4d3269cb19.png)

There's also already an open issue and proposed solution for Jay and other merchants not returning to their proper places #62470

ghost commented 1 year ago

Hmm.. I teleported him back into his shop and after a second restock, he's still not trusting me enough to sell anything. I have set his trust to 10 and anger to 0 previously.. so I dunno.

He was injured by one of his own turrets, I'm not sure if this can have an impact or not.

andrei8l commented 1 year ago

Upload your save file

ghost commented 1 year ago

ded

MNG-cataclysm commented 1 year ago

62476 should fix this.

MNG-cataclysm commented 1 year ago

/confirmed

misterprimus commented 1 year ago

Describe the bug

These NPCs will defend their area without returning to their shop. When their wares respawn, if they are not in their shops, they will not sell any of the new items. Tested w/ the Gunsmith. Blacksmith died defending his house - I am assuming similar behavior.

Editing anger and trust values does nothing to change the situation.

Additionally, these guys spent a lot of time on those turrets and trenches... then they built this horrible wooden fence that ensures both houses will burn down if a fire is started anywhere along the perimeter.

Steps to reproduce

Spawn a zombie or something close enough that these guys move out of their houses. Wait 3 days. Try to buy their new stock.

Expected behavior

I expect them to sell me stuff if they have it for sale. Not trusting me enough is clearly an incorrect label.

Screenshots

No response

Versions and configuration

  • OS: Linux

    • OS Version: Distributor ID: Debian; Description: Debian GNU/Linux 11 (bullseye); Release: 11; Codename: bullseye;
  • Game Version: 0.F-12833-g4179a45695f [64-bit]
  • Graphics Version: Tiles
  • Game Language: System language []
  • Mods loaded: [ Dark Days Ahead [dda], Disable NPC Needs [no_npc_food], Bionic Professions [package_bionic_professions], Alternative Map Key [alt_map_key], sees-player, run, crouch, bleed icons, retrodays [sees_player_retro], Bionic Slots [cbm_slots], SpeedyDex [speedydex], Stats Through Skills [StatsThroughSkills], Tamable Wildlife [Tamable_Wildlife] ]

Additional context

No response

Can you amend your bug report to include the fact that you can easily block line of sight between the merchant and you by moving a few bookcases around and then can basically steal their wares freely? Their respawning wares should be stored behind reinforced glass and be inaccessible except if you mine the wall/glass and then that should aggro them.