"New player" admin logging improvements (#35961)

* Initial commit

* Adjust a whoooole bunch of logs

* Also spears

* Track going crit

* Review fix

* Review fixes
This commit is contained in:
SlamBamActionman
2025-03-23 16:17:16 +00:00
committed by deltanedas
parent 0fc95ea0de
commit e4e238f7b0
47 changed files with 250 additions and 98 deletions
@@ -65,7 +65,7 @@ public sealed class ProjectileSystem : SharedProjectileSystem
}
_adminLogger.Add(LogType.BulletHit,
HasComp<ActorComponent>(target) ? LogImpact.Extreme : LogImpact.High,
LogImpact.Medium,
$"Projectile {ToPrettyString(uid):projectile} shot by {ToPrettyString(component.Shooter!.Value):user} hit {otherName:target} and dealt {modifiedDamage.GetTotal():damage} damage");
}