Emergent Sanitation Gameplay (#1378)

* Emergent Sanitation Gameplay

* Fix the map

* Address review

* Mention if it's slippery in the description
This commit is contained in:
ike709
2020-07-11 16:49:54 -05:00
committed by GitHub
parent 531d9626ad
commit 203a835264
20 changed files with 1011 additions and 45 deletions

View File

@@ -3,6 +3,7 @@ using System.Timers;
using Content.Server.GameObjects.Components.Mobs;
using Content.Server.Throw;
using Content.Shared.Audio;
using Content.Shared.GameObjects.EntitySystems;
using Content.Shared.Physics;
using Robust.Server.GameObjects.EntitySystems;
using Robust.Shared.Containers;
@@ -90,6 +91,9 @@ namespace Content.Server.GameObjects.Components.Movement
if (percentage < IntersectPercentage)
return;
if(!EffectBlockerSystem.CanSlip(collidedWith))
return;
stun.Paralyze(5f);
_slipped.Add(collidedWith.Uid);