mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 18:31:17 +03:00
* giant protoid cleanup * yml changes * ! --------- Co-authored-by: deltanedas <@deltanedas:goida.zip>
29 lines
717 B
C#
29 lines
717 B
C#
using Robust.Shared.GameStates;
|
|
using Robust.Shared.Prototypes;
|
|
|
|
namespace Content.Shared.Movement.Components;
|
|
|
|
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
|
|
public sealed partial class JetpackComponent : Component
|
|
{
|
|
[DataField, AutoNetworkedField]
|
|
public EntityUid? JetpackUser;
|
|
|
|
[DataField]
|
|
public float MoleUsage = 0.012f;
|
|
|
|
[DataField]
|
|
public EntProtoId ToggleAction = "ActionToggleJetpack";
|
|
|
|
[DataField, AutoNetworkedField]
|
|
public EntityUid? ToggleActionEntity;
|
|
|
|
[DataField]
|
|
public float Acceleration = 1f;
|
|
|
|
[DataField]
|
|
public float Friction = 0.25f; // same as off-grid friction
|
|
|
|
[DataField]
|
|
public float WeightlessModifier = 1.2f;
|
|
}
|