+ RunUO 2.7 with initial TOL expansion support.

This commit is contained in:
VitaNex 2016-01-27 02:59:11 +00:00
parent 64272798c3
commit 7af0579875
41 changed files with 3181 additions and 499 deletions

View file

@ -30,12 +30,12 @@ namespace Server.Multis
if ( val == -1 )
return false;
return ( val == 0 || (ExpansionInfo.CurrentExpansion.CustomHousingFlag & val) != 0 );
return ( val == 0 || ((int)ExpansionInfo.CoreExpansion.CustomHousingFlag & val) != 0 );
}
public ComponentVerification()
{
m_ItemTable = CreateTable( 0x10000 );
m_ItemTable = CreateTable( TileData.MaxItemValue );
m_MultiTable = CreateTable( 0x4000 );
LoadItems( "Data/Components/walls.txt", "South1", "South2", "South3", "Corner", "East1", "East2", "East3", "Post", "WindowS", "AltWindowS", "WindowE", "AltWindowE", "SecondAltWindowS", "SecondAltWindowE" );

View file

@ -1882,7 +1882,8 @@ namespace Server.Multis
return true;
else if( itemID >= 0x319C && itemID < 0x31B0 )
return true;
else if( itemID == 0x2D46 ||itemID == 0x2D48 || itemID == 0x2FE2 || itemID == 0x2FE4 ) //ML doors begin here. Note funkyness.
// ML doors
else if( itemID == 0x2D46 ||itemID == 0x2D48 || itemID == 0x2FE2 || itemID == 0x2FE4 )
return true;
else if( itemID >= 0x2D63 && itemID < 0x2D70 )
return true;
@ -1890,7 +1891,7 @@ namespace Server.Multis
return true;
else if( itemID >= 0x367B && itemID < 0x369B )
return true;
#region SA doors
// SA doors
else if( itemID >= 0x409B && itemID < 0x40A3 )
return true;
else if( itemID >= 0x410C && itemID < 0x4114 )
@ -1909,7 +1910,11 @@ namespace Server.Multis
return true;
else if( itemID >= 0x5142 && itemID < 0x514A )
return true;
#endregion
// TOL doors
else if ( itemID >= 0x9AD7 && itemID < 0x9AE7 )
return true;
else if ( itemID >= 0x9B3C && itemID < 0x9B4C )
return true;
return false;
}