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:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user