* 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
16 lines
598 B
C#
16 lines
598 B
C#
using Content.Server.Objectives.Systems;
|
|
using Content.Shared.Ninja.Systems;
|
|
|
|
namespace Content.Server.Objectives.Components;
|
|
|
|
/// <summary>
|
|
/// Objective condition that requires the player to be a ninja and have doorjacked at least a random number of airlocks.
|
|
/// Requires <see cref="NumberObjectiveComponent"/> to function.
|
|
/// </summary>
|
|
[RegisterComponent, Access(typeof(NinjaConditionsSystem), typeof(SharedSpaceNinjaSystem))]
|
|
public sealed partial class DoorjackConditionComponent : Component
|
|
{
|
|
[DataField("doorsJacked"), ViewVariables(VVAccess.ReadWrite)]
|
|
public int DoorsJacked;
|
|
}
|