fix(doom): Adds RemGauntlet (#591)

- [X] Adds a `RemGauntlet` command.
- [X] Makes `GenGauntlet` remove before adding.
- [X] Organizes the Doom files.

Closes #586
This commit is contained in:
Kamron Batman 2021-05-09 09:40:23 -07:00 • committed by GitHub
parent 7819830628
commit 0afdc075cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 348 additions and 248 deletions

View file

@ -0,0 +1,32 @@
using Server.Regions;
namespace Server.Engines.Doom
{
public class GauntletRegion : BaseRegion
{
private GauntletSpawner m_Spawner;
public GauntletRegion(GauntletSpawner spawner, Map map)
: base(null, map, Find(spawner.Location, spawner.Map), spawner.RegionBounds)
{
m_Spawner = spawner;
GoLocation = spawner.Location;
Register();
}
public override void AlterLightLevel(Mobile m, ref int global, ref int personal)
{
global = 12;
}
public override void OnEnter(Mobile m)
{
}
public override void OnExit(Mobile m)
{
}
}
}