CleverRaven / Cataclysm-DDA

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

NPCs completing their task when they should not #43982

Closed GGgatherer closed 3 years ago

GGgatherer commented 4 years ago

Describe the bug

They stop reading a book as soon as you change z-level and skip a second in there.

Steps To Reproduce

  1. Load save, check that NPC nearby is reading.
  2. Go downstairs (or use stepladder to get to the roof, doesn't matter).
  3. Skip a turn.
  4. See new message in the log, return to see she's now following you. Obviously not reading anymore.

Expected behavior

They should not stop doing their task because I'm using a stair/stepladder/whatever.

Versions and configuration

GGgatherer commented 4 years ago

Another case: same save, move away outside RB (take a Scouter and drive to the silos to the west, for example), then return. She will stop reading and start following without even noticing it in message log. e: in fact, you don't even have to return. Just moving outside of RB "completes" their activity. Just checked on b11076. It's making companions nearly useless.

GGgatherer commented 4 years ago

Turns out it doesn't affect all activities. For example, NPC constructing something is not interrupted by PC leaving NPC's z-level, nor by leaving reality bubble.

kevingranade commented 4 years ago

This issue has been mentioned on Cataclysm: Dark Days Ahead. There might be relevant details there:

https://discourse.cataclysmdda.org/t/how-to-get-npcs-to-stay-put-while-doing-activities/25171/4

natsirt721 commented 4 years ago

I'm still seeing this on 0.E-7424-gcbcf5fd with reading and sorting activities.

Salty-Panda commented 3 years ago

Another case: image NPC ordered to guard. After some activity (after a few times I'm still not sure whether triggered after some time or on z-level change) She drops her weapon, starts wielding army helmet, and enters "follow" mode. Tried a few weapons, after she lost some permanently, tried giving sheaths, nothing helped. EDIT. Remembered about #. Changed z-level, she's still welding the right weapon and continues to guard. So it's time-based.

wapcaplet commented 3 years ago

I am seeing this occur simply when moving outside of the NPC's line of sight.

EvanBalster commented 1 year ago

This sort of stuff is still happening. My NPCs will complete (ie, interrupt) their crafting tasks whenever I go to sleep nearby, go up or down a Z-level.

ynemo commented 9 months ago

still happening on latest exp

ZhilkinSerg commented 9 months ago

It is 3 years old bug. Would be better to create a new issue.