From f8cc9c10a898b6e783ff270d97052a70c2fc2f6e Mon Sep 17 00:00:00 2001 From: asayre Date: Mon, 8 Jan 2007 04:50:22 +0000 Subject: [PATCH] --- Scripts/Multis/HouseFoundation.cs | 24 +++++++++++++----------- Server/ExpansionInfo.cs | 2 +- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/Scripts/Multis/HouseFoundation.cs b/Scripts/Multis/HouseFoundation.cs index ff708e663..d33ca5c53 100644 --- a/Scripts/Multis/HouseFoundation.cs +++ b/Scripts/Multis/HouseFoundation.cs @@ -340,17 +340,17 @@ namespace Server.Multis door = new GenericHouseDoor( facing, 0x319C + 4 * type + mod * 2, 0xEA, 0xF1, false ); } - - /* - * ASayre HATE doors. ASayre SMASH - WestCCW EastCW SoutCCW NorthCW - 0x31AE* 0x31AC 0x2D48* 0x2D46* Elvan Wood Door - 0x2d65* 0x31a0 0x2d63* 0x31a2 Elvan White Wooden Door 1 - 0x2d69* 0x31a4 0x2d67* 0x31a6 Elvan Ornate Door - 0x2d6d* 0x31aa 0x2d6b* 0x31a8 Elvan Kia Wood Door 2 - 0x2fe4* 0x319c 0x2fe2* 0x319e Elvan Moon Door - * - * */ + else if( itemID >= 0x367B && itemID < 0x369B ) + { + int type = (itemID - 0x367B) / 16; + DoorFacing facing = (DoorFacing)(((itemID - 0x367B) / 2) % 8); + + switch( type ) + { + case 0: door = new GenericHouseDoor( facing, 0x367B, 0xED, 0xF4 ); break; //crystal + case 1: door = new GenericHouseDoor( facing, 0x368B, 0xEC, 0x3E7 ); break; //shadow + } + } if( door != null ) { @@ -1889,6 +1889,8 @@ namespace Server.Multis return true; else if( itemID >= 0x319C && itemID < 0x31AF ) return true; + else if( itemID >= 0x367B && itemID < 0x369B ) + return true; return false; } diff --git a/Server/ExpansionInfo.cs b/Server/ExpansionInfo.cs index b697e50a3..c497c02fd 100644 --- a/Server/ExpansionInfo.cs +++ b/Server/ExpansionInfo.cs @@ -76,7 +76,7 @@ namespace Server new ExpansionInfo( 0, "None" , 0x00, 0x0003, 0x008, 0x00 ), new ExpansionInfo( 1, "Age of Shadows" , 0x08, 0x801F, 0x028, 0x20 ), new ExpansionInfo( 2, "Samurai Empire" , 0x10, 0x805F, 0x0A8, 0x60 ), //0x40 | 0x20 = 0x60 - new ExpansionInfo( 3, "Mondain's Legacy", new ClientVersion( "5.0.0a" ), 0x80DF, 0x1A8, 0xE0 ) //0x80 | 0x60 = 0xE0 + new ExpansionInfo( 3, "Mondain's Legacy", new ClientVersion( "5.0.0a" ), 0x82DF, 0x1A8, 0x2E0 ) //0x280 | 0x60 = 0x2E0 }; public static ExpansionInfo GetInfo( Expansion ex )