* Better jetpack emitter Still need particles this just tilts me whenever I see it. * Update Resources/Prototypes/Entities/Objects/Tools/jetpacks.yml Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com> --------- Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
20 lines
504 B
C#
20 lines
504 B
C#
using Robust.Shared.GameStates;
|
|
using Robust.Shared.Map;
|
|
|
|
namespace Content.Shared.Movement.Components;
|
|
|
|
/// <summary>
|
|
/// Added to an enabled jetpack. Tracks gas usage on server / effect spawning on client.
|
|
/// </summary>
|
|
[RegisterComponent, NetworkedComponent]
|
|
public sealed partial class ActiveJetpackComponent : Component
|
|
{
|
|
public float EffectCooldown = 0.3f;
|
|
|
|
public float MaxDistance = 0.7f;
|
|
|
|
public EntityCoordinates LastCoordinates;
|
|
|
|
public TimeSpan TargetTime = TimeSpan.Zero;
|
|
}
|