Ratvarian Language and CogChamp (#15639)

This commit is contained in:
keronshb
2023-04-29 04:34:19 -04:00
committed by GitHub
parent 46dc364dc8
commit 0f7e7da450
17 changed files with 236 additions and 0 deletions

View File

@@ -18,7 +18,9 @@ public abstract class SharedDrunkSystem : EntitySystem
return;
if (applySlur)
{
_slurredSystem.DoSlur(uid, TimeSpan.FromSeconds(boozePower), status);
}
if (TryComp<LightweightDrunkComponent>(uid, out var trait))
boozePower *= trait.BoozeStrengthMultiplier;