v0.11.0.9

This commit is contained in:
Joonas Rikkonen
2020-12-09 16:34:16 +02:00
parent bbf06f0984
commit f433a7ba10
325 changed files with 13947 additions and 3652 deletions
@@ -226,6 +226,13 @@ namespace Barotrauma
clientMemories.Remove(client);
}
public void OnBallastFloraDamaged(Character character, float damage)
{
if (character == null) { return; }
float karmaChange = damage * BallastFloraKarmaIncrease;
AdjustKarma(character, karmaChange, "Damaged ballast flora");
}
// ReSharper disable once UseNegatedPatternMatching, LoopCanBeConvertedToQuery
public void OnItemTakenFromPlayer(CharacterInventory inventory, Client yoinker, Item item)
{