* more humour * spotted a troll * add TryFindObjective to MindSystem * replace copypaste bool conditions with CodeCondition * use CodeConditionSystem in ninja + add handling for criminal hack * add criminal records hacking * update objectives * :trollface: --------- Co-authored-by: deltanedas <@deltanedas:kde.org>
18 lines
614 B
C#
18 lines
614 B
C#
using Content.Server.Ninja.Systems;
|
|
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>
|
|
[RegisterComponent, Access(typeof(NinjaConditionsSystem), typeof(SpiderChargeSystem), typeof(SpaceNinjaSystem))]
|
|
public sealed partial class SpiderChargeConditionComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// Warp point that the spider charge has to target
|
|
/// </summary>
|
|
[DataField, ViewVariables(VVAccess.ReadWrite)]
|
|
public EntityUid? Target;
|
|
}
|