_adminLogger.Add(LogType.Slip, LogImpact.Low,
$"{ToPrettyString(other):mob} slipped on collision with {ToPrettyString(uid):entity}");
}
-
- public void CopyConstruct(EntityUid destUid, SlipperyComponent srcSlip)
- {
- var destEvaporation = EntityManager.EnsureComponent<SlipperyComponent>(destUid);
- destEvaporation.SlipSound = srcSlip.SlipSound;
- destEvaporation.ParalyzeTime = srcSlip.ParalyzeTime;
- destEvaporation.LaunchForwardsMultiplier = srcSlip.LaunchForwardsMultiplier;
- }
}
/// <summary>
if (args.Current is not StatusEffectsComponentState state)
return;
- component.AllowedEffects = new(state.AllowedEffects);
+ component.AllowedEffects.Clear();
+ component.AllowedEffects.AddRange(state.AllowedEffects);
// Remove non-existent effects.
foreach (var effect in component.ActiveEffects.Keys)