From 06b366ad90420b43b55a814d9752dc87d43ad949 Mon Sep 17 00:00:00 2001 From: asayre Date: Thu, 11 Jan 2007 05:57:50 +0000 Subject: [PATCH] --- Scripts/Gumps/HouseGumpAOS.cs | 32 +++++++++++++++++++++---------- Scripts/Multis/HouseFoundation.cs | 9 +++++++-- 2 files changed, 29 insertions(+), 12 deletions(-) diff --git a/Scripts/Gumps/HouseGumpAOS.cs b/Scripts/Gumps/HouseGumpAOS.cs index d02bc7916..d6db33d64 100644 --- a/Scripts/Gumps/HouseGumpAOS.cs +++ b/Scripts/Gumps/HouseGumpAOS.cs @@ -174,7 +174,7 @@ namespace Server.Gumps private static int[] m_FoundationNumbers = (Core.ML ? new int[] { - 20, 189, 765, 65, 101, 0x2DF7, 0x2DFB + 20, 189, 765, 65, 101, 0x2DF7, 0x2DFB, 0x3672, 0x3676 }: new int[] { @@ -1255,16 +1255,28 @@ namespace Server.Gumps { FoundationType newType; - switch ( index ) + if( Core.ML && index >= 5 ) { - case 0: newType = FoundationType.DarkWood; break; - case 1: newType = FoundationType.LightWood; break; - case 2: newType = FoundationType.Dungeon; break; - case 3: newType = FoundationType.Brick; break; - case 4: newType = FoundationType.Stone; break; - case 5: if( Core.ML ) newType = FoundationType.ElvenGrey; else return; break; - case 6: if( Core.ML ) newType = FoundationType.ElvenNatural; else return; break; - default: return; + switch( index ) + { + case 5: newType = FoundationType.ElvenGrey; + case 6: newType = FoundationType.ElvenNatural; + case 7: newType = FoundationType.Crystal; + case 8: newType = FoundationType.Shadow; + default: return; + } + } + else + { + switch( index ) + { + case 0: newType = FoundationType.DarkWood; break; + case 1: newType = FoundationType.LightWood; break; + case 2: newType = FoundationType.Dungeon; break; + case 3: newType = FoundationType.Brick; break; + case 4: newType = FoundationType.Stone; break; + default: return; + } } foundation.Type = newType; diff --git a/Scripts/Multis/HouseFoundation.cs b/Scripts/Multis/HouseFoundation.cs index d33ca5c53..1a2694a63 100644 --- a/Scripts/Multis/HouseFoundation.cs +++ b/Scripts/Multis/HouseFoundation.cs @@ -21,7 +21,9 @@ namespace Server.Multis Dungeon, Brick, ElvenGrey, - ElvenNatural + ElvenNatural, + Crystal, + Shadow } public class HouseFoundation : BaseHouse @@ -446,6 +448,9 @@ namespace Server.Multis case FoundationType.ElvenGrey: corner = 0x2DF7; east = 0x2DF9; south = 0x2DFA; post = 0x2DF8; break; case FoundationType.ElvenNatural: corner = 0x2DFB; east = 0x2DFD; south = 0x2DFE; post = 0x2DFC; break; + + case FoundationType.Crystal: corner = 0x3672; east = 0x3671; south = 0x3670; post = 0x3673; break; + case FoundationType.Shadow: corner = 0x3676; east = 0x3675; south = 0x3634; post = 0x3677; break; } } @@ -1076,7 +1081,7 @@ namespace Server.Multis { 0x3EE, 0x709, 0x71E, 0x721, 0x738, 0x750, 0x76C, 0x788, - 0x7A3, 0x7BA + 0x7A3, 0x7BA, 0x35D2, 0x3609 }; private static int[] m_StairSeqs = new int[]