Make clown clumsy. (#1481)
Co-authored-by: scuffedjays <yetanotherscuffed@gmail.com>
This commit is contained in:
committed by
GitHub
parent
fbbe43fff8
commit
2bd318e83f
18
Content.Server/Jobs/ClownSpecial.cs
Normal file
18
Content.Server/Jobs/ClownSpecial.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using Content.Server.GameObjects.Components.Mobs;
|
||||
using JetBrains.Annotations;
|
||||
using Robust.Shared.Interfaces.GameObjects;
|
||||
|
||||
namespace Content.Server.Jobs
|
||||
{
|
||||
// Used by clown job def.
|
||||
[UsedImplicitly]
|
||||
public sealed class ClownSpecial : JobSpecial
|
||||
{
|
||||
public override void AfterEquip(IEntity mob)
|
||||
{
|
||||
base.AfterEquip(mob);
|
||||
|
||||
mob.AddComponent<ClumsyComponent>();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user