diff --git a/Content.Shared/LieDown/SharedLieDownSystem.cs b/Content.Shared/LieDown/SharedLieDownSystem.cs index 93a3fb52585..1645bc15153 100644 --- a/Content.Shared/LieDown/SharedLieDownSystem.cs +++ b/Content.Shared/LieDown/SharedLieDownSystem.cs @@ -104,7 +104,8 @@ private void SwitchActions(EntityUid uid) { _actions.AddAction(uid, ref standingComponent.LieDownActionEntity, standingComponent.LieDownAction); _actions.RemoveAction(uid, standingComponent.StandUpActionEntity); - } } + } + } /// /// When interacting with a lying down person, add ability to make him stand up. diff --git a/Resources/Prototypes/Actions/liedown.yml b/Resources/Prototypes/Actions/liedown.yml new file mode 100644 index 00000000000..2ad7ca710a2 --- /dev/null +++ b/Resources/Prototypes/Actions/liedown.yml @@ -0,0 +1,19 @@ +- type: entity + id: ActionStandUp + name: Stand Up + description: Toggles all glove actions on left click. Includes your doorjack, draining power, stunning enemies, downloading research and calling in a threat. + noSpawn: true + components: + - type: InstantAction + priority: -13 + event: !type:StandUpActionEvent {} + +- type: entity + id: ActionLieDown + name: Lie Down + description: Toggles all glove actions on left click. Includes your doorjack, draining power, stunning enemies, downloading research and calling in a threat. + noSpawn: true + components: + - type: InstantAction + priority: -13 + event: !type:LieDownActionEvent {}