forked from space-syndicate/space-station-14
-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
25fc23c
commit d17b591
Showing
5 changed files
with
73 additions
and
0 deletions.
There are no files selected for viewing
30 changes: 30 additions & 0 deletions
30
Content.Server/_CorvaxNext/Resomi/Abilities/ListenUpSkillSystem.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
using Content.Shared.Actions; | ||
using Content.Shared.Alert; | ||
using Content.Shared.Maps; | ||
using Robust.Shared.Containers; | ||
using Robust.Shared.Map; | ||
using Robust.Shared.Timing; | ||
using Content.Shared._CorvaxNext.Resomi; | ||
using Content.Shared.Movement.Components; | ||
using Content.Shared.Movement.Systems; | ||
using Content.Shared._CorvaxNext.Resomi.Abilities; | ||
using Content.Shared.Damage.Components; | ||
using Robust.Shared.Physics; | ||
using Content.Shared._CorvaxNext.Resomi.Abilities.Hearing; | ||
|
||
namespace Content.Server._CorvaxNext.Resomi.Abilities; | ||
|
||
public sealed class ListenUpSkillSystem : SharedListenUpSkillSystem | ||
{ | ||
public override void Initialize() | ||
{ | ||
base.Initialize(); | ||
SubscribeLocalEvent<ListenUpSkillComponent, ComponentInit>(OnComponentInit); | ||
SubscribeLocalEvent<ListenUpSkillComponent, ListenUpActionEvent>(SwitchAgility); | ||
SubscribeLocalEvent<ListenUpSkillComponent, RefreshMovementSpeedModifiersEvent>(OnRefreshMovespeed); | ||
} | ||
private void OnComponentInit(Entity<ListenUpSkillComponent> ent, ref ComponentInit args) | ||
{ | ||
_actionsSystem.AddAction(ent.Owner, ref ent.Comp.SwitchAgilityActionEntity, ent.Comp.SwitchAgilityAction, ent.Owner); | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
Content.Shared/_CorvaxNext/Resomi/Abilities/Hearing/ListenUpSkillComponent.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
using Robust.Shared.GameStates; | ||
using Robust.Shared.Prototypes; | ||
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype; | ||
|
||
namespace Content.Shared._CorvaxNext.Resomi.Abilities.Hearing; | ||
|
||
[RegisterComponent, NetworkedComponent] | ||
[AutoGenerateComponentState] | ||
public sealed partial class ListenUpSkillComponent : Component | ||
{ | ||
|
||
} |
20 changes: 20 additions & 0 deletions
20
Content.Shared/_CorvaxNext/Resomi/Abilities/Hearing/SharedListenUpSkillSystem.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
using Robust.Shared.Timing; | ||
using Robust.Shared.Physics.Systems; | ||
using Robust.Shared.Physics; | ||
using Content.Shared.Physics; | ||
using Content.Shared.Popups; | ||
using Robust.Shared.Physics.Events; | ||
using Robust.Shared.Log; | ||
using Content.Shared.Climbing.Systems; | ||
using Content.Shared.Damage.Systems; | ||
using Content.Shared.Actions; | ||
|
||
namespace Content.Shared._CorvaxNext.Resomi.Abilities.Hearing; | ||
|
||
public abstract class SharedListenUpSkillSystem : EntitySystem | ||
{ | ||
public override void Initialize() | ||
{ | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters