#W# Region work and some Teleporters

This commit is contained in:
WarrentyExpired 2026-07-08 11:32:47 -04:00
parent 926cc4e0f3
commit b58a91e216
4 changed files with 33 additions and 19 deletions

View file

@ -496,7 +496,7 @@
<region type="GraveRegion" priority="91" name="Island Cemetery" mapId="80">
<rect x="2170" y="2091" width="38" height="31" />
</region>
// -------------------------------- Islands ------------------------------------------
// -------------------------------- MISC ---------------------------------------------
<region type="PirateRegion" priority="91" name="Plunderer's Port" mapId="83">
<rect x="6499" y="2272" width="190" height="202" />
@ -518,49 +518,49 @@
<rect x="3854" y="1848" width="10" height="16" />
</region>
<region type="DangerRegion" priority="91" name="Goblin Keep" mapId="82">
<rect x="2188" y="801" width="43" height="35" />
<rect x="1940" y="1260" width="23" height="23" />
</region>
<region type="DangerRegion" priority="91" name="Orc Fort" mapId="79">
<region type="DangerRegion" priority="91" name="Orc Island Fort" mapId="79">
<rect x="2320" y="3400" width="40" height="16" />
<rect x="2319" y="3416" width="56" height="23" />
<rect x="2335" y="3439" width="32" height="8" />
<rect x="2343" y="3447" width="24" height="8" />
</region>
<region type="DangerRegion" priority="91" name="Orc Fort" mapId="67">
<region type="DangerRegion" priority="91" name="Orc North Fort" mapId="67">
<rect x="2188" y="801" width="43" height="35" />
</region>
<region type="DangerRegion" priority="91" name="Hobgoblin Camp" mapId="60">
<rect x="1225" y="1049" width="26" height="25" />
</region>
<region type="DangerRegion" priority="91" name="Brigand Stronghold" mapId="59">
<region type="DangerRegion" priority="91" name="Brigand West Camp" mapId="59">
<rect x="1148" y="1160" width="34" height="30" />
</region>
<region type="DangerRegion" priority="91" name="Brigand Stronghold" mapId="66">
<region type="DangerRegion" priority="91" name="Brigand Central Camp" mapId="66">
<rect x="3060" y="1104" width="35" height="31" />
</region>
<region type="DangerRegion" priority="91" name="Savage Camp" mapId="63">
<region type="DangerRegion" priority="91" name="Savage North Huts" mapId="63">
<rect x="5632" y="615" width="33" height="24" />
</region>
<region type="DangerRegion" priority="91" name="Large Savage Camp" mapId="64">
<region type="DangerRegion" priority="91" name="Savage Central Huts" mapId="64">
<rect x="5725" y="1255" width="98" height="81" />
</region>
<region type="DangerRegion" priority="91" name="Savage Camp" mapId="73">
<region type="DangerRegion" priority="91" name="Savage South Huts" mapId="73">
<rect x="6355" y="1734" width="63" height="19" />
</region>
<region type="DangerRegion" priority="91" name="Hobgoblin Fort" mapId="72">
<rect x="5735" y="1862" width="22" height="17" />
<rect x="5743" y="1859" width="7" height="6" />
</region>
<region type="DangerRegion" priority="91" name="Brigand Stronghold" mapId="70">
<region type="DangerRegion" priority="91" name="Brigand Island Camp" mapId="70">
<rect x="4235" y="1707" width="18" height="26" />
</region>
<region type="DangerRegion" priority="91" name="Brigand Stronghold" mapId="75">
<region type="DangerRegion" priority="91" name="Brigand South Camp" mapId="75">
<rect x="2060" y="2888" width="35" height="31" />
</region>
<region type="DangerRegion" priority="91" name="Ratman Fort" mapId="77">
<region type="DangerRegion" priority="91" name="Ratman South Fort" mapId="77">
<rect x="1594" y="2783" width="15" height="16" />
</region>
<region type="DangerRegion" priority="91" name="Ratman Fort" mapId="69">
<region type="DangerRegion" priority="91" name="Ratman Central Fort" mapId="69">
<rect x="1279" y="2246" width="23" height="18" />
</region>
// -------------------------------- FARMS --------------------------------------------
@ -822,7 +822,7 @@
<object id="45" type="FarmableCabbage" minSpawnTime="PT600S" maxSpawnTime="PT900S" amount="30" />
</spawning>
</region>
<region type="GardenRegion" priority="95" name="Brit 9 Garden">
<region type="GardenRegion" priority="95" name="Brit 9 Garden">
<rect x="1914" y="1479" width="33" height="6" />
<spawning>
<object id="46" type="FarmableCarrot" minSpawnTime="PT600S" maxSpawnTime="PT900S" amount="30" />
@ -1017,7 +1017,7 @@
// *** END ************************************************************************************************************************************************************************
</Facet>
<Facet name="Underworld">
// -------------------------------- DUNGEONS --------------------------------------------
// -------------------------------- Classic DUNGEONS --------------------------------------------
<region type="DungeonRegion" priority="50" name="Dungeon Covetous" mapId="18">
<rect x="999" y="1202" width="159" height="143" />
<rect x="820" y="1416" width="277" height="123" />
@ -1045,7 +1045,10 @@
<rect x="981" y="506" width="104" height="124" />
<rect x="963" y="687" width="103" height="108" />
<rect x="886" y="839" width="285" height="278" />
</region>
</region>
<region type="DungeonRegion" priorit="50" name="Dungeon Wrong" mapId="17">
<rect x="461" y="731" width="343" height="216" />
</region>
// -------------------------------- MAZES -----------------------------------------------
<region type="DungeonRegion" priority="50" name="the Caverns of Ice">
<rect x="78" y="422" width="236" height="142" />

View file

@ -10,7 +10,7 @@ Teleporter 7107 (PointDest=(115, 2407, 0); MapDest=Underworld; Creatures=False;
4193 1303 0
Teleporter 7107 (PointDest=(116, 2407, 0); MapDest=Underworld; Creatures=False; SourceEffect=False; DestEffect=False; SoundID=0; Delay=00:00:00)
4194, 1403 0
4194 1303 0
### Caverns of Ice
Teleporter 7107 (PointDest=(302, 538, 0); MapDest=Underworld; Creatures=False; SourceEffect=False; DestEffect=False; SoundID=0; Delay=00:00:00)

View file

@ -0,0 +1,6 @@
#Exit
Teleporter 7107 (PointDest=(4193, 1303, 0); MapDest=Britannia; Creatures=False; SourceEffect=False; DestEffect=False; SoundID=0; Delay=00:00:00)
115 2407 0
Teleporter 7107 (PointDest=(4194, 1303, 0); MapDest=Britannia; Creatures=False; SourceEffect=False; DestEffect=False; SoundID=0; Delay=00:00:00)
116 2407 0

View file

@ -137,8 +137,13 @@ namespace Server.Regions
}
if ( m is PlayerMobile && m_MapID > 0 )
{
Server.Misc.MapFunctions.AddLocations( m, m_MapID );
m.SendMessage( "You have discovered a new location!" );
PlayerMobile pm = (PlayerMobile)m;
Server.Misc.MapFunctions.SetLocations( pm );
if ( !Server.Misc.MapFunctions.HasLocation( pm, m_MapID ) )
{
Server.Misc.MapFunctions.AddLocations( m, m_MapID );
m.SendMessage( "You have discovered a new location!" );
}
}
}