Ice anomaly spawns ice underneath it (#21227)
* 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>
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user