Make the station start with random broken wiring (#26695)

Random wire cutting on round start
This commit is contained in:
Tayrtahn
2024-04-04 02:28:09 -04:00
committed by GitHub
parent 705f029424
commit a1a12194a5
6 changed files with 125 additions and 0 deletions

View 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
{
}