Banana Clown Outfit (#22068)

* Banana Clown Outfit

* Update SkatesComponent.cs
This commit is contained in:
brainfood1183
2023-12-04 23:12:02 +00:00
committed by GitHub
parent 50113da441
commit 63bc4bf6b1
27 changed files with 316 additions and 7 deletions

View File

@@ -11,45 +11,47 @@ public sealed partial class SkatesComponent : Component
/// <summary>
/// the levels of friction the wearer is subected to, higher the number the more friction.
/// </summary>
[ViewVariables(VVAccess.ReadWrite)]
[DataField, ViewVariables(VVAccess.ReadWrite)]
public float Friction = 2.5f;
/// <summary>
/// Determines the turning ability of the wearer, Higher the number the less control of their turning ability.
/// </summary>
[ViewVariables(VVAccess.ReadWrite)]
[DataField, ViewVariables(VVAccess.ReadWrite)]
public float? FrictionNoInput = 2.5f;
/// <summary>
/// Sets the speed in which the wearer accelerates to full speed, higher the number the quicker the acceleration.
/// </summary>
[ViewVariables(VVAccess.ReadWrite)]
[DataField, ViewVariables(VVAccess.ReadWrite)]
public float Acceleration = 5f;
/// <summary>
/// The minimum speed the wearer needs to be traveling to take damage from collision.
/// </summary>
[ViewVariables(VVAccess.ReadWrite)]
[DataField, ViewVariables(VVAccess.ReadWrite)]
public float MinimumSpeed = 3f;
/// <summary>
/// The length of time the wearer is stunned for on collision.
/// </summary>
[ViewVariables(VVAccess.ReadWrite)]
[DataField, ViewVariables(VVAccess.ReadWrite)]
public float StunSeconds = 3f;
/// <summary>
/// The time duration before another collision can take place.
/// </summary>
[ViewVariables(VVAccess.ReadWrite)]
[DataField, ViewVariables(VVAccess.ReadWrite)]
public float DamageCooldown = 2f;
/// <summary>
/// The damage per increment of speed on collision.
/// </summary>
[ViewVariables(VVAccess.ReadWrite)]
[DataField, ViewVariables(VVAccess.ReadWrite)]
public float SpeedDamage = 1f;
/// <summary>
/// Defaults for MinimumSpeed, StunSeconds, DamageCooldown and SpeedDamage.
/// </summary>