Skip to content
This repository has been archived by the owner on Nov 1, 2024. It is now read-only.

Commit

Permalink
Не фикс говна
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Rubinov committed Jun 19, 2024
1 parent 0621b60 commit 6198b86
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Content.Shared/LieDown/SharedLieDownSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@ private void SwitchActions(EntityUid uid)
{
_actions.AddAction(uid, ref standingComponent.LieDownActionEntity, standingComponent.LieDownAction);
_actions.RemoveAction(uid, standingComponent.StandUpActionEntity);
} }
}
}

/// <summary>
/// When interacting with a lying down person, add ability to make him stand up.
Expand Down
19 changes: 19 additions & 0 deletions Resources/Prototypes/Actions/liedown.yml
Original file line number Diff line number Diff line change
@@ -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 {}

0 comments on commit 6198b86

Please sign in to comment.