forked from DeltaV-Station/Delta-v
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Parkour Training Rework (DeltaV-Station#1432)
# Description Parkour Training, Sluggish and Snail-Paced have been reworked to be more impactful in everyday space life. A new trait has been added, Bad Knees. **Parkour Training** (-5 points) - No longer modifies laying down - Climbing speed bonus reduced from 65% to 50% - 30% shorter slip stuns - 50% resistance against slows in difficult terrain - Example: Spider webs inflict a 50% slow, reduced by 50% results in a 25% slow. Notably, the reworked Parkour Training is much closer to the CDDA trait [Parkour Expert](https://cddawiki.danmakudan.com/wiki/index.php/Parkour_Expert). Difficult terrain examples: Spider webs, slime/blood puddles, kudzu, space glue **(NEW)** **Bad Knees** (3 points) - Designed to be the opposite of Parkour Training - 50% climbing speed penalty - 40% longer slip stuns - 35% increased slows in difficult terrain - Example: Spider webs inflict a 50% slow, increased by 35% results in a 67.5% slow. Inspired by the CDDA trait of the same name [Bad Knees](https://cddawiki.danmakudan.com/wiki/index.php/Bad_Knees). The stun time for banana peels and puddles is 3 seconds. With Bad Knees, the stun is increased to 4.2 seconds. The time it takes to handcuff someone is 3.5 seconds. Go figure**Sluggish** (3 points) - No longer increases the time for laying down and climbing tables (given to Bad Knees instead) - Speed penalty increased from 15% to 16% **Snail-Paced** (5 points) - No longer increases the time for laying down and climbing tables - Speed penalty increased from 30% to 32% - No longer prevents you from slipping when running due to how slow your sprint speed is. Snail-Paced trait users must suffer. ## Media **Parkour Training**  **Bad Knees**  **Sluggish**  **Snail-Paced**  ## Changelog :cl: Skubman - tweak: The Parkour Training trait has been reworked. It no longer makes you lie down or get up faster, but grants you 30% shorter slip stuns and 50% resistance against slows in difficult terrain. - tweak: The Sluggish and Snail-Paced traits now only reduce your movement speed with no other effects. The speed reductions have been slightly increased from 15% to 16% for Sluggish, and 30% to 32% for Snail-Paced. - add: Added a new 3-point negative trait called Bad Knees. It is the opposite of Parkour Training and it makes you climb tables slower, stunned for longer against slip stuns, and move more slowly in difficult terrain. - tweak: Snail-Paced no longer prevents you from slipping when running.
- Loading branch information
1 parent
06be5d3
commit 8935492
Showing
9 changed files
with
152 additions
and
21 deletions.
There are no files selected for viewing
37 changes: 37 additions & 0 deletions
37
Content.Shared/Movement/Components/SpeedModifiedByContactModifierComponent.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,37 @@ | ||
using Content.Shared.Movement.Systems; | ||
using Robust.Shared.GameStates; | ||
|
||
namespace Content.Shared.Movement.Components; | ||
|
||
// <summary> | ||
// This is used to modify how much an entity is affected by speed modifier contacts. | ||
// </summary> | ||
[NetworkedComponent, RegisterComponent] | ||
[AutoGenerateComponentState] | ||
[Access(typeof(SpeedModifierContactsSystem))] | ||
public sealed partial class SpeedModifiedByContactModifierComponent : Component | ||
{ | ||
// <summary> | ||
// Numbers greater than 1 amplify the walk speed modifier, and lower numbers lessen the effect. | ||
// </summary> | ||
[DataField, AutoNetworkedField] | ||
public float WalkModifierEffectiveness = 1.0f; | ||
|
||
// <summary> | ||
// Numbers greater than 1 amplify the sprint speed modifier, and lower numbers lessen the effect. | ||
// </summary> | ||
[DataField, AutoNetworkedField] | ||
public float SprintModifierEffectiveness = 1.0f; | ||
|
||
// <summary> | ||
// The minimum walk speed multiplier. | ||
// </summary> | ||
[DataField, AutoNetworkedField] | ||
public float MinWalkMultiplier = 0.1f; | ||
|
||
// <summary> | ||
// The minimum sprint speed multiplier. | ||
// </summary> | ||
[DataField, AutoNetworkedField] | ||
public float MinSprintMultiplier = 0.1f; | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
using Robust.Shared.GameStates; | ||
namespace Content.Shared.Slippery; | ||
|
||
/// <summary> | ||
/// Modifies the duration of slip paralysis on an entity. | ||
/// </summary> | ||
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState] | ||
public sealed partial class SlippableModifierComponent : Component | ||
{ | ||
/// <summary> | ||
/// What to multiply the paralyze time by. | ||
/// </summary> | ||
[DataField, AutoNetworkedField] | ||
public float ParalyzeTimeMultiplier = 1f; | ||
} |
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
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