Files
tbd-station-14/Content.Server/StationEvents/Events/RevenantSpawn.cs
Nemanja 3c3ee60dd2 Revenant 2: Electric Boogaloo (#11510)
* revenant 2: electric boogaloo

* revevent

* oversights

* Update RevenantSystem.Abilities.cs

* names

* no shoote stouhg walls
2022-09-28 21:30:48 -05:00

19 lines
521 B
C#

namespace Content.Server.StationEvents.Events;
public sealed class RevenantSpawn : StationEventSystem
{
public override string Prototype => "RevenantSpawn";
private static readonly string RevenantPrototype = "MobRevenant";
public override void Started()
{
base.Started();
if (TryFindRandomTile(out _, out _, out _, out var coords))
{
Sawmill.Info($"Spawning revenant at {coords}");
EntityManager.SpawnEntity(RevenantPrototype, coords);
}
}
}