Make the station start with random broken wiring (#26695)
Random wire cutting on round start
This commit is contained in:
10
Content.Server/Wires/CutWireOnMapInitComponent.cs
Normal file
10
Content.Server/Wires/CutWireOnMapInitComponent.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
namespace Content.Server.Wires;
|
||||
|
||||
/// <summary>
|
||||
/// Picks a random wire on the entity's <see cref="WireComponent"/> and cuts it.
|
||||
/// Runs at MapInit and removes itself afterwards.
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
public sealed partial class CutWireOnMapInitComponent : Component
|
||||
{
|
||||
}
|
||||
Reference in New Issue
Block a user