mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-17 13:37:47 +03:00
# Description **Parkour Training** is a 3-point Physical trait that increases your table climbing speed (and all other climbables), and crawling speed, and reduces the cooldown on laying down/standing up. Inspired by the SS13 trait called Freerunning, expanding on it by including new mechanics around the Laying Down system. Stats (Adjustable): - 30% faster table climbing speed - 25% faster crawling speed - Cooldown on laying down/standing up reduced from 2.5 seconds to 2 seconds ## Media  # Changelog 🆑 Skubman - add: Add Parkour Training, a 3-point trait that makes you faster with climbing tables and crawling. --------- Signed-off-by: Angelo Fallaria <ba.fallaria@gmail.com>
17 lines
490 B
C#
17 lines
490 B
C#
using Robust.Shared.GameStates;
|
|
|
|
namespace Content.Shared.Traits.Assorted.Components;
|
|
|
|
/// <summary>
|
|
/// This is used for any trait that modifies climbing speed.
|
|
/// </summary>
|
|
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
|
|
public sealed partial class ClimbDelayModifierComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// What to multiply the climbing delay by.
|
|
/// </summary>
|
|
[DataField, AutoNetworkedField]
|
|
public float ClimbDelayMultiplier = 1f;
|
|
}
|