Trigger Refactor (#39034)
This commit is contained in:
@@ -10,11 +10,21 @@ namespace Content.Shared.Ninja.Components;
|
||||
[RegisterComponent, NetworkedComponent, Access(typeof(SharedSpiderChargeSystem))]
|
||||
public sealed partial class SpiderChargeComponent : Component
|
||||
{
|
||||
/// Range for planting within the target area
|
||||
/// <summary>
|
||||
/// Range for planting within the target area.
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public float Range = 10f;
|
||||
|
||||
/// The ninja that planted this charge
|
||||
/// <summary>
|
||||
/// The ninja that planted this charge.
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public EntityUid? Planter;
|
||||
|
||||
/// <summary>
|
||||
/// The trigger that will mark the objective as successful.
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public string TriggerKey = "timer";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user