Faction Test v1.0.1.0

This commit is contained in:
Regalis11
2023-02-16 15:01:28 +02:00
parent caa5a2f762
commit 2c5a7923b0
309 changed files with 7502 additions and 4335 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());