From cd1ade9c62130d10ce7e3ea1a8d0e48f6738de97 Mon Sep 17 00:00:00 2001 From: WarrentyExpired Date: Thu, 13 Aug 2026 14:42:47 -0400 Subject: [PATCH] #W# Region work continues. --- Data/Config/Regions.xml | 123 ++++++++++-------- .../Spawner/DynamicSpawner/SpawnRef.cs | 5 +- Scripts/Regions/DungeonRegion.cs | 2 +- Scripts/Regions/TownRegion.cs | 2 +- 4 files changed, 77 insertions(+), 55 deletions(-) diff --git a/Data/Config/Regions.xml b/Data/Config/Regions.xml index 1ed3302..f96c9f1 100644 --- a/Data/Config/Regions.xml +++ b/Data/Config/Regions.xml @@ -13,173 +13,194 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + - + - + - + - + - + - + - + - + - + - + - + - + + + + + + + + + + + + + + + p + + + + diff --git a/Scripts/Engines/Spawner/DynamicSpawner/SpawnRef.cs b/Scripts/Engines/Spawner/DynamicSpawner/SpawnRef.cs index 9874c01..a9f7b02 100644 --- a/Scripts/Engines/Spawner/DynamicSpawner/SpawnRef.cs +++ b/Scripts/Engines/Spawner/DynamicSpawner/SpawnRef.cs @@ -65,8 +65,9 @@ namespace Server.Items // --- REGION SAFETY CHECK --- Region reg = Region.Find( savedLocation, savedMap ); - if ( reg is Server.Regions.TownRegion || - reg is Server.Regions.GuardedRegion || + if ( reg is Server.Regions.TownRegion || + reg is Server.Regions.GuardedRegion || + reg is Server.Regions.DungeonRegion || reg is Server.Regions.HouseRegion ) { this.Delete(); diff --git a/Scripts/Regions/DungeonRegion.cs b/Scripts/Regions/DungeonRegion.cs index 41205bb..439cc71 100644 --- a/Scripts/Regions/DungeonRegion.cs +++ b/Scripts/Regions/DungeonRegion.cs @@ -50,7 +50,7 @@ namespace Server.Regions base.OnEnter( m ); if ( m != null && m.Player ) { - m.SendMessage( "You have entered the {0}", this.Name); + m.SendMessage( "You have entered {0}", this.Name); Timer.DelayCall( TimeSpan.FromMilliseconds( 100 ), delegate() { if ( m != null && m.Alive ) diff --git a/Scripts/Regions/TownRegion.cs b/Scripts/Regions/TownRegion.cs index 46c7e3e..0c4dd59 100644 --- a/Scripts/Regions/TownRegion.cs +++ b/Scripts/Regions/TownRegion.cs @@ -15,7 +15,7 @@ namespace Server.Regions base.OnEnter( m ); if (m != null && m.Player ) { - m.SendMessage( "Welcom to {0}", this.Name ); + m.SendMessage( "You have entered {0}", this.Name ); } } public override void OnExit( Mobile m )