Unstable v0.1100.0.4 (November 11th 2020)

This commit is contained in:
Joonas Rikkonen
2020-11-06 20:12:15 +02:00
parent 6b36bf809d
commit b772654326
297 changed files with 12502 additions and 4277 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)
{