Build 0.21.6.0

This commit is contained in:
Markus Isberg
2023-01-31 18:01:29 +02:00
parent 697ec52120
commit 25fa5a9552
145 changed files with 2317 additions and 1145 deletions
@@ -302,6 +302,7 @@ namespace Barotrauma
UnlockAchievement(causeOfDeath.Killer, "killclown".ToIdentifier());
}
// TODO: should we change this? Morbusine used to be the strongest poison. Now Cyanide is strongest.
if (character.CharacterHealth?.GetAffliction("morbusinepoisoning") != null)
{
UnlockAchievement(causeOfDeath.Killer, "killpoison".ToIdentifier());
@@ -315,6 +316,7 @@ namespace Barotrauma
}
else
{
// TODO: should we change this? Morbusine used to be the strongest poison. Now Cyanide is strongest.
if (item.Prefab.Identifier == "morbusine")
{
UnlockAchievement(causeOfDeath.Killer, "killpoison".ToIdentifier());