mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 10:21:18 +03:00
* giant protoid cleanup * yml changes * ! --------- Co-authored-by: deltanedas <@deltanedas:goida.zip>
37 lines
956 B
C#
37 lines
956 B
C#
using Robust.Shared.Prototypes;
|
|
|
|
namespace Content.Server.Anomaly.Components;
|
|
|
|
[RegisterComponent]
|
|
public sealed partial class ProjectileAnomalyComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// The prototype of the projectile that will be shot when the anomaly pulses
|
|
/// </summary>
|
|
[DataField(required: true)]
|
|
public EntProtoId ProjectilePrototype;
|
|
|
|
/// <summary>
|
|
/// The speed <see cref="ProjectilePrototype"/> can travel
|
|
/// </summary>
|
|
[DataField]
|
|
public float ProjectileSpeed = 30f;
|
|
|
|
/// <summary>
|
|
/// The minimum number of projectiles shot per pulse
|
|
/// </summary>
|
|
[DataField]
|
|
public int MinProjectiles = 2;
|
|
|
|
/// <summary>
|
|
/// The MAXIMUM number of projectiles shot per pulse
|
|
/// </summary>
|
|
[DataField]
|
|
public int MaxProjectiles = 9;
|
|
|
|
/// <summary>
|
|
/// The MAXIMUM range for targeting entities
|
|
/// </summary>
|
|
[DataField]
|
|
public float ProjectileRange = 50f;
|
|
}
|