Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NPC ordered to construct blueprint can eventually switch to his/her long term goal and run away. #31872

Closed
eilaattwood opened this issue Jun 26, 2019 · 2 comments · Fixed by #32164 or #34560
Labels
<Bug> This needs to be fixed NPC / Factions NPCs, AI, Speech, Factions, Ownership

Comments

@eilaattwood
Copy link
Contributor

Describe the bug

NPC ordered to construct blueprint can eventually switch to his/her long term goal and run away.
Usually that happens when they are interrupted.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Spawn NPC
  2. Define construction blueprint zone and provide required tools and materials. Constructions should be time-consuming.
  3. Order NPC to complete blueprint.
  4. Wait until NPC interrupts building (for example, goes to bed)
  5. Watch him run away after waking up.

Expected behavior

NPC returns to the activity before interrupt and stays on the base.

Screenshots

N/A

Versions and configuration

  • OS: Windows 7
  • Game Version: 0.D-4979-g6a0f1c8
  • Graphics version: Tiles
  • Mods loaded: [ "dda", "no_npc_food", "filthy_morale", "craftgp", "safeautodoc", "aftershock", "realguns", "More_Survival_Tools", "Medieval_Stuff", "makeshift", "modular_turrets", "Salvaged_Robots", "Mining_Mod", "mutant_npcs", "alt_map_key", "cityside", "more_locations", "FujiStruct", "Urban_Development", "boats", "blazemod", "deoxymod", "Tanks", "DP_REMIX_INDICATORS", "EngineeringEssentials", "StatsThroughSkills", "sleepdeprivation", "more_classes_scenarios", "manualbionicinstall" ]

Additional context

Save file from #31799 can be used to track down this problem.

@ghost
Copy link

ghost commented Jun 26, 2019

This should be fixed by #31696 when it is merged. I've included the bugfix for this happening in there.

@Night-Pryanik Night-Pryanik added <Bug> This needs to be fixed NPC / Factions NPCs, AI, Speech, Factions, Ownership labels Jun 26, 2019
@sdp0et
Copy link

sdp0et commented Jun 27, 2019

I've seen this from telling an NPC to follow after leaving them on guard duty for a while.

mlangsdorf added a commit to mlangsdorf/Cataclysm-DDA that referenced this issue Oct 8, 2019
Fixes CleverRaven#31872

Add the option to recall any NPC that has been on a mission for
more than 24 hours.  This cancels the mission without refunding
any resources, but can be used to recover NPCs that are otherwise
stuck.
mlangsdorf added a commit to mlangsdorf/Cataclysm-DDA that referenced this issue Oct 8, 2019
Fixes CleverRaven#31872

Add the option to recall any NPC that has been on a mission for
more than 24 hours.  This cancels the mission without refunding
any resources, but can be used to recover NPCs that are otherwise
stuck.
kevingranade pushed a commit that referenced this issue Oct 9, 2019
Fixes #31872

Add the option to recall any NPC that has been on a mission for
more than 24 hours.  This cancels the mission without refunding
any resources, but can be used to recover NPCs that are otherwise
stuck.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
<Bug> This needs to be fixed NPC / Factions NPCs, AI, Speech, Factions, Ownership
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants