#W# Lots of region work. Also got the [map command to populate on discovery.
This commit is contained in:
parent
5e66f00c8c
commit
926cc4e0f3
3 changed files with 192 additions and 124 deletions
|
|
@ -2,7 +2,7 @@
|
|||
<ServerRegions>
|
||||
<Facet name="Britannia">
|
||||
// -------------------------------- TOWNS --------------------------------------------
|
||||
<region type="TownRegion" priority="90" name="the town of Britain">
|
||||
<region type="TownRegion" priority="90" name="the town of Britain" mapId="1">
|
||||
<rect x="1546" y="1430" width="58" height="94" />
|
||||
<rect x="1487" y="1583" width="56" height="52" />
|
||||
<rect x="1606" y="1722" width="65" height="49" />
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
<rect x="2090" y="1517" width="165" height="139" />
|
||||
<rect x="1971" y="1665" width="21" height="34" />
|
||||
</region>
|
||||
<region type="TownRegion" priority="90" name="the town of Bucs Den">
|
||||
<region type="TownRegion" priority="90" name="the town of Bucs Den" mapId="9">
|
||||
<rect x="2613" y="2079" width="94" height="202" />
|
||||
<rect x="2700" y="2175" width="75" height="90" />
|
||||
<rect x="2568" y="2141" width="49" height="87" />
|
||||
|
|
@ -29,18 +29,18 @@
|
|||
<rect x="2682" y="1442" width="71" height="28" />
|
||||
<rect x="2686" y="1466" width="88" height="64" />
|
||||
</region>
|
||||
<region type="TownRegion" priority="90" name="the town of Jhelom">
|
||||
<region type="TownRegion" priority="90" name="the town of Jhelom" mapId="6">
|
||||
<rect x="975" y="3093" width="177" height="125" />
|
||||
<rect x="1006" y="3214" width="133" height="41" />
|
||||
</region>
|
||||
<region type="TownRegion" priority="90" name="the town of Magincia">
|
||||
<region type="TownRegion" priority="90" name="the town of Magincia" mapId="10">
|
||||
<rect x="3372" y="2387" width="119" height="42" />
|
||||
<rect x="3406" y="2427" width="66" height="27" />
|
||||
<rect x="3260" y="2424" width="150" height="42" />
|
||||
<rect x="3287" y="2457" width="127" height="70" />
|
||||
<rect x="3411" y="2487" width="68" height="26" />
|
||||
</region>
|
||||
<region type="TownRegion" priority="90" name="the town of Minoc">
|
||||
<region type="TownRegion" priority="90" name="the town of Minoc" mapId="4">
|
||||
<rect x="2902" y="585" width="22" height="8" />
|
||||
<rect x="2898" y="577" width="36" height="11" />
|
||||
<rect x="2948" y="557" width="43" height="38" />
|
||||
|
|
@ -50,7 +50,7 @@
|
|||
<rect x="2858" y="557" width="75" height="22" />
|
||||
<rect x="2915" y="557" width="53" height="23" />
|
||||
</region>
|
||||
<region type="TownRegion" priority="90" name="the town of Moonglow">
|
||||
<region type="TownRegion" priority="90" name="the town of Moonglow" mapId="11">
|
||||
<rect x="4060" y="1957" width="52" height="112" />
|
||||
<rect x="4106" y="1902" width="35" height="169" />
|
||||
<rect x="4134" y="1966" width="67" height="32" />
|
||||
|
|
@ -58,7 +58,7 @@
|
|||
<rect x="4222" y="1985" width="69" height="26" />
|
||||
<rect x="4287" y="1943" width="77" height="92" />
|
||||
</region>
|
||||
<region type="TownRegion" priority="90" name="the town of Paws">
|
||||
<region type="TownRegion" priority="90" name="the town of Paws" mapId="8">
|
||||
<rect x="1936" y="2018" width="28" height="88" />
|
||||
<rect x="1994" y="2012" width="58" height="132" />
|
||||
<rect x="1961" y="2043" width="36" height="84" />
|
||||
|
|
@ -66,22 +66,22 @@
|
|||
<rect x="2048" y="2089" width="33" height="36" />
|
||||
<rect x="1975" y="2233" width="55" height="58" />
|
||||
</region>
|
||||
<region type="TownRegion" priority="90" name="the town of Skara Brae">
|
||||
<region type="TownRegion" priority="90" name="the town of Skara Brae" mapId="5">
|
||||
<rect x="611" y="1767" width="66" height="28" />
|
||||
<rect x="565" y="1824" width="50" height="50" />
|
||||
<rect x="613" y="1789" width="117" height="132" />
|
||||
<rect x="727" y="1819" width="73" height="68" />
|
||||
</region>
|
||||
<region type="TownRegion" priority="90" name="the town of Trinsic">
|
||||
<region type="TownRegion" priority="90" name="the town of Trinsic" mapId="7">
|
||||
<rect x="1941" y="2539" width="143" height="180" />
|
||||
<rect x="2081" y="2588" width="46" height="86" />
|
||||
</region>
|
||||
<region type="TownRegion" priority="90" name="the town of Yew">
|
||||
<region type="TownRegion" priority="90" name="the town of Yew" mapId="2">
|
||||
<rect x="1361" y="929" width="43" height="56" />
|
||||
<rect x="1454" y="831" width="96" height="107" />
|
||||
<rect x="1535" y="761" width="65" height="154" />
|
||||
</region>
|
||||
<region type="TownRegion" priority="90" name="the Lyceum Outskirts">
|
||||
<region type="TownRegion" priority="90" name="the Lyceum Outskirts" mapId="12">
|
||||
<rect x="3840" y="1599" width="50" height="67" />
|
||||
</region>
|
||||
// -------------------------------- OUTSKIRTS ----------------------------------------
|
||||
|
|
@ -374,7 +374,7 @@
|
|||
<rect x="773" y="1829" width="7" height="4" />
|
||||
<rect x="775" y="1890" width="10" height="10" />
|
||||
</region>
|
||||
<region type="BuildingRegion" priority="91" name="Prison">
|
||||
<region type="BuildingRegion" priority="91" name="Prison" mapId="3">
|
||||
<rect x="978" y="985" width="11" height="12" />
|
||||
<rect x="978" y="943" width="11" height="12" />
|
||||
<rect x="1016" y="943" width="11" height="12" />
|
||||
|
|
@ -383,7 +383,7 @@
|
|||
<rect x="989" y="947" width="27" height="46" />
|
||||
<rect x="1000" y="993" width="5" height="2" />
|
||||
</region>
|
||||
<region type="BuildingRegion" priority="91" name="Zoo">
|
||||
<region type="BuildingRegion" priority="91" name="Zoo" mapId="13">
|
||||
<rect x="4023" y="1657" width="37" height="36" />
|
||||
<rect x="4060" y="1686" width="12" height="10" />
|
||||
<rect x="4058" y="1657" width="14" height="32" />
|
||||
|
|
@ -467,38 +467,38 @@
|
|||
<rect x="1760" y="1420" width="55" height="50" />
|
||||
<rect x="1760" y="1467" width="40" height="20" />
|
||||
</region>
|
||||
<region type="GraveRegion" priority="91" name="Jhelom Cemetery">
|
||||
<region type="GraveRegion" priority="91" name="Jhelom Cemetery" mapId="78">
|
||||
<rect x="975" y="3014" width="32" height="22" />
|
||||
</region>
|
||||
<region type="GraveRegion" priority="91" name="Magincia Cemetery">
|
||||
<region type="GraveRegion" priority="91" name="Magincia Cemetery" mapId="74">
|
||||
<rect x="3501" y="2344" width="35" height="39" />
|
||||
</region>
|
||||
<region type="GraveRegion" priority="91" name="Minoc Cemetery">
|
||||
<region type="GraveRegion" priority="91" name="Minoc Cemetery" mapId="62">
|
||||
<rect x="2648" y="504" width="22" height="22" />
|
||||
<rect x="2640" y="521" width="30" height="23" />
|
||||
</region>
|
||||
<region type="GraveRegion" priority="91" name="Moonglow Cemetery">
|
||||
<region type="GraveRegion" priority="91" name="Moonglow Cemetery" mapId="71">
|
||||
<rect x="4000" y="1853" width="29" height="42" />
|
||||
<rect x="4021" y="1866" width="11" height="29" />
|
||||
<rect x="3987" y="1868" width="16" height="27" />
|
||||
<rect x="3990" y="1893" width="28" height="24" />
|
||||
</region>
|
||||
<region type="GraveRegion" priority="91" name="Skara Brae Cemetery">
|
||||
<region type="GraveRegion" priority="91" name="Skara Brae Cemetery" mapId="68">
|
||||
<rect x="535" y="1742" width="24" height="33" />
|
||||
</region>
|
||||
<region type="GraveRegion" priority="91" name="Trinsic Cemetery">
|
||||
<region type="GraveRegion" priority="91" name="Trinsic Cemetery" mapId="76">
|
||||
<rect x="1872" y="2649" width="30" height="23" />
|
||||
<rect x="1880" y="2632" width="22" height="21" />
|
||||
</region>
|
||||
<region type="GraveRegion" priority="91" name="Yew Cemetery">
|
||||
<region type="GraveRegion" priority="91" name="Yew Cemetery" mapId="61">
|
||||
<rect x="1520" y="1015" width="56" height="57" />
|
||||
</region>
|
||||
<region type="GraveRegion" priority="91" name="Island Cemetery">
|
||||
<region type="GraveRegion" priority="91" name="Island Cemetery" mapId="80">
|
||||
<rect x="2170" y="2091" width="38" height="31" />
|
||||
</region>
|
||||
|
||||
// -------------------------------- MISC ---------------------------------------------
|
||||
<region type="PirateRegion" priority="91" name="Plunderer's Port">
|
||||
<region type="PirateRegion" priority="91" name="Plunderer's Port" mapId="83">
|
||||
<rect x="6499" y="2272" width="190" height="202" />
|
||||
</region>
|
||||
<region type="PirateRegion" priority="91" name="Pirate Cave">
|
||||
|
|
@ -512,11 +512,57 @@
|
|||
</region>
|
||||
<region type="DangerRegion" priority="91" name="Blackthorn's Castle">
|
||||
<rect x="3444" y="3320" width="124" height="102" />
|
||||
</region>
|
||||
</region>
|
||||
<region type="DangerRegion" priority="91" name="Waveguide">
|
||||
<rect x="3851" y="1851" width="16" height="10" />
|
||||
<rect x="3854" y="1848" width="10" height="16" />
|
||||
</region>
|
||||
</region>
|
||||
<region type="DangerRegion" priority="91" name="Goblin Keep" mapId="82">
|
||||
<rect x="2188" y="801" width="43" height="35" />
|
||||
</region>
|
||||
<region type="DangerRegion" priority="91" name="Orc 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">
|
||||
<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">
|
||||
<rect x="1148" y="1160" width="34" height="30" />
|
||||
</region>
|
||||
<region type="DangerRegion" priority="91" name="Brigand Stronghold" mapId="66">
|
||||
<rect x="3060" y="1104" width="35" height="31" />
|
||||
</region>
|
||||
<region type="DangerRegion" priority="91" name="Savage Camp" mapId="63">
|
||||
<rect x="5632" y="615" width="33" height="24" />
|
||||
</region>
|
||||
<region type="DangerRegion" priority="91" name="Large Savage Camp" mapId="64">
|
||||
<rect x="5725" y="1255" width="98" height="81" />
|
||||
</region>
|
||||
<region type="DangerRegion" priority="91" name="Savage Camp" 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">
|
||||
<rect x="4235" y="1707" width="18" height="26" />
|
||||
</region>
|
||||
<region type="DangerRegion" priority="91" name="Brigand Stronghold" mapId="75">
|
||||
<rect x="2060" y="2888" width="35" height="31" />
|
||||
</region>
|
||||
<region type="DangerRegion" priority="91" name="Ratman Fort" mapId="77">
|
||||
<rect x="1594" y="2783" width="15" height="16" />
|
||||
</region>
|
||||
<region type="DangerRegion" priority="91" name="Ratman Fort" mapId="69">
|
||||
<rect x="1279" y="2246" width="23" height="18" />
|
||||
</region>
|
||||
// -------------------------------- FARMS --------------------------------------------
|
||||
<region type="GardenRegion" priority="95" name="Bucs Den Garden">
|
||||
<rect x="2645" y="2258" width="18" height="10" />
|
||||
|
|
@ -944,48 +990,58 @@
|
|||
<rect x="3019" y="451" width="23" height="23" />
|
||||
</region>
|
||||
// -------------------------------- SHRINES ------------------------------------------
|
||||
<region type="ShrineRegion" priority="91" name="Shrine of Compassion">
|
||||
<region type="ShrineRegion" priority="91" name="Shrine of Compassion" mapId="55">
|
||||
<rect x="2474" y="1471" width="24" height="24" />
|
||||
</region>
|
||||
<region type="ShrineRegion" priority="91" name="Shrine of Honesty">
|
||||
<region type="ShrineRegion" priority="91" name="Shrine of Honesty" mapId="51">
|
||||
<rect x="4124" y="1079" width="24" height="24" />
|
||||
</region>
|
||||
<region type="ShrineRegion" priority="91" name="Shrine of Honor">
|
||||
<region type="ShrineRegion" priority="91" name="Shrine of Honor" mapId="58">
|
||||
<rect x="1864" y="2811" width="24" height="24" />
|
||||
</region>
|
||||
<region type="ShrineRegion" priority="91" name="Shrine of Humility">
|
||||
<region type="ShrineRegion" priority="91" name="Shrine of Humility" mapId="51">
|
||||
<rect x="4114" y="2988" width="24" height="24" />
|
||||
</region>
|
||||
<region type="ShrineRegion" priority="91" name="Shrine of Justice">
|
||||
<region type="ShrineRegion" priority="91" name="Shrine of Justice" mapId="54">
|
||||
<rect x="1643" y="536" width="24" height="24" />
|
||||
</region>
|
||||
<region type="ShrineRegion" priority="91" name="Shrine of Sacrifice">
|
||||
<region type="ShrineRegion" priority="91" name="Shrine of Sacrifice" mapId="53">
|
||||
<rect x="3731" y="916" width="24" height="24" />
|
||||
</region>
|
||||
<region type="ShrineRegion" priority="91" name="Shrine of Spirituality">
|
||||
<region type="ShrineRegion" priority="91" name="Shrine of Spirituality" mapId="56">
|
||||
<rect x="992" y="1839" width="24" height="24" />
|
||||
</region>
|
||||
<region type="ShrineRegion" priority="91" name="Shrine of Valor">
|
||||
<region type="ShrineRegion" priority="91" name="Shrine of Valor" mapId="57">
|
||||
<rect x="1232" y="3399" width="24" height="24" />
|
||||
</region>
|
||||
// *** END ************************************************************************************************************************************************************************
|
||||
</Facet>
|
||||
<Facet name="Underworld">
|
||||
// -------------------------------- DUNGEONS --------------------------------------------
|
||||
<region type="DungeonRegion" priority="50" name="Dungeon Covetous">
|
||||
<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" />
|
||||
<rect x="848" y="1635" width="127" height="131" />
|
||||
<rect x="441" y="1704" width="130" height="75" />
|
||||
<rect x="658" y="1715" width="89" height="49" />
|
||||
</region>
|
||||
<region type="DungeonRegion" priority="50" name="Dungeon Despise">
|
||||
</region>
|
||||
<region type="DungeonRegion" priority="50" name="Dungeon Deceit" mapId="14">
|
||||
<rect x="62" y="2290" width="286" height="335" />
|
||||
</region>
|
||||
<region type="DungeonRegion" priority="50" name="Dungeon Hythloth" mapId="20">
|
||||
<rect x="51" y="825" width="313" height="316" />
|
||||
</region>
|
||||
<region type="DungeonRegion" priority="50" name="Dungeon Shame" mapId="19">
|
||||
<rect x="510" y="29" width="441" height="76" />
|
||||
<rect x="456" y="269" width="648" height="16" />
|
||||
</region>
|
||||
<region type="DungeonRegion" priority="50" name="Dungeon Despise" mapId="15">
|
||||
<rect x="703" y="985" width="63" height="58" />
|
||||
<rect x="456" y="1035" width="170" height="154" />
|
||||
<rect x="690" y="1106" width="178" height="151" />
|
||||
<rect x="432" y="1310" width="283" height="292" />
|
||||
</region>
|
||||
<region type="DungeonRegion" priority="50" name="Dungeon Destard">
|
||||
<region type="DungeonRegion" priority="50" name="Dungeon Destard" mapId="16">
|
||||
<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" />
|
||||
|
|
@ -1019,7 +1075,7 @@
|
|||
<rect x="4429" y="149" width="120" height="120" />
|
||||
<rect x="4556" y="395" width="101" height="79" />
|
||||
</region>
|
||||
<region type="CaveRegion" priority="50" name="the Spider Cave">
|
||||
<region type="CaveRegion" priority="50" name="the Spider Cave" mapId="81">
|
||||
<rect x="693" y="2119" width="146" height="83" />
|
||||
</region>
|
||||
// -------------------------------- SHRINES ---------------------------------------------
|
||||
|
|
@ -1033,12 +1089,12 @@
|
|||
<rect x="4474" y="538" width="68" height="72" />
|
||||
</region>
|
||||
// -------------------------------- LABYRINTHS ------------------------------------------
|
||||
<region type="DungeonRegion" priority="50" name="the Wailing Halls">
|
||||
<region type="DungeonRegion" priority="50" name="the Wailing Halls" mapId="24">
|
||||
<rect x="2195" y="188" width="228" height="122" />
|
||||
<rect x="2551" y="157" width="196" height="235" />
|
||||
<rect x="2865" y="173" width="176" height="156" />
|
||||
</region>
|
||||
<region type="DungeonRegion" priority="50" name="the Silent Tomb">
|
||||
<region type="DungeonRegion" priority="50" name="the Silent Tomb" mapId="26">
|
||||
<rect x="3438" y="914" width="104" height="95" />
|
||||
<rect x="3702" y="905" width="104" height="93" />
|
||||
<rect x="3964" y="921" width="79" height="78" />
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ namespace Server.Regions
|
|||
|
||||
private string m_RuneName;
|
||||
private bool m_NoLogoutDelay;
|
||||
|
||||
private int m_MapID;
|
||||
private SpawnEntry[] m_Spawns;
|
||||
private SpawnZLevel m_SpawnZLevel;
|
||||
private bool m_ExcludeFromParentSpawns;
|
||||
|
|
@ -135,6 +135,11 @@ namespace Server.Regions
|
|||
Effects.SendLocationEffect( m.Location, m.Map, 0x35B2, 16 );
|
||||
m.Delete();
|
||||
}
|
||||
if ( m is PlayerMobile && m_MapID > 0 )
|
||||
{
|
||||
Server.Misc.MapFunctions.AddLocations( m, m_MapID );
|
||||
m.SendMessage( "You have discovered a new location!" );
|
||||
}
|
||||
}
|
||||
|
||||
public override void OnExit( Mobile m )
|
||||
|
|
@ -516,7 +521,14 @@ namespace Server.Regions
|
|||
{
|
||||
ReadString( xml["rune"], "name", ref m_RuneName, false );
|
||||
|
||||
bool logoutDelayActive = true;
|
||||
string mapIdString = xml.GetAttribute( "mapId" );
|
||||
if ( !String.IsNullOrEmpty( mapIdString ) )
|
||||
{
|
||||
try { m_MapID = XmlConvert.ToInt32( mapIdString ); }
|
||||
catch {}
|
||||
}
|
||||
|
||||
bool logoutDelayActive = true;
|
||||
ReadBoolean( xml["logoutDelay"], "active", ref logoutDelayActive, false );
|
||||
m_NoLogoutDelay = !logoutDelayActive;
|
||||
|
||||
|
|
|
|||
|
|
@ -114,104 +114,104 @@ namespace Server.Misc
|
|||
int hue = 0;
|
||||
int s = 0;
|
||||
|
||||
if ( loc == nxt ){ name = "Britain"; x=2169; y=1579; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Yew"; x=1534; y=863; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Prison"; x=1003; y=969; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Minoc"; x=2879; y=486; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Skara Brae"; d = 2; x=738; y=1871; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Jhelom"; x=1065; y=3157; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Trinsic"; x=2029; y=2630; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Paws"; x=1983; y=2163; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Buccaneer's Den"; x=2644; y=2213; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Magincia"; x=3429; y=2427; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Moonglow"; x=4153; y=1982; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Lyceum"; d = 1; x=3865; y=1627; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Zoo"; x=4048; y=1681; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Britain"; x=2169; y=1579; } nxt = Pin( x, nxt ); //1
|
||||
if ( loc == nxt ){ name = "Yew"; x=1534; y=863; } nxt = Pin( x, nxt ); //2
|
||||
if ( loc == nxt ){ name = "Prison"; x=1003; y=969; } nxt = Pin( x, nxt ); //3
|
||||
if ( loc == nxt ){ name = "Minoc"; x=2879; y=486; } nxt = Pin( x, nxt ); //4
|
||||
if ( loc == nxt ){ name = "Skara Brae"; d = 2; x=738; y=1871; } nxt = Pin( x, nxt ); //5
|
||||
if ( loc == nxt ){ name = "Jhelom"; x=1065; y=3157; } nxt = Pin( x, nxt ); //6
|
||||
if ( loc == nxt ){ name = "Trinsic"; x=2029; y=2630; } nxt = Pin( x, nxt ); //7
|
||||
if ( loc == nxt ){ name = "Paws"; x=1983; y=2163; } nxt = Pin( x, nxt ); //8
|
||||
if ( loc == nxt ){ name = "Buccaneer's Den"; x=2644; y=2213; } nxt = Pin( x, nxt ); //9
|
||||
if ( loc == nxt ){ name = "Magincia"; x=3429; y=2427; } nxt = Pin( x, nxt ); //10
|
||||
if ( loc == nxt ){ name = "Moonglow"; x=4153; y=1982; } nxt = Pin( x, nxt ); //11
|
||||
if ( loc == nxt ){ name = "Lyceum"; d = 1; x=3865; y=1627; } nxt = Pin( x, nxt ); //12
|
||||
if ( loc == nxt ){ name = "Zoo"; x=4048; y=1681; } nxt = Pin( x, nxt ); //13
|
||||
|
||||
if ( x < 1 ){ hue++; }
|
||||
|
||||
if ( loc == nxt ){ name = "Deceit"; d = 2; x=4194; y=1308; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Despise"; x=1649; y=1223; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Destard"; x=1536; y=2636; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Wrong"; x=2403; y=625; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Covetous"; x=2888; y=658; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Shame"; x=1383; y=1741; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Hythloth"; x=4240; y=3397; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Stygian Abyss"; d = 1; x=4209; y=2962; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Terathan Keep"; x=5298; y=1132; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Ancient Pyramid"; x=5494; y=678; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Wailing Halls"; x=1548; y=1081; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Exodus Ruins"; x=669; y=3480; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Silent Tomb"; d = 1; x=2048; y=1935; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Deceit"; d = 2; x=4194; y=1308; } nxt = Pin( x, nxt ); //14
|
||||
if ( loc == nxt ){ name = "Despise"; x=1649; y=1223; } nxt = Pin( x, nxt ); //15
|
||||
if ( loc == nxt ){ name = "Destard"; x=1536; y=2636; } nxt = Pin( x, nxt ); //16
|
||||
if ( loc == nxt ){ name = "Wrong"; x=2403; y=625; } nxt = Pin( x, nxt ); //17
|
||||
if ( loc == nxt ){ name = "Covetous"; x=2888; y=658; } nxt = Pin( x, nxt ); //18
|
||||
if ( loc == nxt ){ name = "Shame"; x=1383; y=1741; } nxt = Pin( x, nxt ); //19
|
||||
if ( loc == nxt ){ name = "Hythloth"; x=4240; y=3397; } nxt = Pin( x, nxt ); //20
|
||||
if ( loc == nxt ){ name = "Stygian Abyss"; d = 1; x=4209; y=2962; } nxt = Pin( x, nxt ); //21
|
||||
if ( loc == nxt ){ name = "Terathan Keep"; x=5298; y=1132; } nxt = Pin( x, nxt ); //22
|
||||
if ( loc == nxt ){ name = "Ancient Pyramid"; x=5494; y=678; } nxt = Pin( x, nxt ); //23
|
||||
if ( loc == nxt ){ name = "Wailing Halls"; x=1548; y=1081; } nxt = Pin( x, nxt ); //24
|
||||
if ( loc == nxt ){ name = "Exodus Ruins"; x=669; y=3480; } nxt = Pin( x, nxt ); //25
|
||||
if ( loc == nxt ){ name = "Silent Tomb"; d = 1; x=2048; y=1935; } nxt = Pin( x, nxt ); //26
|
||||
|
||||
if ( x < 1 ){ hue++; s=0; }
|
||||
|
||||
if ( loc == nxt ){ name = "Deep Forest"; x=1081; y=1110; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Lock Lake"; x=2453; y=1301; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Lost Hope Bay"; x=2569; y=720; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "High Steppes"; x=2297; y=885; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Bog of Desolation"; x=1925; y=2381; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Brittany Bay"; x=2017; y=1721; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Drylands"; x=3685; y=1017; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Bloody Plains"; x=3033; y=825; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Isle of the Avatar"; x=3951; y=3545; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Terfin"; x=3419; y=3189; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Abandoned Isles"; x=1325; y=3440; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Deadman Isles"; x=2437; y=3273; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Valorian Isles"; x=997; y=2641; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Spiritwood"; x=1061; y=2001; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Isle of Fire"; x=537; y=3273; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Verity Isle"; x=4053; y=1801; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Dagger Isle"; x=4141; y=960; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Janus Isle"; x=4268; y=1245; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Spektran"; x=3193; y=3001; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Cape of Heroes"; x=1770; y=3161; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Serpent Isle"; x=5277; y=858; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Restful Dunes"; x=6084; y=2237; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Daemon Islands"; x=4888; y=2105; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Isles of the Dead"; x=2185; y=1928; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Deep Forest"; x=1081; y=1110; } nxt = Pin( x, nxt ); //27
|
||||
if ( loc == nxt ){ name = "Lock Lake"; x=2453; y=1301; } nxt = Pin( x, nxt ); //28
|
||||
if ( loc == nxt ){ name = "Lost Hope Bay"; x=2569; y=720; } nxt = Pin( x, nxt ); //29
|
||||
if ( loc == nxt ){ name = "High Steppes"; x=2297; y=885; } nxt = Pin( x, nxt ); //30
|
||||
if ( loc == nxt ){ name = "Bog of Desolation"; x=1925; y=2381; } nxt = Pin( x, nxt ); //31
|
||||
if ( loc == nxt ){ name = "Brittany Bay"; x=2017; y=1721; } nxt = Pin( x, nxt ); //32
|
||||
if ( loc == nxt ){ name = "Drylands"; x=3685; y=1017; } nxt = Pin( x, nxt ); //33
|
||||
if ( loc == nxt ){ name = "Bloody Plains"; x=3033; y=825; } nxt = Pin( x, nxt ); //34
|
||||
if ( loc == nxt ){ name = "Isle of the Avatar"; x=3951; y=3545; } nxt = Pin( x, nxt ); //35
|
||||
if ( loc == nxt ){ name = "Terfin"; x=3419; y=3189; } nxt = Pin( x, nxt ); //36
|
||||
if ( loc == nxt ){ name = "Abandoned Isles"; x=1325; y=3440; } nxt = Pin( x, nxt ); //37
|
||||
if ( loc == nxt ){ name = "Deadman Isles"; x=2437; y=3273; } nxt = Pin( x, nxt ); //38
|
||||
if ( loc == nxt ){ name = "Valorian Isles"; x=997; y=2641; } nxt = Pin( x, nxt ); //39
|
||||
if ( loc == nxt ){ name = "Spiritwood"; x=1061; y=2001; } nxt = Pin( x, nxt ); //40
|
||||
if ( loc == nxt ){ name = "Isle of Fire"; x=537; y=3273; } nxt = Pin( x, nxt ); //41
|
||||
if ( loc == nxt ){ name = "Verity Isle"; x=4053; y=1801; } nxt = Pin( x, nxt ); //42
|
||||
if ( loc == nxt ){ name = "Dagger Isle"; x=4141; y=960; } nxt = Pin( x, nxt ); //43
|
||||
if ( loc == nxt ){ name = "Janus Isle"; x=4268; y=1245; } nxt = Pin( x, nxt ); //44
|
||||
if ( loc == nxt ){ name = "Spektran"; x=3193; y=3001; } nxt = Pin( x, nxt ); //45
|
||||
if ( loc == nxt ){ name = "Cape of Heroes"; x=1770; y=3161; } nxt = Pin( x, nxt ); //46
|
||||
if ( loc == nxt ){ name = "Serpent Isle"; x=5277; y=858; } nxt = Pin( x, nxt ); //47
|
||||
if ( loc == nxt ){ name = "Restful Dunes"; x=6084; y=2237; } nxt = Pin( x, nxt ); //48
|
||||
if ( loc == nxt ){ name = "Daemon Islands"; x=4888; y=2105; } nxt = Pin( x, nxt ); //49
|
||||
if ( loc == nxt ){ name = "Isles of the Dead"; x=2185; y=1928; } nxt = Pin( x, nxt ); //50
|
||||
|
||||
if ( x < 1 ){ hue++; s=0; }
|
||||
|
||||
if ( loc == nxt ){ name = "Humility"; d = 2; x=4127; y=3000; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Honesty"; x=4137; y=1091; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Sacrifice"; x=3743; y=927; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Justice"; d = 1; x=1653; y=548; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Compassion"; x=2488; y=1482; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Spirituality"; d = 1; x=1003; y=1852; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Valor"; d = 1; x=1244; y=3411; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Honor"; x=1876; y=2824; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Humility"; d = 2; x=4127; y=3000; } nxt = Pin( x, nxt ); //51
|
||||
if ( loc == nxt ){ name = "Honesty"; x=4137; y=1091; } nxt = Pin( x, nxt ); //52
|
||||
if ( loc == nxt ){ name = "Sacrifice"; x=3743; y=927; } nxt = Pin( x, nxt ); //53
|
||||
if ( loc == nxt ){ name = "Justice"; d = 1; x=1653; y=548; } nxt = Pin( x, nxt ); //54
|
||||
if ( loc == nxt ){ name = "Compassion"; x=2488; y=1482; } nxt = Pin( x, nxt ); //55
|
||||
if ( loc == nxt ){ name = "Spirituality"; d = 1; x=1003; y=1852; } nxt = Pin( x, nxt ); //56
|
||||
if ( loc == nxt ){ name = "Valor"; d = 1; x=1244; y=3411; } nxt = Pin( x, nxt ); //57
|
||||
if ( loc == nxt ){ name = "Honor"; x=1876; y=2824; } nxt = Pin( x, nxt ); //58
|
||||
|
||||
if ( x < 1 ){ hue++; s=1; }
|
||||
|
||||
if ( loc == nxt ){ name = "Brigands"; x=1165; y=1177; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Hobgoblins"; x=1231; y=1059; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Graveyard"; x=1548; y=1016; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Graveyard"; x=2655; y=524; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Savages"; d = 1; x=5648; y=626; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Savages"; x=5774; y=1301; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Cemetery"; x=3432; y=1041; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Brigands"; x=3074; y=1120; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Orcs"; x=2209; y=819; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Graveyard"; x=547; y=1758; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Ratmen"; x=1291; y=2253; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Brigands"; x=4245; y=1721; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Cemetery"; x=4012; y=1879; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Hobgoblins"; x=5747; y=1869; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Savages"; x=6386; y=1744; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Graveyard"; d = 1; x=3517; y=2363; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Brigands"; x=2078; y=2904; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Cemetery"; d = 2; x=1888; y=2658; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Ratmen"; x=1602; y=2790; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Graveyard"; x=989; y=3025; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Orcs"; x=2349; y=3425; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Cemetery"; x=2203; y=2104; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Spider Cave"; x=739; y=1206; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Brigands"; x=1165; y=1177; } nxt = Pin( x, nxt ); //59
|
||||
if ( loc == nxt ){ name = "Hobgoblins"; x=1231; y=1059; } nxt = Pin( x, nxt ); //60
|
||||
if ( loc == nxt ){ name = "Cemetery"; x=1548; y=1016; } nxt = Pin( x, nxt ); //61
|
||||
if ( loc == nxt ){ name = "Cemetery"; x=2655; y=524; } nxt = Pin( x, nxt ); //62
|
||||
if ( loc == nxt ){ name = "Savages"; d = 1; x=5648; y=626; } nxt = Pin( x, nxt ); //63
|
||||
if ( loc == nxt ){ name = "Savages"; x=5774; y=1301; } nxt = Pin( x, nxt ); //64
|
||||
if ( loc == nxt ){ name = "Graveyard"; x=3432; y=1041; } nxt = Pin( x, nxt ); //65
|
||||
if ( loc == nxt ){ name = "Brigands"; x=3074; y=1120; } nxt = Pin( x, nxt ); //66
|
||||
if ( loc == nxt ){ name = "Orcs"; x=2209; y=819; } nxt = Pin( x, nxt ); //67
|
||||
if ( loc == nxt ){ name = "Cemetery"; x=547; y=1758; } nxt = Pin( x, nxt ); //68
|
||||
if ( loc == nxt ){ name = "Ratmen"; x=1291; y=2253; } nxt = Pin( x, nxt ); //69
|
||||
if ( loc == nxt ){ name = "Brigands"; x=4245; y=1721; } nxt = Pin( x, nxt ); //70
|
||||
if ( loc == nxt ){ name = "Cemetery"; x=4012; y=1879; } nxt = Pin( x, nxt ); //71
|
||||
if ( loc == nxt ){ name = "Hobgoblins"; x=5747; y=1869; } nxt = Pin( x, nxt ); //72
|
||||
if ( loc == nxt ){ name = "Savages"; x=6386; y=1744; } nxt = Pin( x, nxt ); //73
|
||||
if ( loc == nxt ){ name = "Cemetery"; d = 1; x=3517; y=2363; } nxt = Pin( x, nxt ); //74
|
||||
if ( loc == nxt ){ name = "Brigands"; x=2078; y=2904; } nxt = Pin( x, nxt ); //75
|
||||
if ( loc == nxt ){ name = "Cemetery"; d = 2; x=1888; y=2658; } nxt = Pin( x, nxt ); //76
|
||||
if ( loc == nxt ){ name = "Ratmen"; x=1602; y=2790; } nxt = Pin( x, nxt ); //77
|
||||
if ( loc == nxt ){ name = "Cemetery"; x=989; y=3025; } nxt = Pin( x, nxt ); //78
|
||||
if ( loc == nxt ){ name = "Orcs"; x=2349; y=3425; } nxt = Pin( x, nxt ); //79
|
||||
if ( loc == nxt ){ name = "Cemetery"; x=2203; y=2104; } nxt = Pin( x, nxt ); //80
|
||||
if ( loc == nxt ){ name = "Spider Cave"; x=739; y=1206; } nxt = Pin( x, nxt ); //81
|
||||
|
||||
if ( x < 1 ){ hue++; s=0; }
|
||||
|
||||
if ( loc == nxt ){ name = "Goblin Keep"; x=1951; y=1274; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Plunderer's Port"; x=6589; y=2370; } nxt = Pin( x, nxt );
|
||||
if ( loc == nxt ){ name = "Goblin Keep"; x=1951; y=1274; } nxt = Pin( x, nxt ); //82
|
||||
if ( loc == nxt ){ name = "Plunderer's Port"; x=6589; y=2370; } nxt = Pin( x, nxt ); //83
|
||||
|
||||
if ( hue == 0 ){ c = "#FCFF00"; } // YELLOW Towns
|
||||
else if ( hue == 1 ){ c = "#FF0000"; } // RED Dungeons
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue