mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-17 05:27:38 +03:00
# 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 :trollface: **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 🆑 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. (cherry picked from commit 89354922a0f6fb55111e0ce2b4b19e5f6d6ea0e2)
38 lines
1.2 KiB
C#
38 lines
1.2 KiB
C#
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;
|
|
}
|