Revenant 2: Electric Boogaloo (#11510)
* revenant 2: electric boogaloo * revevent * oversights * Update RevenantSystem.Abilities.cs * names * no shoote stouhg walls
This commit is contained in:
18
Content.Server/StationEvents/Events/RevenantSpawn.cs
Normal file
18
Content.Server/StationEvents/Events/RevenantSpawn.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user