* added TileAnomalySystem to AnomalyIce * added FloorIce for station * created ice crust entity to spawn under ice anomaly * update draw depth for ice crust * uh oh, added ice-sliding but at what cost * resolved mispredicts * updated sprite alpha, removed appearance component (not used) * fixed function not reflecting event name, left datafield attributes blank, added one comment about saving data (?) --------- Co-authored-by: Yurii Kis <yurii.kis@smartteksas.com>
32 lines
976 B
C#
32 lines
976 B
C#
using Content.Shared.Movement.Systems;
|
|
using Robust.Shared.GameStates;
|
|
|
|
namespace Content.Shared.Movement.Components;
|
|
|
|
[NetworkedComponent, RegisterComponent]
|
|
[AutoGenerateComponentState]
|
|
[Access(typeof(FrictionContactsSystem))]
|
|
public sealed partial class FrictionContactsComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// Modified mob friction while on FrictionContactsComponent
|
|
/// </summary>
|
|
[DataField, ViewVariables(VVAccess.ReadWrite)]
|
|
[AutoNetworkedField]
|
|
public float MobFriction = 0.5f;
|
|
|
|
/// <summary>
|
|
/// Modified mob friction without input while on FrictionContactsComponent
|
|
/// </summary>
|
|
[AutoNetworkedField]
|
|
[DataField, ViewVariables(VVAccess.ReadWrite)]
|
|
public float MobFrictionNoInput = 0.05f;
|
|
|
|
/// <summary>
|
|
/// Modified mob acceleration while on FrictionContactsComponent
|
|
/// </summary>
|
|
[AutoNetworkedField]
|
|
[DataField, ViewVariables(VVAccess.ReadWrite)]
|
|
public float MobAcceleration = 2.0f;
|
|
}
|