Make clown clumsy. (#1481)

Co-authored-by: scuffedjays <yetanotherscuffed@gmail.com>
This commit is contained in:
Pieter-Jan Briers
2020-07-26 14:08:09 +02:00
committed by GitHub
parent fbbe43fff8
commit 2bd318e83f
9 changed files with 141 additions and 34 deletions

View 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>();
}
}
}