2023-10-10 09:32:10 +03:00
|
|
|
using Content.Server.Ninja.Systems;
|
2023-09-16 07:18:10 +01:00
|
|
|
using Content.Server.Objectives.Systems;
|
|
|
|
|
|
|
|
|
|
namespace Content.Server.Objectives.Components;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Requires that the player is a ninja and blew up their spider charge at its target location.
|
|
|
|
|
/// </summary>
|
2024-01-29 07:06:32 +03:00
|
|
|
[RegisterComponent, Access(typeof(NinjaConditionsSystem), typeof(SpiderChargeSystem), typeof(SpaceNinjaSystem))]
|
2023-09-16 07:18:10 +01:00
|
|
|
public sealed partial class SpiderChargeConditionComponent : Component
|
|
|
|
|
{
|
2024-01-29 07:06:32 +03:00
|
|
|
[DataField, ViewVariables(VVAccess.ReadWrite)]
|
|
|
|
|
public bool Detonated;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Warp point that the spider charge has to target
|
|
|
|
|
/// </summary>
|
|
|
|
|
[DataField, ViewVariables(VVAccess.ReadWrite)]
|
|
|
|
|
public EntityUid? Target;
|
2023-09-16 07:18:10 +01:00
|
|
|
}
|