2024-07-11 05:55:56 +00:00
|
|
|
using Content.Shared.Ninja.Systems;
|
2023-09-10 07:20:27 +01:00
|
|
|
using Robust.Shared.GameStates;
|
|
|
|
|
|
|
|
|
|
namespace Content.Shared.Ninja.Components;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Component for the Space Ninja's unique Spider Charge.
|
|
|
|
|
/// Only this component detonating can trigger the ninja's objective.
|
|
|
|
|
/// </summary>
|
2024-07-11 05:55:56 +00:00
|
|
|
[RegisterComponent, NetworkedComponent, Access(typeof(SharedSpiderChargeSystem))]
|
2023-09-10 07:20:27 +01:00
|
|
|
public sealed partial class SpiderChargeComponent : Component
|
|
|
|
|
{
|
|
|
|
|
/// Range for planting within the target area
|
2024-07-11 05:55:56 +00:00
|
|
|
[DataField]
|
2023-09-10 07:20:27 +01:00
|
|
|
public float Range = 10f;
|
|
|
|
|
|
|
|
|
|
/// The ninja that planted this charge
|
2024-07-11 05:55:56 +00:00
|
|
|
[DataField]
|
|
|
|
|
public EntityUid? Planter;
|
2023-09-10 07:20:27 +01:00
|
|
|
}
|