FakeFishGames / Barotrauma

A 2D online multiplayer game taking place in a submarine travelling through the icy depths of Jupiter's moon Europa.
http://www.barotraumagame.com/
1.74k stars 406 forks source link

Bots are trying to treat major burns with opiates #13003

Closed SomeRandomNoobKekeke closed 9 months ago

SomeRandomNoobKekeke commented 11 months ago

Disclaimers

What happened?

If you have major burns bots will inject you with all opiates on board before applying any bandages

Only when they don't have bandages in their inventory

imho: bots shouldn't use opiates to treat burns at all, you'd rather die from an overdose than heal your burns

Reproduction steps

quickstart Orca giveaffliction Burn 90

watch medic injecting all morphine into you

it's not just morphine, if there's also fentanyl or opium they'll waste it too

Bug prevalence

Happens regularly

Single player or multiplayer?

Single player

-

No response

Version

v1.1.19.3 (Treacherous Tides Hotfix 2)

-

No response

Which operating system did you encounter this bug on?

Windows

Relevant error messages and crash reports

No response

Regalis11 commented 11 months ago

I don't see an issue here really. If you have burns all over your body, opiates are a much more efficient way to heal those because they affect the entire body unlike bandages. Which is an issue in itself I think, but I would say the bots are behaving appropriately in this case.

SomeRandomNoobKekeke commented 11 months ago

if you fail electric repair a few times in a row medic bot will inject you with 10 fentanyls and kill you, despite there's bandages on board

or waste all morphine/naloxone on board

SomeRandomNoobKekeke commented 11 months ago

https://github.com/Regalis11/Barotrauma/assets/122838333/722a4fa3-4708-4afa-ab3d-0223ac759f0e

Regalis11 commented 11 months ago

Thanks for the extra info, it does seem like this is bugged (seems to have to do with the treatment suitability adjustments in recent updates).

Regalis11 commented 11 months ago

Fixed in https://github.com/Regalis11/Barotrauma-development/commit/f199ee11fd7170c6324057e57895ffd09407de2c