This commit is contained in:
asayre 2007-01-11 05:57:50 +00:00
parent f8cc9c10a8
commit 06b366ad90
2 changed files with 29 additions and 12 deletions

View file

@ -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;

View file

@ -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[]