Split part of IonStormRule into IonStormSystem. Added StartIonStormed which also uses IonStormSystem. Added StartIonStormedComponent. Changed stuff related to the Derelict Cyborg. Derelict Cyborg now spawns with a randomized lawset.

This commit is contained in:
The Canned One
2024-09-29 19:01:59 +02:00
parent 964ef33fc7
commit bad25e3397
8 changed files with 355 additions and 271 deletions

View File

@@ -0,0 +1,17 @@
using Content.Shared.Random;
using Robust.Shared.Prototypes;
namespace Content.Shared.Silicons.Laws.Components;
/// <summary>
/// Runs the IonStormSystem on an entity IonStormAmount times.
/// </summary>
[RegisterComponent]
public sealed partial class StartIonStormedComponent : Component
{
/// <summary>
/// Amount of times that the ion storm will be run on the entity on spawn.
/// </summary>
[DataField]
public int IonStormAmount = 1;
}