forked from Simple-Station/Einstein-Engines
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(traits): add new traits Vigor and Lethargy
- Loading branch information
1 parent
2fbece4
commit 5d5f6b2
Showing
4 changed files
with
74 additions
and
2 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
Content.Shared/Traits/Assorted/Components/StaminaCritModifierComponent.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,16 @@ | ||
using Robust.Shared.GameStates; | ||
|
||
namespace Content.Shared.Traits.Assorted.Components; | ||
|
||
/// <summary> | ||
/// This is used for any trait that modifies stamina CritThreshold | ||
/// </summary> | ||
[RegisterComponent, NetworkedComponent] | ||
public sealed partial class StaminaCritModifierComponent : Component | ||
{ | ||
/// <summary> | ||
/// The amount that an entity's stamina critical threshold will be incremented by. | ||
/// </summary> | ||
[DataField] | ||
public int CritThresholdModifier { get; private set; } = 0; | ||
} |
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
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