Refactor thrusters (#15698)

This commit is contained in:
metalgearsloth
2023-04-29 18:17:31 +10:00
committed by GitHub
parent b27f33fb1f
commit 1515a3faff
5 changed files with 105 additions and 121 deletions

View File

@@ -46,10 +46,10 @@ namespace Content.Server.Shuttles.Components
// Need to serialize this because RefreshParts isn't called on Init and this will break post-mapinit maps!
[ViewVariables(VVAccess.ReadWrite), DataField("thrust")]
public float Thrust;
public float Thrust = 100f;
[DataField("baseThrust"), ViewVariables(VVAccess.ReadWrite)]
public float BaseThrust = 750f;
public float BaseThrust = 100f;
[DataField("thrusterType")]
public ThrusterType Type = ThrusterType.Linear;