Barotrauma icon indicating copy to clipboard operation
Barotrauma copied to clipboard

NPCs turn hostile when healed

Open Regalis11 opened this issue 1 year ago • 1 comments

Discussed in https://github.com/FakeFishGames/Barotrauma/discussions/14101

Originally posted by Awec4 June 8, 2024

Disclaimers

  • [X] I have searched the issue tracker to check if the issue has already been reported.
  • [ ] My issue happened while using mods.

What happened?

In a multiplayer game where we had a mission to escort NPCs Our sub was attacked by Tiger Threshers while I was outside, when I arrived back inside I found one of the mission NPCs unconscious with low oxygen/bloodloss and an infected wound, so I gave him alien blood and CPR to revive him and applied some antibiotics to the infected wound. As I was inspecting the NPC to ensure the infected wound fully healed he suddenly turned hostile and he and the others attacked me. Presumably some part of the healing did damage e.g psychosis from the alien blood or organ damage from antibiotics Expected behaviour: Mission NPCs on the sub should not turn hostile when being healed

Reproduction steps

  1. Start a mission to escort NPCs
  2. Have an NPC be injured/knocked unconscious by creatures
  3. Heal the NPC

Bug prevalence

Just once

Single player or multiplayer?

Multiplayer hosted from the in-game menu (= using a listen server)

-

No response

Version

v1.4.6.0 (Blood in the Water Update, hotfix 2)

-

No response

Which operating system did you encounter this bug on?

Windows

Relevant error messages and crash reports

No response

Regalis11 avatar Jun 18 '24 18:06 Regalis11

Also affects npcs in multiplayer mode, but not singleplayer. So you can give antibiotics to your crew in sp, but not in mp

Vykn avatar Jun 18 '24 21:06 Vykn

Addressed in https://github.com/FakeFishGames/Barotrauma-development/pull/5600

Regalis11 avatar Aug 07 '24 12:08 Regalis11

Merged, closing

Regalis11 avatar Sep 03 '24 12:09 Regalis11