* TryGetObjectiveComp * helper function to get objective * store N of jacked doors in condition * store called in threat bool in condition * store techs in steal research condition * fix access * remove unused transform system * use popup from shared system * fix formatting * condition => obj everywhere * i fogror to remove downloaded nodes from role * change signature * use query * View Variables * spider charge detonated => condition
18 lines
572 B
C#
18 lines
572 B
C#
using Content.Server.Objectives.Systems;
|
|
using Content.Shared.Ninja.Systems;
|
|
|
|
namespace Content.Server.Objectives.Components;
|
|
|
|
/// <summary>
|
|
/// Requires that the player is a ninja and has called in a threat.
|
|
/// </summary>
|
|
[RegisterComponent, Access(typeof(NinjaConditionsSystem), typeof(SharedSpaceNinjaSystem))]
|
|
public sealed partial class TerrorConditionComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// Whether the comms console has been hacked
|
|
/// </summary>
|
|
[DataField("calledInThreat"), ViewVariables(VVAccess.ReadWrite)]
|
|
public bool CalledInThreat;
|
|
}
|