diff --git a/Content.Server/White/Animations/EmoteAnimationSystem.cs b/Content.Server/White/Animations/EmoteAnimationSystem.cs index ff29c92615..9c4f71ea6d 100644 --- a/Content.Server/White/Animations/EmoteAnimationSystem.cs +++ b/Content.Server/White/Animations/EmoteAnimationSystem.cs @@ -14,7 +14,6 @@ public class EmoteAnimationSystem : SharedEmoteAnimationSystem public override void Initialize() { SubscribeLocalEvent(OnGetState); - SubscribeLocalEvent(OnMapInint); SubscribeLocalEvent(OnShutdown); SubscribeLocalEvent(OnEmote); @@ -30,7 +29,7 @@ public class EmoteAnimationSystem : SharedEmoteAnimationSystem private void OnMapInint(EntityUid uid, EmoteAnimationComponent component, MapInitEvent args) { - /* + var actionFlip = new InstantAction(_proto.Index(EmoteFlipActionPrototype)); var actionJump = new InstantAction(_proto.Index(EmoteJumpActionPrototype)); var actionTurn = new InstantAction(_proto.Index(EmoteTurnActionPrototype)); @@ -40,8 +39,6 @@ public class EmoteAnimationSystem : SharedEmoteAnimationSystem _action.AddAction(uid, actionFlip, null); _action.AddAction(uid, actionJump, null); _action.AddAction(uid, actionTurn, null); - */ - // shity-dirty-fucking code. There is need to refactor in future, if you wanna add more animations - Doc } private void OnShutdown(EntityUid uid, EmoteAnimationComponent component, ComponentShutdown args) @@ -52,7 +49,6 @@ public class EmoteAnimationSystem : SharedEmoteAnimationSystem _action.RemoveAction(uid, component.JumpAction); if (component.TurnAction != null) _action.RemoveAction(uid, component.TurnAction); - // shity-dirty-fucking code. There is need to refactor in future, if you wanna add more animations - Doc } private void OnEmote(EntityUid uid, EmoteAnimationComponent component, ref EmoteEvent args) diff --git a/Resources/Locale/ru-RU/white/actions/emotes.ftl b/Resources/Locale/ru-RU/white/actions/emotes.ftl new file mode 100644 index 0000000000..4953298fb2 --- /dev/null +++ b/Resources/Locale/ru-RU/white/actions/emotes.ftl @@ -0,0 +1,13 @@ +emote-flip-action-name = Сальто +emote-flip-action-description = Сделать крутой акработический трюк! + +emote-jump-action-name = Подпрыгнуть +emote-jump-action-description = Подпрыгни из-за радости или испуга от мыши. + +emote-turn-action-name = Танцевать +emote-turn-action-description = You spin me right round baby... + +emote-slap-target-action = шлепает {$target} по заднице! +emote-slap-action-name = Шлепнуть по заднице +emote-slap-additional-info = *шлеп* +emote-slap-additional-info-for-target = Вас шлепнули по заднице!