mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 18:31:17 +03:00
* Teleport scroll whitelist * Stupid * review review * Update dat_fukken_disk.yml * NinjaWhitelist * uuuupdate * Update station_beacon.yml * Update emergency_amber.yml * Update Resources/Prototypes/Entities/Markers/warp_point.yml Co-authored-by: Errant <35878406+Errant-4@users.noreply.github.com> * request * Revert tags * Apply suggestions from code review Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com> --------- Co-authored-by: Errant <35878406+Errant-4@users.noreply.github.com> Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
30 lines
958 B
C#
30 lines
958 B
C#
using Content.Server.Ninja.Systems;
|
|
using Content.Server.Objectives.Systems;
|
|
using Content.Shared.Whitelist;
|
|
|
|
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;
|
|
|
|
/// <summary>
|
|
/// Which points are in the list of valid bombing targets
|
|
/// </summary>
|
|
[DataField]
|
|
public EntityWhitelist? Whitelist;
|
|
|
|
/// <summary>
|
|
/// Which points are in the list of invalid bombing targets
|
|
/// </summary>
|
|
[DataField]
|
|
public EntityWhitelist? Blacklist;
|
|
}
|