diff --git a/Scripts/Accounting/AccountHandler.cs b/Scripts/Accounting/AccountHandler.cs
index 656f32894..f8d65bfda 100644
--- a/Scripts/Accounting/AccountHandler.cs
+++ b/Scripts/Accounting/AccountHandler.cs
@@ -34,8 +34,7 @@ namespace Server.Misc
set => m_LockdownLevel = value;
}
- private static CityInfo[] StartingCities = new[]
- {
+ private static CityInfo[] StartingCities = {
new CityInfo( "New Haven", "New Haven Bank", 1150168, 3667, 2625, 0 ),
new CityInfo( "Yew", "The Empath Abbey", 1075072, 633, 858, 0 ),
new CityInfo( "Minoc", "The Barnacle", 1075073, 2476, 413, 15 ),
@@ -250,8 +249,7 @@ namespace Server.Misc
}
}
- private static readonly char[] m_ForbiddenChars = new[]
- {
+ private static readonly char[] m_ForbiddenChars = {
'<', '>', ':', '"', '/', '\\', '|', '?', '*'
};
diff --git a/Scripts/Accounting/IPLimiter.cs b/Scripts/Accounting/IPLimiter.cs
index cd449e167..7a65c49e2 100644
--- a/Scripts/Accounting/IPLimiter.cs
+++ b/Scripts/Accounting/IPLimiter.cs
@@ -11,8 +11,7 @@ namespace Server.Misc
public static int MaxAddresses = 10;
- public static IPAddress[] Exemptions = new IPAddress[] //For hosting services where there are cases where IPs can be proxied
- {
+ public static IPAddress[] Exemptions = {
//IPAddress.Parse( "127.0.0.1" ),
};
diff --git a/Scripts/Commands/Add.cs b/Scripts/Commands/Add.cs
index 6ee2b5f59..74d4d2df9 100644
--- a/Scripts/Commands/Add.cs
+++ b/Scripts/Commands/Add.cs
@@ -673,7 +673,7 @@ namespace Server.Commands
return type.IsDefined( m_ParsableType, false );
}
- private static Type[] m_ParseTypes = new[]{ typeof( string ) };
+ private static Type[] m_ParseTypes = { typeof( string ) };
private static object[] m_ParseArgs = new object[1];
public static object ParseParsable( Type type, string value )
@@ -685,8 +685,7 @@ namespace Server.Commands
return method.Invoke( null, m_ParseArgs );
}
- private static Type[] m_SignedNumerics = new[]
- {
+ private static Type[] m_SignedNumerics = {
typeof( Int64 ),
typeof( Int32 ),
typeof( Int16 ),
@@ -702,8 +701,7 @@ namespace Server.Commands
return false;
}
- private static Type[] m_UnsignedNumerics = new[]
- {
+ private static Type[] m_UnsignedNumerics = {
typeof( UInt64 ),
typeof( UInt32 ),
typeof( UInt16 ),
diff --git a/Scripts/Commands/Docs.cs b/Scripts/Commands/Docs.cs
index c32636a7d..f8aff8047 100644
--- a/Scripts/Commands/Docs.cs
+++ b/Scripts/Commands/Docs.cs
@@ -248,8 +248,7 @@ namespace Server.Commands
#region GetPair
- private static string[,] m_Aliases = new[,]
- {
+ private static string[,] m_Aliases = {
{ "System.Object", "object" },
{ "System.String", "string" },
{ "System.Boolean", "bool" },
@@ -1947,8 +1946,7 @@ namespace Server.Commands
private const string HtmlNewLine = "
";
- private static object[,] m_Tooltips = new object[,]
- {
+ private static object[,] m_Tooltips = {
{ typeof( Byte ), "Numeric value in the range from 0 to 255, inclusive." },
{ typeof( SByte ), "Numeric value in the range from negative 128 to positive 127, inclusive." },
{ typeof( UInt16 ), "Numeric value in the range from 0 to 65,535, inclusive." },
diff --git a/Scripts/Commands/Logging.cs b/Scripts/Commands/Logging.cs
index df1bd10fd..7f0cc578e 100644
--- a/Scripts/Commands/Logging.cs
+++ b/Scripts/Commands/Logging.cs
@@ -93,7 +93,7 @@ namespace Server.Commands
}
}
- private static char[] m_NotSafe = new[]{ '\\', '/', ':', '*', '?', '"', '<', '>', '|' };
+ private static char[] m_NotSafe = { '\\', '/', ':', '*', '?', '"', '<', '>', '|' };
public static void AppendPath( ref string path, string toAppend )
{
diff --git a/Scripts/Commands/Profiling.cs b/Scripts/Commands/Profiling.cs
index 621b9cd18..d6efe209e 100644
--- a/Scripts/Commands/Profiling.cs
+++ b/Scripts/Commands/Profiling.cs
@@ -240,8 +240,7 @@ namespace Server.Commands
{
using ( StreamWriter op = new StreamWriter( "expandedItems.log", true ) )
{
- string[] names = new[]
- {
+ string[] names = {
"Name",
"Items",
"Bounce",
diff --git a/Scripts/Commands/Properties.cs b/Scripts/Commands/Properties.cs
index fcfb4f91d..3c4b6b652 100644
--- a/Scripts/Commands/Properties.cs
+++ b/Scripts/Commands/Properties.cs
@@ -396,7 +396,7 @@ namespace Server.Commands
return ( t == typeofTimeSpan || t.IsDefined( typeofParsable, false ) );
}
- private static Type[] m_ParseTypes = new[]{ typeof( string ) };
+ private static Type[] m_ParseTypes = { typeof( string ) };
private static object[] m_ParseParams = new object[1];
private static object Parse( object o, Type t, string value )
@@ -408,8 +408,7 @@ namespace Server.Commands
return method.Invoke( o, m_ParseParams );
}
- private static Type[] m_NumericTypes = new[]
- {
+ private static Type[] m_NumericTypes = {
typeof( Byte ), typeof( SByte ),
typeof( Int16 ), typeof( UInt16 ),
typeof( Int32 ), typeof( UInt32 ),
diff --git a/Scripts/Commands/SignParser.cs b/Scripts/Commands/SignParser.cs
index f3a710912..265507296 100644
--- a/Scripts/Commands/SignParser.cs
+++ b/Scripts/Commands/SignParser.cs
@@ -60,12 +60,12 @@ namespace Server.Commands
}
}
- Map[] brit = new[]{ Map.Felucca, Map.Trammel };
- Map[] fel = new[]{ Map.Felucca };
- Map[] tram = new[]{ Map.Trammel };
- Map[] ilsh = new[]{ Map.Ilshenar };
- Map[] malas = new[]{ Map.Malas };
- Map[] tokuno = new[]{ Map.Tokuno };
+ Map[] brit = { Map.Felucca, Map.Trammel };
+ Map[] fel = { Map.Felucca };
+ Map[] tram = { Map.Trammel };
+ Map[] ilsh = { Map.Ilshenar };
+ Map[] malas = { Map.Malas };
+ Map[] tokuno = { Map.Tokuno };
for ( int i = 0; i < list.Count; ++i )
{
diff --git a/Scripts/Engines/BulkOrders/Books/BOBFilterGump.cs b/Scripts/Engines/BulkOrders/Books/BOBFilterGump.cs
index 14310cf59..c95a2daa1 100644
--- a/Scripts/Engines/BulkOrders/Books/BOBFilterGump.cs
+++ b/Scripts/Engines/BulkOrders/Books/BOBFilterGump.cs
@@ -10,8 +10,7 @@ namespace Server.Engines.BulkOrders
private const int LabelColor = 0x7FFF;
- private static int[,] m_MaterialFilters = new[,]
- {
+ private static int[,] m_MaterialFilters = {
{ 1044067, 1 }, // Blacksmithy
{ 1062226, 3 }, // Iron
{ 1018332, 4 }, // Dull Copper
@@ -34,43 +33,39 @@ namespace Server.Engines.BulkOrders
{ 1062238, 16 } // Barbed
};
- private static int[,] m_TypeFilters = new[,]
- {
+ private static int[,] m_TypeFilters = {
{ 1062229, 0 }, // All
{ 1062224, 1 }, // Small
{ 1062225, 2 } // Large
};
- private static int[,] m_QualityFilters = new[,]
- {
+ private static int[,] m_QualityFilters = {
{ 1062229, 0 }, // All
{ 1011542, 1 }, // Normal
{ 1060636, 2 } // Exceptional
};
- private static int[,] m_AmountFilters = new[,]
- {
+ private static int[,] m_AmountFilters = {
{ 1062229, 0 }, // All
{ 1049706, 1 }, // 10
{ 1016007, 2 }, // 15
{ 1062239, 3 } // 20
};
- private static int[][,] m_Filters = new[]
- {
+ private static int[][,] m_Filters = {
m_TypeFilters,
m_QualityFilters,
m_MaterialFilters,
m_AmountFilters
};
- private static int[] m_XOffsets_Type = new[]{ 0, 75, 170 };
- private static int[] m_XOffsets_Quality = new[]{ 0, 75, 170 };
- private static int[] m_XOffsets_Amount = new[]{ 0, 75, 180, 275 };
- private static int[] m_XOffsets_Material = new[]{ 0, 105, 210, 305, 390, 485 };
+ private static int[] m_XOffsets_Type = { 0, 75, 170 };
+ private static int[] m_XOffsets_Quality = { 0, 75, 170 };
+ private static int[] m_XOffsets_Amount = { 0, 75, 180, 275 };
+ private static int[] m_XOffsets_Material = { 0, 105, 210, 305, 390, 485 };
- private static int[] m_XWidths_Small = new[]{ 50, 50, 70, 50 };
- private static int[] m_XWidths_Large = new[]{ 80, 50, 50, 50, 50, 50 };
+ private static int[] m_XWidths_Small = { 50, 50, 70, 50 };
+ private static int[] m_XWidths_Large = { 80, 50, 50, 50, 50, 50 };
private void AddFilterList( int x, int y, int[] xOffsets, int yOffset, int[,] filters, int[] xWidths, int filterValue, int filterIndex )
{
diff --git a/Scripts/Engines/BulkOrders/LargeSmithBOD.cs b/Scripts/Engines/BulkOrders/LargeSmithBOD.cs
index 7c6dc81b3..7c1ccf05c 100644
--- a/Scripts/Engines/BulkOrders/LargeSmithBOD.cs
+++ b/Scripts/Engines/BulkOrders/LargeSmithBOD.cs
@@ -6,8 +6,7 @@ namespace Server.Engines.BulkOrders
[TypeAlias( "Scripts.Engines.BulkOrders.LargeSmithBOD" )]
public class LargeSmithBOD : LargeBOD
{
- public static double[] m_BlacksmithMaterialChances = new[]
- {
+ public static double[] m_BlacksmithMaterialChances = {
0.501953125, // None
0.250000000, // Dull Copper
0.125000000, // Shadow Iron
diff --git a/Scripts/Engines/BulkOrders/LargeTailorBOD.cs b/Scripts/Engines/BulkOrders/LargeTailorBOD.cs
index 87e86ffa9..8ab88b196 100644
--- a/Scripts/Engines/BulkOrders/LargeTailorBOD.cs
+++ b/Scripts/Engines/BulkOrders/LargeTailorBOD.cs
@@ -5,8 +5,7 @@ namespace Server.Engines.BulkOrders
{
public class LargeTailorBOD : LargeBOD
{
- public static double[] m_TailoringMaterialChances = new[]
- {
+ public static double[] m_TailoringMaterialChances = {
0.857421875, // None
0.125000000, // Spined
0.015625000, // Horned
diff --git a/Scripts/Engines/BulkOrders/Rewards.cs b/Scripts/Engines/BulkOrders/Rewards.cs
index cb9fb6cf3..67e782dbe 100644
--- a/Scripts/Engines/BulkOrders/Rewards.cs
+++ b/Scripts/Engines/BulkOrders/Rewards.cs
@@ -261,8 +261,7 @@ namespace Server.Engines.BulkOrders
public static readonly SmithRewardCalculator Instance = new SmithRewardCalculator();
- private RewardType[] m_Types = new[]
- {
+ private RewardType[] m_Types = {
// Armors
new RewardType( 200, typeof( RingmailGloves ), typeof( RingmailChest ), typeof( RingmailArms ), typeof( RingmailLegs ) ),
new RewardType( 300, typeof( ChainCoif ), typeof( ChainLegs ), typeof( ChainChest ) ),
@@ -299,8 +298,7 @@ namespace Server.Engines.BulkOrders
return points;
}
- private static int[][][] m_GoldTable = new[]
- {
+ private static int[][][] m_GoldTable = {
new[] // 1-part (regular)
{
new[]{ 150, 250, 250, 400, 400, 750, 750, 1200, 1200 },
@@ -471,8 +469,7 @@ namespace Server.Engines.BulkOrders
private static readonly ConstructCallback BearRug = new ConstructCallback( CreateBearRug );
private static readonly ConstructCallback ClothingBlessDeed = new ConstructCallback( CreateCBD );
- private static int[][] m_ClothHues = new[]
- {
+ private static int[][] m_ClothHues = {
new[]{ 0x483, 0x48C, 0x488, 0x48A },
new[]{ 0x495, 0x48B, 0x486, 0x485 },
new[]{ 0x48D, 0x490, 0x48E, 0x491 },
@@ -492,8 +489,7 @@ namespace Server.Engines.BulkOrders
throw new InvalidOperationException();
}
- private static int[] m_SandalHues = new[]
- {
+ private static int[] m_SandalHues = {
0x489, 0x47F, 0x482,
0x47E, 0x48F, 0x494,
0x484, 0x497
@@ -595,8 +591,7 @@ namespace Server.Engines.BulkOrders
return points;
}
- private static int[][][] m_AosGoldTable = new[]
- {
+ private static int[][][] m_AosGoldTable = {
new[] // 1-part (regular)
{
new[]{ 150, 150, 300, 300 },
@@ -647,8 +642,7 @@ namespace Server.Engines.BulkOrders
}
};
- private static int[][][] m_OldGoldTable = new[]
- {
+ private static int[][][] m_OldGoldTable = {
new[] // 1-part (regular)
{
new[]{ 150, 150, 300, 300 },
diff --git a/Scripts/Engines/BulkOrders/SmallSmithBOD.cs b/Scripts/Engines/BulkOrders/SmallSmithBOD.cs
index bcc3322de..ae54ea07f 100644
--- a/Scripts/Engines/BulkOrders/SmallSmithBOD.cs
+++ b/Scripts/Engines/BulkOrders/SmallSmithBOD.cs
@@ -8,8 +8,7 @@ namespace Server.Engines.BulkOrders
[TypeAlias( "Scripts.Engines.BulkOrders.SmallSmithBOD" )]
public class SmallSmithBOD : SmallBOD
{
- public static double[] m_BlacksmithMaterialChances = new[]
- {
+ public static double[] m_BlacksmithMaterialChances = {
0.501953125, // None
0.250000000, // Dull Copper
0.125000000, // Shadow Iron
diff --git a/Scripts/Engines/BulkOrders/SmallTailorBOD.cs b/Scripts/Engines/BulkOrders/SmallTailorBOD.cs
index 3102cf411..54ed19d1a 100644
--- a/Scripts/Engines/BulkOrders/SmallTailorBOD.cs
+++ b/Scripts/Engines/BulkOrders/SmallTailorBOD.cs
@@ -6,8 +6,7 @@ namespace Server.Engines.BulkOrders
{
public class SmallTailorBOD : SmallBOD
{
- public static double[] m_TailoringMaterialChances = new[]
- {
+ public static double[] m_TailoringMaterialChances = {
0.857421875, // None
0.125000000, // Spined
0.015625000, // Horned
diff --git a/Scripts/Engines/CannedEvil/ChampionSpawnType.cs b/Scripts/Engines/CannedEvil/ChampionSpawnType.cs
index 071e37574..df862956d 100644
--- a/Scripts/Engines/CannedEvil/ChampionSpawnType.cs
+++ b/Scripts/Engines/CannedEvil/ChampionSpawnType.cs
@@ -38,8 +38,7 @@ namespace Server.Engines.CannedEvil
public static ChampionSpawnInfo[] Table => m_Table;
- private static readonly ChampionSpawnInfo[] m_Table = new[]
- {
+ private static readonly ChampionSpawnInfo[] m_Table = {
new ChampionSpawnInfo( "Abyss", typeof( Semidar ), new[]{ "Foe", "Assassin", "Conqueror" }, new[] // Abyss
{ // Abyss
new[]{ typeof( GreaterMongbat ), typeof( Imp ) }, // Level 1
diff --git a/Scripts/Engines/ConPVP/Arena.cs b/Scripts/Engines/ConPVP/Arena.cs
index 409b8eb7d..d9e3e17a5 100644
--- a/Scripts/Engines/ConPVP/Arena.cs
+++ b/Scripts/Engines/ConPVP/Arena.cs
@@ -400,8 +400,7 @@ namespace Server.Engines.ConPVP
}
#region Offsets & Rotation
- private static Point2D[] m_EdgeOffsets = new[]
- {
+ private static Point2D[] m_EdgeOffsets = {
/*
* /\
* /\/\
@@ -423,8 +422,7 @@ namespace Server.Engines.ConPVP
};
// nw corner
- private static Point2D[] m_CornerOffsets = new[]
- {
+ private static Point2D[] m_CornerOffsets = {
/*
* /\
* /\/\
@@ -444,8 +442,7 @@ namespace Server.Engines.ConPVP
new Point2D( 3, 0 )
};
- private static int[][,] m_Rotate = new[]
- {
+ private static int[][,] m_Rotate = {
new[,]{ { +1, 0 }, { 0, +1 } }, // west
new[,]{ { -1, 0 }, { 0, -1 } }, // east
new[,]{ { 0, +1 }, { +1, 0 } }, // north
diff --git a/Scripts/Engines/ConPVP/DuelContext.cs b/Scripts/Engines/ConPVP/DuelContext.cs
index 069f0476b..0818437ca 100644
--- a/Scripts/Engines/ConPVP/DuelContext.cs
+++ b/Scripts/Engines/ConPVP/DuelContext.cs
@@ -744,7 +744,7 @@ namespace Server.Engines.ConPVP
StopSDTimers();
- Type[] types = new[]{ typeof( BeginGump ), typeof( DuelContextGump ), typeof( ParticipantGump ), typeof( PickRulesetGump ), typeof( ReadyGump ), typeof( ReadyUpGump ), typeof( RulesetGump ) };
+ Type[] types = { typeof( BeginGump ), typeof( DuelContextGump ), typeof( ParticipantGump ), typeof( PickRulesetGump ), typeof( ReadyGump ), typeof( ReadyUpGump ), typeof( RulesetGump ) };
for ( int i = 0; i < m_Participants.Count; ++i )
{
@@ -1531,8 +1531,8 @@ namespace Server.Engines.ConPVP
public void CloseAllGumps()
{
- Type[] types = new[]{ typeof( DuelContextGump ), typeof( ParticipantGump ), typeof( RulesetGump ) };
- int[] defs = new[]{ -1, -1, -1 };
+ Type[] types = { typeof( DuelContextGump ), typeof( ParticipantGump ), typeof( RulesetGump ) };
+ int[] defs = { -1, -1, -1 };
for ( int i = 0; i < m_Participants.Count; ++i )
{
@@ -1559,8 +1559,8 @@ namespace Server.Engines.ConPVP
if ( m_StartedReadyCountdown )
return; // sanity
- Type[] types = new[]{ typeof( DuelContextGump ), typeof( ReadyUpGump ), typeof( ReadyGump ) };
- int[] defs = new[]{ -1, -1, -1 };
+ Type[] types = { typeof( DuelContextGump ), typeof( ReadyUpGump ), typeof( ReadyGump ) };
+ int[] defs = { -1, -1, -1 };
for ( int i = 0; i < m_Participants.Count; ++i )
{
@@ -1965,7 +1965,7 @@ namespace Server.Engines.ConPVP
BeginAutoTie();
}
- Type[] types = new[]{ typeof( ReadyGump ), typeof( ReadyUpGump ), typeof( BeginGump ) };
+ Type[] types = { typeof( ReadyGump ), typeof( ReadyUpGump ), typeof( BeginGump ) };
for ( int i = 0; i < m_Participants.Count; ++i )
{
@@ -2287,7 +2287,7 @@ namespace Server.Engines.ConPVP
m_ReadyWait = true;
m_ReadyCount = -1;
- Type[] types = new[]{ typeof( ReadyUpGump ) };
+ Type[] types = { typeof( ReadyUpGump ) };
for ( int i = 0; i < m_Participants.Count; ++i )
{
@@ -2523,7 +2523,7 @@ namespace Server.Engines.ConPVP
bool isAllReady = true;
- Type[] types = new[]{ typeof( ReadyGump ) };
+ Type[] types = { typeof( ReadyGump ) };
for ( int i = 0; i < m_Participants.Count; ++i )
{
diff --git a/Scripts/Engines/ConPVP/Ladder.cs b/Scripts/Engines/ConPVP/Ladder.cs
index 2c271ae9b..4681fe13c 100644
--- a/Scripts/Engines/ConPVP/Ladder.cs
+++ b/Scripts/Engines/ConPVP/Ladder.cs
@@ -72,8 +72,7 @@ namespace Server.Engines.ConPVP
public class Ladder
{
- private static int[] m_ShortLevels = new[]
- {
+ private static int[] m_ShortLevels = {
1,
2,
3, 3,
@@ -97,8 +96,7 @@ namespace Server.Engines.ConPVP
return m_ShortLevels[xp / 100];
}
- private static int[] m_BaseXP = new[]
- {
+ private static int[] m_BaseXP = {
0, 100, 200, 400, 600, 900, 1200, 1600, 2000, 2500
};
@@ -116,8 +114,7 @@ namespace Server.Engines.ConPVP
}
}
- private static int[] m_LossFactors = new[]
- {
+ private static int[] m_LossFactors = {
10,
11, 11,
25, 25,
@@ -133,8 +130,7 @@ namespace Server.Engines.ConPVP
return m_LossFactors[level - 1];
}
- private static int[,] m_OffsetScalar = new[,]
- {
+ private static int[,] m_OffsetScalar = {
/* { win, los } */
/* -6 */ { 175, 25 },
/* -5 */ { 165, 35 },
diff --git a/Scripts/Engines/Craft/Core/CraftItem.cs b/Scripts/Engines/Craft/Core/CraftItem.cs
index 558ffddac..c963ca001 100644
--- a/Scripts/Engines/Craft/Core/CraftItem.cs
+++ b/Scripts/Engines/Craft/Core/CraftItem.cs
@@ -284,8 +284,7 @@ namespace Server.Engines.Craft
}
#region Tables
- private static int[] m_HeatSources = new[]
- {
+ private static int[] m_HeatSources = {
0x461, 0x48E, // Sandstone oven/fireplace
0x92B, 0x96C, // Stone oven/fireplace
0xDE3, 0xDE9, // Campfire
@@ -300,21 +299,18 @@ namespace Server.Engines.Craft
0x2DD8, 0x2DD8 // Elven Forge
};
- private static int[] m_Ovens = new[]
- {
+ private static int[] m_Ovens = {
0x461, 0x46F, // Sandstone oven
0x92B, 0x93F, // Stone oven
0x2DDB, 0x2DDC //Elven stove
};
- private static int[] m_Mills = new[]
- {
+ private static int[] m_Mills = {
0x1920, 0x1921, 0x1922, 0x1923, 0x1924, 0x1295, 0x1926, 0x1928,
0x192C, 0x192D, 0x192E, 0x129F, 0x1930, 0x1931, 0x1932, 0x1934
};
- private static Type[][] m_TypesTable = new[]
- {
+ private static Type[][] m_TypesTable = {
new[]{ typeof( Log ), typeof( Board ) },
new[]{ typeof( HeartwoodLog ), typeof( HeartwoodBoard ) },
new[]{ typeof( BloodwoodLog ), typeof( BloodwoodBoard ) },
@@ -333,22 +329,19 @@ namespace Server.Engines.Craft
new[]{ typeof( WoodenBowlOfPeas ), typeof( PewterBowlOfPeas ) }
};
- private static Type[] m_ColoredItemTable = new[]
- {
+ private static Type[] m_ColoredItemTable = {
typeof( BaseWeapon ), typeof( BaseArmor ), typeof( BaseClothing ),
typeof( BaseJewel ), typeof( DragonBardingDeed )
};
- private static Type[] m_ColoredResourceTable = new[]
- {
+ private static Type[] m_ColoredResourceTable = {
typeof( BaseIngot ), typeof( BaseOre ),
typeof( BaseLeather ), typeof( BaseHides ),
typeof( UncutCloth ), typeof( Cloth ),
typeof( BaseGranite ), typeof( BaseScales )
};
- private static Type[] m_MarkableTable = new[]
- {
+ private static Type[] m_MarkableTable = {
typeof( BaseArmor ),
typeof( BaseWeapon ),
typeof( BaseClothing ),
@@ -361,8 +354,7 @@ namespace Server.Engines.Craft
typeof( BaseQuiver )
};
- private static Type[] m_NeverColorTable = new[]
- {
+ private static Type[] m_NeverColorTable = {
typeof( OrcHelm )
};
#endregion
diff --git a/Scripts/Engines/Craft/DefInscription.cs b/Scripts/Engines/Craft/DefInscription.cs
index a7a72c3cc..ac3a08771 100644
--- a/Scripts/Engines/Craft/DefInscription.cs
+++ b/Scripts/Engines/Craft/DefInscription.cs
@@ -120,8 +120,7 @@ namespace Server.Engines.Craft
SpidersSilk
}
- private Type[] m_RegTypes = new[]
- {
+ private Type[] m_RegTypes = {
typeof( BlackPearl ),
typeof( Bloodmoss ),
typeof( Garlic ),
diff --git a/Scripts/Engines/Craft/DefTailoring.cs b/Scripts/Engines/Craft/DefTailoring.cs
index 3079e7b9b..ba74d7e71 100644
--- a/Scripts/Engines/Craft/DefTailoring.cs
+++ b/Scripts/Engines/Craft/DefTailoring.cs
@@ -43,8 +43,7 @@ namespace Server.Engines.Craft
return 0;
}
- private static Type[] m_TailorColorables = new[]
- {
+ private static Type[] m_TailorColorables = {
typeof( GozaMatEastDeed ), typeof( GozaMatSouthDeed ),
typeof( SquareGozaMatEastDeed ), typeof( SquareGozaMatSouthDeed ),
typeof( BrocadeGozaMatEastDeed ), typeof( BrocadeGozaMatSouthDeed ),
diff --git a/Scripts/Engines/Craft/DefTinkering.cs b/Scripts/Engines/Craft/DefTinkering.cs
index 2a666745c..88e4a0e2e 100644
--- a/Scripts/Engines/Craft/DefTinkering.cs
+++ b/Scripts/Engines/Craft/DefTinkering.cs
@@ -48,8 +48,7 @@ namespace Server.Engines.Craft
return 0;
}
- private static Type[] m_TinkerColorables = new[]
- {
+ private static Type[] m_TinkerColorables = {
typeof( ForkLeft ), typeof( ForkRight ),
typeof( SpoonLeft ), typeof( SpoonRight ),
typeof( KnifeLeft ), typeof( KnifeRight ),
diff --git a/Scripts/Engines/Ethics/Core/Ethic.cs b/Scripts/Engines/Ethics/Core/Ethic.cs
index 205707fa6..42a36889b 100644
--- a/Scripts/Engines/Ethics/Core/Ethic.cs
+++ b/Scripts/Engines/Ethics/Core/Ethic.cs
@@ -236,8 +236,7 @@ namespace Server.Ethics
public static readonly Ethic Hero = new Hero.HeroEthic();
public static readonly Ethic Evil = new Evil.EvilEthic();
- public static readonly Ethic[] Ethics = new[]
- {
+ public static readonly Ethic[] Ethics = {
Hero,
Evil
};
diff --git a/Scripts/Engines/Factions/Core/MerchantTitles.cs b/Scripts/Engines/Factions/Core/MerchantTitles.cs
index a87443853..3e67e8eb5 100644
--- a/Scripts/Engines/Factions/Core/MerchantTitles.cs
+++ b/Scripts/Engines/Factions/Core/MerchantTitles.cs
@@ -36,8 +36,7 @@ namespace Server.Factions
public class MerchantTitles
{
- private static MerchantTitleInfo[] m_Info = new[]
- {
+ private static MerchantTitleInfo[] m_Info = {
new MerchantTitleInfo( SkillName.Inscribe, 90.0, new TextDefinition( 1060773, "Scribe" ), new TextDefinition( 1011468, "SCRIBE" ), new TextDefinition( 1010121, "You now have the faction title of scribe" ) ),
new MerchantTitleInfo( SkillName.Carpentry, 90.0, new TextDefinition( 1060774, "Carpenter" ), new TextDefinition( 1011469, "CARPENTER" ), new TextDefinition( 1010122, "You now have the faction title of carpenter" ) ),
new MerchantTitleInfo( SkillName.Tinkering, 90.0, new TextDefinition( 1022984, "Tinker" ), new TextDefinition( 1011470, "TINKER" ), new TextDefinition( 1010123, "You now have the faction title of tinker" ) ),
diff --git a/Scripts/Engines/Factions/Definitions/VendorDefinition.cs b/Scripts/Engines/Factions/Definitions/VendorDefinition.cs
index c08b4fb5e..158d55e93 100644
--- a/Scripts/Engines/Factions/Definitions/VendorDefinition.cs
+++ b/Scripts/Engines/Factions/Definitions/VendorDefinition.cs
@@ -38,8 +38,7 @@ namespace Server.Factions
m_Label = label;
}
- private static VendorDefinition[] m_Definitions = new[]
- {
+ private static VendorDefinition[] m_Definitions = {
new VendorDefinition( typeof( FactionBottleVendor ), 0xF0E,
5000,
1000,
diff --git a/Scripts/Engines/Factions/Gumps/FinanceGump.cs b/Scripts/Engines/Factions/Gumps/FinanceGump.cs
index a0fbd68b7..ac1f98db2 100644
--- a/Scripts/Engines/Factions/Gumps/FinanceGump.cs
+++ b/Scripts/Engines/Factions/Gumps/FinanceGump.cs
@@ -13,8 +13,7 @@ namespace Server.Factions
private Faction m_Faction;
private Town m_Town;
- private static int[] m_PriceOffsets = new[]
- {
+ private static int[] m_PriceOffsets = {
-30, -25, -20, -15, -10, -5,
+50, +100, +150, +200, +250, +300
};
diff --git a/Scripts/Engines/Factions/Mobiles/Guards/BaseFactionGuard.cs b/Scripts/Engines/Factions/Mobiles/Guards/BaseFactionGuard.cs
index d05611f61..94e3052d5 100644
--- a/Scripts/Engines/Factions/Mobiles/Guards/BaseFactionGuard.cs
+++ b/Scripts/Engines/Factions/Mobiles/Guards/BaseFactionGuard.cs
@@ -268,8 +268,7 @@ namespace Server.Factions
Utility.AssignRandomFacialHair( this, HairHue );
}
- private static Type[] m_StrongPotions = new[]
- {
+ private static Type[] m_StrongPotions = {
typeof( GreaterHealPotion ), typeof( GreaterHealPotion ), typeof( GreaterHealPotion ),
typeof( GreaterCurePotion ), typeof( GreaterCurePotion ), typeof( GreaterCurePotion ),
typeof( GreaterStrengthPotion ), typeof( GreaterStrengthPotion ),
@@ -278,8 +277,7 @@ namespace Server.Factions
typeof( GreaterExplosionPotion )
};
- private static Type[] m_WeakPotions = new[]
- {
+ private static Type[] m_WeakPotions = {
typeof( HealPotion ), typeof( HealPotion ), typeof( HealPotion ),
typeof( CurePotion ), typeof( CurePotion ), typeof( CurePotion ),
typeof( StrengthPotion ), typeof( StrengthPotion ),
diff --git a/Scripts/Engines/Harvest/Fishing.cs b/Scripts/Engines/Harvest/Fishing.cs
index e5ea5e789..53d48bb0f 100644
--- a/Scripts/Engines/Harvest/Fishing.cs
+++ b/Scripts/Engines/Harvest/Fishing.cs
@@ -123,8 +123,7 @@ namespace Server.Engines.Harvest
}
}
- private static MutateEntry[] m_MutateTable = new[]
- {
+ private static MutateEntry[] m_MutateTable = {
new MutateEntry( 80.0, 80.0, 4080.0, true, typeof( SpecialFishingNet ) ),
new MutateEntry( 80.0, 80.0, 4080.0, true, typeof( BigFish ) ),
new MutateEntry( 90.0, 80.0, 4080.0, true, typeof( TreasureMap ) ),
@@ -254,8 +253,7 @@ namespace Server.Engines.Harvest
{
case 0: // Body parts
{
- int[] list = new[]
- {
+ int[] list = {
0x1CDD, 0x1CE5, // arm
0x1CE0, 0x1CE8, // torso
0x1CE1, 0x1CE9, // head
@@ -267,8 +265,7 @@ namespace Server.Engines.Harvest
}
case 1: // Bone parts
{
- int[] list = new[]
- {
+ int[] list = {
0x1AE0, 0x1AE1, 0x1AE2, 0x1AE3, 0x1AE4, // skulls
0x1B09, 0x1B0A, 0x1B0B, 0x1B0C, 0x1B0D, 0x1B0E, 0x1B0F, 0x1B10, // bone piles
0x1B15, 0x1B16 // pelvis bones
@@ -303,8 +300,7 @@ namespace Server.Engines.Harvest
}
case 6: // Misc
{
- int[] list = new[]
- {
+ int[] list = {
0x1EB5, // unfinished barrel
0xA2A, // stool
0xC1F, // broken clock
@@ -550,8 +546,7 @@ namespace Server.Engines.Harvest
return true;
}
- private static int[] m_WaterTiles = new[]
- {
+ private static int[] m_WaterTiles = {
0x00A8, 0x00AB,
0x0136, 0x0137,
0x5797, 0x579C,
diff --git a/Scripts/Engines/Harvest/Lumberjacking.cs b/Scripts/Engines/Harvest/Lumberjacking.cs
index ff9b4a204..38a1559b0 100644
--- a/Scripts/Engines/Harvest/Lumberjacking.cs
+++ b/Scripts/Engines/Harvest/Lumberjacking.cs
@@ -182,8 +182,7 @@ namespace Server.Engines.Harvest
}
#region Tile lists
- private static int[] m_TreeTiles = new[]
- {
+ private static int[] m_TreeTiles = {
0x4CCA, 0x4CCB, 0x4CCC, 0x4CCD, 0x4CD0, 0x4CD3, 0x4CD6, 0x4CD8,
0x4CDA, 0x4CDD, 0x4CE0, 0x4CE3, 0x4CE6, 0x4CF8, 0x4CFB, 0x4CFE,
0x4D01, 0x4D41, 0x4D42, 0x4D43, 0x4D44, 0x4D57, 0x4D58, 0x4D59,
diff --git a/Scripts/Engines/Harvest/Mining.cs b/Scripts/Engines/Harvest/Mining.cs
index 7581aaa58..14b69d27a 100644
--- a/Scripts/Engines/Harvest/Mining.cs
+++ b/Scripts/Engines/Harvest/Mining.cs
@@ -260,8 +260,7 @@ namespace Server.Engines.Harvest
return base.MutateVein( from, tool, def, bank, toHarvest, vein );
}
- private static int[] m_Offsets = new[]
- {
+ private static int[] m_Offsets = {
-1, -1,
-1, 0,
-1, 1,
@@ -353,8 +352,7 @@ namespace Server.Engines.Harvest
}
#region Tile lists
- private static int[] m_MountainAndCaveTiles = new[]
- {
+ private static int[] m_MountainAndCaveTiles = {
220, 221, 222, 223, 224, 225, 226, 227, 228, 229,
230, 231, 236, 237, 238, 239, 240, 241, 242, 243,
244, 245, 246, 247, 252, 253, 254, 255, 256, 257,
@@ -392,8 +390,7 @@ namespace Server.Engines.Harvest
0x4549, 0x454A, 0x454B, 0x454C, 0x454D, 0x454E, 0x454F
};
- private static int[] m_SandTiles = new[]
- {
+ private static int[] m_SandTiles = {
22, 23, 24, 25, 26, 27, 28, 29, 30, 31,
32, 33, 34, 35, 36, 37, 38, 39, 40, 41,
42, 43, 44, 45, 46, 47, 48, 49, 50, 51,
diff --git a/Scripts/Engines/Help/PageQueue.cs b/Scripts/Engines/Help/PageQueue.cs
index 89d3a7a82..93b26d0c9 100644
--- a/Scripts/Engines/Help/PageQueue.cs
+++ b/Scripts/Engines/Help/PageQueue.cs
@@ -27,8 +27,7 @@ namespace Server.Engines.Help
public class PageEntry
{
// What page types should have a speech log as attachment?
- public static readonly PageType[] SpeechLogAttachment = new[]
- {
+ public static readonly PageType[] SpeechLogAttachment = {
PageType.VerbalHarassment
};
diff --git a/Scripts/Engines/Help/PageQueueGump.cs b/Scripts/Engines/Help/PageQueueGump.cs
index 8d4924d65..6a154fdbc 100644
--- a/Scripts/Engines/Help/PageQueueGump.cs
+++ b/Scripts/Engines/Help/PageQueueGump.cs
@@ -469,8 +469,7 @@ namespace Server.Engines.Help
private PageEntry m_Entry;
private Mobile m_Mobile;
- private static int[] m_AccessLevelHues = new[]
- {
+ private static int[] m_AccessLevelHues = {
2100,
2122,
2117,
diff --git a/Scripts/Engines/Help/StuckMenu.cs b/Scripts/Engines/Help/StuckMenu.cs
index d40ec6857..44db94e98 100644
--- a/Scripts/Engines/Help/StuckMenu.cs
+++ b/Scripts/Engines/Help/StuckMenu.cs
@@ -22,8 +22,7 @@ namespace Server.Menus.Questions
public class StuckMenu : Gump
{
- private static StuckMenuEntry[] m_Entries = new[]
- {
+ private static StuckMenuEntry[] m_Entries = {
// Britain
new StuckMenuEntry( 1011028, new[]
{
@@ -85,8 +84,7 @@ namespace Server.Menus.Questions
} )
};
- private static StuckMenuEntry[] m_T2AEntries = new[]
- {
+ private static StuckMenuEntry[] m_T2AEntries = {
// Papua
new StuckMenuEntry( 1011057, new[]
{
diff --git a/Scripts/Engines/MLQuests/Items/CraftmansSatchel.cs b/Scripts/Engines/MLQuests/Items/CraftmansSatchel.cs
index 3f92f8824..87a013330 100644
--- a/Scripts/Engines/MLQuests/Items/CraftmansSatchel.cs
+++ b/Scripts/Engines/MLQuests/Items/CraftmansSatchel.cs
@@ -6,7 +6,7 @@ namespace Server.Engines.MLQuests.Items
{
public abstract class BaseCraftmansSatchel : Backpack
{
- protected static readonly Type[] m_TalismanType = new[] { typeof( RandomTalisman ) };
+ protected static readonly Type[] m_TalismanType = { typeof( RandomTalisman ) };
public BaseCraftmansSatchel()
{
diff --git a/Scripts/Engines/MyRunUO/LayerComparer.cs b/Scripts/Engines/MyRunUO/LayerComparer.cs
index 3fc7b5f12..1b11f5db6 100644
--- a/Scripts/Engines/MyRunUO/LayerComparer.cs
+++ b/Scripts/Engines/MyRunUO/LayerComparer.cs
@@ -8,8 +8,7 @@ namespace Server.Engines.MyRunUO
private static Layer ChainTunic = (Layer)254;
private static Layer LeatherShorts = (Layer)253;
- private static Layer[] m_DesiredLayerOrder = new[]
- {
+ private static Layer[] m_DesiredLayerOrder = {
Layer.Cloak,
Layer.Bracelet,
Layer.Ring,
diff --git a/Scripts/Engines/Plants/MiscItems/GreenThorns.cs b/Scripts/Engines/Plants/MiscItems/GreenThorns.cs
index e3fc9f1f8..daf8a736f 100644
--- a/Scripts/Engines/Plants/MiscItems/GreenThorns.cs
+++ b/Scripts/Engines/Plants/MiscItems/GreenThorns.cs
@@ -158,8 +158,7 @@ namespace Server.Items
}
}
- private static TilesAndEffect[] m_Table = new[]
- {
+ private static TilesAndEffect[] m_Table = {
new TilesAndEffect( new[]
{
0x71, 0x7C,
diff --git a/Scripts/Engines/Plants/PlantBowl.cs b/Scripts/Engines/Plants/PlantBowl.cs
index 94d4e2e2f..31b275815 100644
--- a/Scripts/Engines/Plants/PlantBowl.cs
+++ b/Scripts/Engines/Plants/PlantBowl.cs
@@ -145,8 +145,7 @@ namespace Server.Engines.Plants
return contains;
}
- private static int[] m_DirtPatchTiles = new[]
- {
+ private static int[] m_DirtPatchTiles = {
0x9, 0x15,
0x71, 0x7C,
0x82, 0xA7,
diff --git a/Scripts/Engines/Plants/PlantResources.cs b/Scripts/Engines/Plants/PlantResources.cs
index afddc3760..fba42994c 100644
--- a/Scripts/Engines/Plants/PlantResources.cs
+++ b/Scripts/Engines/Plants/PlantResources.cs
@@ -5,8 +5,7 @@ namespace Server.Engines.Plants
{
public class PlantResourceInfo
{
- private static PlantResourceInfo[] m_ResourceList = new[]
- {
+ private static PlantResourceInfo[] m_ResourceList = {
new PlantResourceInfo( PlantType.ElephantEarPlant, PlantHue.BrightRed, typeof( RedLeaves ) ),
new PlantResourceInfo( PlantType.PonytailPalm, PlantHue.BrightRed, typeof( RedLeaves ) ),
new PlantResourceInfo( PlantType.CenturyPlant, PlantHue.BrightRed, typeof( RedLeaves ) ),
diff --git a/Scripts/Engines/Plants/PlantType.cs b/Scripts/Engines/Plants/PlantType.cs
index 933f77686..0be3b0d89 100644
--- a/Scripts/Engines/Plants/PlantType.cs
+++ b/Scripts/Engines/Plants/PlantType.cs
@@ -61,8 +61,7 @@ namespace Server.Engines.Plants
public class PlantTypeInfo
{
- private static PlantTypeInfo[] m_Table = new[]
- {
+ private static PlantTypeInfo[] m_Table = {
new PlantTypeInfo( 0xC83, 0, 0, PlantType.CampionFlowers, false, true, true, true, PlantCategory.Default ),
new PlantTypeInfo( 0xC86, 0, 0, PlantType.Poppies, false, true, true, true, PlantCategory.Default ),
new PlantTypeInfo( 0xC88, 0, 10, PlantType.Snowdrops, false, true, true, true, PlantCategory.Default ),
diff --git a/Scripts/Engines/Quests/Ambitious Solen Queen/AmbitiousQueenQuest.cs b/Scripts/Engines/Quests/Ambitious Solen Queen/AmbitiousQueenQuest.cs
index 4c357b1ab..7af2a2737 100644
--- a/Scripts/Engines/Quests/Ambitious Solen Queen/AmbitiousQueenQuest.cs
+++ b/Scripts/Engines/Quests/Ambitious Solen Queen/AmbitiousQueenQuest.cs
@@ -6,8 +6,7 @@ namespace Server.Engines.Quests.Ambitious
{
public class AmbitiousQueenQuest : QuestSystem
{
- private static Type[] m_TypeReferenceTable = new[]
- {
+ private static Type[] m_TypeReferenceTable = {
typeof( DontOfferConversation ),
typeof( AcceptConversation ),
typeof( DuringKillQueensConversation ),
diff --git a/Scripts/Engines/Quests/Collector/CollectorQuest.cs b/Scripts/Engines/Quests/Collector/CollectorQuest.cs
index 7f7a3aa5e..6577a49c1 100644
--- a/Scripts/Engines/Quests/Collector/CollectorQuest.cs
+++ b/Scripts/Engines/Quests/Collector/CollectorQuest.cs
@@ -5,8 +5,7 @@ namespace Server.Engines.Quests.Collector
{
public class CollectorQuest : QuestSystem
{
- private static Type[] m_TypeReferenceTable = new[]
- {
+ private static Type[] m_TypeReferenceTable = {
typeof( DontOfferConversation ),
typeof( DeclineConversation ),
typeof( AcceptConversation ),
diff --git a/Scripts/Engines/Quests/Collector/Items/ImageType.cs b/Scripts/Engines/Quests/Collector/Items/ImageType.cs
index 350f49246..2032e3b81 100644
--- a/Scripts/Engines/Quests/Collector/Items/ImageType.cs
+++ b/Scripts/Engines/Quests/Collector/Items/ImageType.cs
@@ -31,8 +31,7 @@ namespace Server.Engines.Quests.Collector
public class ImageTypeInfo
{
- private static readonly ImageTypeInfo[] m_Table = new[]
- {
+ private static readonly ImageTypeInfo[] m_Table = {
new ImageTypeInfo( 9734, typeof( Betrayer ), 75, 45 ),
new ImageTypeInfo( 9735, typeof( Bogling ), 75, 45 ),
new ImageTypeInfo( 9736, typeof( BogThing ), 60, 47 ),
diff --git a/Scripts/Engines/Quests/Collector/Items/Obsidian.cs b/Scripts/Engines/Quests/Collector/Items/Obsidian.cs
index 57603eedc..c754fe757 100644
--- a/Scripts/Engines/Quests/Collector/Items/Obsidian.cs
+++ b/Scripts/Engines/Quests/Collector/Items/Obsidian.cs
@@ -7,8 +7,7 @@ namespace Server.Engines.Quests.Collector
{
public class Obsidian : Item
{
- private static readonly string[] m_Names = new[]
- {
+ private static readonly string[] m_Names = {
null,
"an aggressive cavalier",
"a beguiling rogue",
diff --git a/Scripts/Engines/Quests/Core/Items/EnchantedSextant.cs b/Scripts/Engines/Quests/Core/Items/EnchantedSextant.cs
index fd0a3f6db..a589d1042 100644
--- a/Scripts/Engines/Quests/Core/Items/EnchantedSextant.cs
+++ b/Scripts/Engines/Quests/Core/Items/EnchantedSextant.cs
@@ -5,8 +5,7 @@ namespace Server.Items
public class EnchantedSextant : Item
{
//TODO: Trammel/Haven
- private static readonly Point2D[] m_TrammelBanks = new[]
- {
+ private static readonly Point2D[] m_TrammelBanks = {
new Point2D( 652, 820 ),
new Point2D( 1813, 2825 ),
new Point2D( 3734, 2149 ),
@@ -27,8 +26,7 @@ namespace Server.Items
new Point2D( 5669, 3131 )
};
- private static readonly Point2D[] m_FeluccaBanks = new[]
- {
+ private static readonly Point2D[] m_FeluccaBanks = {
new Point2D( 652, 820 ),
new Point2D( 1813, 2825 ),
new Point2D( 3734, 2149 ),
@@ -49,16 +47,14 @@ namespace Server.Items
new Point2D( 5669, 3131 )
};
- private static readonly Point2D[] m_IlshenarBanks = new[]
- {
+ private static readonly Point2D[] m_IlshenarBanks = {
new Point2D( 854, 680 ),
new Point2D( 855, 603 ),
new Point2D( 1226, 554 ),
new Point2D( 1610, 556 )
};
- private static readonly Point2D[] m_MalasBanks = new[]
- {
+ private static readonly Point2D[] m_MalasBanks = {
new Point2D( 996, 519 ),
new Point2D( 2048, 1345 )
};
diff --git a/Scripts/Engines/Quests/Core/QuestSystem.cs b/Scripts/Engines/Quests/Core/QuestSystem.cs
index 80e8a1f84..43c79f6d5 100644
--- a/Scripts/Engines/Quests/Core/QuestSystem.cs
+++ b/Scripts/Engines/Quests/Core/QuestSystem.cs
@@ -13,8 +13,7 @@ namespace Server.Engines.Quests
public abstract class QuestSystem
{
- public static readonly Type[] QuestTypes = new[]
- {
+ public static readonly Type[] QuestTypes = {
typeof( Doom.TheSummoningQuest ),
typeof( Necro.DarkTidesQuest ),
typeof( Haven.UzeraanTurmoilQuest ),
diff --git a/Scripts/Engines/Quests/Dark Tides/Conversations.cs b/Scripts/Engines/Quests/Dark Tides/Conversations.cs
index 524099748..0205cadc9 100644
--- a/Scripts/Engines/Quests/Dark Tides/Conversations.cs
+++ b/Scripts/Engines/Quests/Dark Tides/Conversations.cs
@@ -26,8 +26,7 @@ namespace Server.Engines.Quests.Necro
{
public override object Message => 1060099;
- private static QuestItemInfo[] m_Info = new[]
- {
+ private static QuestItemInfo[] m_Info = {
new QuestItemInfo( 1026153, 6178 ), // teleporter
new QuestItemInfo( 1049117, 4036 ), // Horn of Retreat
new QuestItemInfo( 1048032, 3702 ) // a bag
@@ -49,8 +48,7 @@ namespace Server.Engines.Quests.Necro
{
public override object Message => 1060103;
- private static QuestItemInfo[] m_Info = new[]
- {
+ private static QuestItemInfo[] m_Info = {
new QuestItemInfo( 1026153, 6178 ) // teleporter
};
@@ -98,8 +96,7 @@ namespace Server.Engines.Quests.Necro
{
public override object Message => 1060110;
- private static QuestItemInfo[] m_Info = new[]
- {
+ private static QuestItemInfo[] m_Info = {
new QuestItemInfo( 1023643, 8787 ) // spellbook
};
diff --git a/Scripts/Engines/Quests/Dark Tides/DarkTidesQuest.cs b/Scripts/Engines/Quests/Dark Tides/DarkTidesQuest.cs
index bd758e687..565964bd1 100644
--- a/Scripts/Engines/Quests/Dark Tides/DarkTidesQuest.cs
+++ b/Scripts/Engines/Quests/Dark Tides/DarkTidesQuest.cs
@@ -5,8 +5,7 @@ namespace Server.Engines.Quests.Necro
{
public class DarkTidesQuest : QuestSystem
{
- private static Type[] m_TypeReferenceTable = new[]
- {
+ private static Type[] m_TypeReferenceTable = {
typeof( AcceptConversation ),
typeof( AnimateMaabusCorpseObjective ),
typeof( BankerConversation ),
diff --git a/Scripts/Engines/Quests/Dark Tides/Objectives.cs b/Scripts/Engines/Quests/Dark Tides/Objectives.cs
index cfc84b62b..c5c1cd261 100644
--- a/Scripts/Engines/Quests/Dark Tides/Objectives.cs
+++ b/Scripts/Engines/Quests/Dark Tides/Objectives.cs
@@ -7,8 +7,7 @@ namespace Server.Engines.Quests.Necro
{
public override object Message => 1060102;
- private static QuestItemInfo[] m_Info = new[]
- {
+ private static QuestItemInfo[] m_Info = {
new QuestItemInfo( 1023643, 8787 ) // spellbook
};
@@ -116,8 +115,7 @@ namespace Server.Engines.Quests.Necro
{
public override object Message => 1060109;
- private static QuestItemInfo[] m_Info = new[]
- {
+ private static QuestItemInfo[] m_Info = {
new QuestItemInfo( 1023676, 3679 ) // glowing rune
};
@@ -197,8 +195,7 @@ namespace Server.Engines.Quests.Necro
{
public override object Message => 1060115;
- private static QuestItemInfo[] m_Info = new[]
- {
+ private static QuestItemInfo[] m_Info = {
new QuestItemInfo( 1026153, 6178 ) // teleporter
};
diff --git a/Scripts/Engines/Quests/Emino's Undertaking/EminosUndertakingQuest.cs b/Scripts/Engines/Quests/Emino's Undertaking/EminosUndertakingQuest.cs
index e0a2f7ddd..1c19a44a8 100644
--- a/Scripts/Engines/Quests/Emino's Undertaking/EminosUndertakingQuest.cs
+++ b/Scripts/Engines/Quests/Emino's Undertaking/EminosUndertakingQuest.cs
@@ -5,8 +5,7 @@ namespace Server.Engines.Quests.Ninja
{
public class EminosUndertakingQuest : QuestSystem
{
- private static Type[] m_TypeReferenceTable = new[]
- {
+ private static Type[] m_TypeReferenceTable = {
typeof( AcceptConversation ),
typeof( FindZoelConversation ),
typeof( RadarConversation ),
diff --git a/Scripts/Engines/Quests/Emino's Undertaking/Mobiles/HiddenFigure.cs b/Scripts/Engines/Quests/Emino's Undertaking/Mobiles/HiddenFigure.cs
index ed5942a63..455212b89 100644
--- a/Scripts/Engines/Quests/Emino's Undertaking/Mobiles/HiddenFigure.cs
+++ b/Scripts/Engines/Quests/Emino's Undertaking/Mobiles/HiddenFigure.cs
@@ -6,8 +6,7 @@ namespace Server.Engines.Quests.Ninja
{
public class HiddenFigure : BaseQuester
{
- public static int[] Messages = new[]
- {
+ public static int[] Messages = {
1063191, // They won�t find me here.
1063192 // Ah, a quiet hideout.
};
diff --git a/Scripts/Engines/Quests/Haochi's Trials/HaochisTrialsQuest.cs b/Scripts/Engines/Quests/Haochi's Trials/HaochisTrialsQuest.cs
index 9c2c8ab15..ee2d4c40f 100644
--- a/Scripts/Engines/Quests/Haochi's Trials/HaochisTrialsQuest.cs
+++ b/Scripts/Engines/Quests/Haochi's Trials/HaochisTrialsQuest.cs
@@ -5,8 +5,7 @@ namespace Server.Engines.Quests.Samurai
{
public class HaochisTrialsQuest : QuestSystem
{
- private static Type[] m_TypeReferenceTable = new[]
- {
+ private static Type[] m_TypeReferenceTable = {
typeof( AcceptConversation ),
typeof( RadarConversation ),
typeof( FirstTrialIntroConversation ),
diff --git a/Scripts/Engines/Quests/Solen Matriarch/SolenMatriarchQuest.cs b/Scripts/Engines/Quests/Solen Matriarch/SolenMatriarchQuest.cs
index 607f14b29..3b2cb95df 100644
--- a/Scripts/Engines/Quests/Solen Matriarch/SolenMatriarchQuest.cs
+++ b/Scripts/Engines/Quests/Solen Matriarch/SolenMatriarchQuest.cs
@@ -6,8 +6,7 @@ namespace Server.Engines.Quests.Matriarch
{
public class SolenMatriarchQuest : QuestSystem
{
- private static Type[] m_TypeReferenceTable = new[]
- {
+ private static Type[] m_TypeReferenceTable = {
typeof( DontOfferConversation ),
typeof( AcceptConversation ),
typeof( DuringKillInfiltratorsConversation ),
diff --git a/Scripts/Engines/Quests/Study of the Solen Hive/NestArea.cs b/Scripts/Engines/Quests/Study of the Solen Hive/NestArea.cs
index 81abddc98..3e5e9b3cc 100644
--- a/Scripts/Engines/Quests/Study of the Solen Hive/NestArea.cs
+++ b/Scripts/Engines/Quests/Study of the Solen Hive/NestArea.cs
@@ -2,8 +2,7 @@ namespace Server.Engines.Quests.Naturalist
{
public class NestArea
{
- private static readonly NestArea[] m_Areas = new[]
- {
+ private static readonly NestArea[] m_Areas = {
new NestArea( false, new Rectangle2D( 5861, 1787, 26, 25 ) ),
new NestArea( false, new Rectangle2D( 5734, 1788, 14, 50 ),
diff --git a/Scripts/Engines/Quests/Study of the Solen Hive/StudyOfSolenQuest.cs b/Scripts/Engines/Quests/Study of the Solen Hive/StudyOfSolenQuest.cs
index 94f55db53..198cb4f46 100644
--- a/Scripts/Engines/Quests/Study of the Solen Hive/StudyOfSolenQuest.cs
+++ b/Scripts/Engines/Quests/Study of the Solen Hive/StudyOfSolenQuest.cs
@@ -5,8 +5,7 @@ namespace Server.Engines.Quests.Naturalist
{
public class StudyOfSolenQuest : QuestSystem
{
- private static Type[] m_TypeReferenceTable = new[]
- {
+ private static Type[] m_TypeReferenceTable = {
typeof( StudyNestsObjective ),
typeof( ReturnToNaturalistObjective ),
typeof( DontOfferConversation ),
diff --git a/Scripts/Engines/Quests/Terrible Hatchlings/TerribleHatchlingsQuest.cs b/Scripts/Engines/Quests/Terrible Hatchlings/TerribleHatchlingsQuest.cs
index 68c973ef0..e52e1b933 100644
--- a/Scripts/Engines/Quests/Terrible Hatchlings/TerribleHatchlingsQuest.cs
+++ b/Scripts/Engines/Quests/Terrible Hatchlings/TerribleHatchlingsQuest.cs
@@ -5,8 +5,7 @@ namespace Server.Engines.Quests.Zento
{
public class TerribleHatchlingsQuest : QuestSystem
{
- private static Type[] m_TypeReferenceTable = new[]
- {
+ private static Type[] m_TypeReferenceTable = {
typeof( AcceptConversation ),
typeof( DirectionConversation ),
typeof( TakeCareConversation ),
diff --git a/Scripts/Engines/Quests/The Summoning/Mobiles/Chyloth.cs b/Scripts/Engines/Quests/The Summoning/Mobiles/Chyloth.cs
index f58bbfe7b..503422dff 100644
--- a/Scripts/Engines/Quests/The Summoning/Mobiles/Chyloth.cs
+++ b/Scripts/Engines/Quests/The Summoning/Mobiles/Chyloth.cs
@@ -95,8 +95,7 @@ namespace Server.Engines.Quests.Doom
Delete();
}
- private static int[] m_Offsets = new[]
- {
+ private static int[] m_Offsets = {
-1, -1,
-1, 0,
-1, 1,
diff --git a/Scripts/Engines/Quests/The Summoning/TheSummoningQuest.cs b/Scripts/Engines/Quests/The Summoning/TheSummoningQuest.cs
index 76b7036ff..e9ced7cfd 100644
--- a/Scripts/Engines/Quests/The Summoning/TheSummoningQuest.cs
+++ b/Scripts/Engines/Quests/The Summoning/TheSummoningQuest.cs
@@ -6,8 +6,7 @@ namespace Server.Engines.Quests.Doom
{
public class TheSummoningQuest : QuestSystem
{
- private static Type[] m_TypeReferenceTable = new[]
- {
+ private static Type[] m_TypeReferenceTable = {
typeof( AcceptConversation ),
typeof( CollectBonesObjective ),
typeof( VanquishDaemonConversation ),
diff --git a/Scripts/Engines/Quests/Uzeraan Turmoil/Conversations.cs b/Scripts/Engines/Quests/Uzeraan Turmoil/Conversations.cs
index 393615021..d4cba0d3d 100644
--- a/Scripts/Engines/Quests/Uzeraan Turmoil/Conversations.cs
+++ b/Scripts/Engines/Quests/Uzeraan Turmoil/Conversations.cs
@@ -125,8 +125,7 @@ namespace Server.Engines.Quests.Haven
}
}
- private static QuestItemInfo[] m_Info = new[]
- {
+ private static QuestItemInfo[] m_Info = {
new QuestItemInfo( 1023676, 0xE68 ) // glowing rune
};
@@ -214,8 +213,7 @@ namespace Server.Engines.Quests.Haven
}
}
- private static QuestItemInfo[] m_Info = new[]
- {
+ private static QuestItemInfo[] m_Info = {
new QuestItemInfo( 1026153, 0x1822 ), // teleporter
new QuestItemInfo( 1048032, 0xE76 ) // a bag
};
@@ -291,8 +289,7 @@ namespace Server.Engines.Quests.Haven
}
}
- private static QuestItemInfo[] m_Info = new[]
- {
+ private static QuestItemInfo[] m_Info = {
new QuestItemInfo( 1023637, 0xE34 ) // scroll
};
@@ -312,8 +309,7 @@ namespace Server.Engines.Quests.Haven
{
public override object Message => 1049325;
- private static QuestItemInfo[] m_Info = new[]
- {
+ private static QuestItemInfo[] m_Info = {
new QuestItemInfo( 1048030, 0x14EB ), // a Treasure Map
new QuestItemInfo( 1023969, 0xF81 ), // Fertile Dirt
new QuestItemInfo( 1049117, 0xFC4 ) // Horn of Retreat
@@ -401,8 +397,7 @@ namespace Server.Engines.Quests.Haven
}
}
- private static QuestItemInfo[] m_Info = new[]
- {
+ private static QuestItemInfo[] m_Info = {
new QuestItemInfo( 1023965, 0xF7D ), // Daemon Blood
new QuestItemInfo( 1022581, 0xA22 ), // lantern
};
@@ -469,13 +464,11 @@ namespace Server.Engines.Quests.Haven
}
}
- private static QuestItemInfo[] m_Info = new[]
- {
+ private static QuestItemInfo[] m_Info = {
new QuestItemInfo( 1017412, 0xF80 ), // Daemon Bone
};
- private static QuestItemInfo[] m_InfoPaladin = new[]
- {
+ private static QuestItemInfo[] m_InfoPaladin = {
new QuestItemInfo( 1017412, 0xF80 ), // Daemon Bone
new QuestItemInfo( 1060577, 0x1F14 ), // Recall Rune
};
diff --git a/Scripts/Engines/Quests/Uzeraan Turmoil/UzeraanTurmoilQuest.cs b/Scripts/Engines/Quests/Uzeraan Turmoil/UzeraanTurmoilQuest.cs
index 1407a3450..6942554b9 100644
--- a/Scripts/Engines/Quests/Uzeraan Turmoil/UzeraanTurmoilQuest.cs
+++ b/Scripts/Engines/Quests/Uzeraan Turmoil/UzeraanTurmoilQuest.cs
@@ -5,8 +5,7 @@ namespace Server.Engines.Quests.Haven
{
public class UzeraanTurmoilQuest : QuestSystem
{
- private static Type[] m_TypeReferenceTable = new[]
- {
+ private static Type[] m_TypeReferenceTable = {
typeof( AcceptConversation ),
typeof( UzeraanTitheConversation ),
typeof( UzeraanFirstTaskConversation ),
diff --git a/Scripts/Engines/Quests/Witch Apprentice/Ingredient.cs b/Scripts/Engines/Quests/Witch Apprentice/Ingredient.cs
index 836bc0245..f18891be3 100644
--- a/Scripts/Engines/Quests/Witch Apprentice/Ingredient.cs
+++ b/Scripts/Engines/Quests/Witch Apprentice/Ingredient.cs
@@ -24,8 +24,7 @@ namespace Server.Engines.Quests.Hag
public class IngredientInfo
{
- private static IngredientInfo[] m_Table = new[]
- {
+ private static IngredientInfo[] m_Table = {
// sheep liver
new IngredientInfo( 1055020, 5, typeof( Sheep ) ),
// rabbit's foot
diff --git a/Scripts/Engines/Quests/Witch Apprentice/Objectives.cs b/Scripts/Engines/Quests/Witch Apprentice/Objectives.cs
index 2566e721a..f6df3c29a 100644
--- a/Scripts/Engines/Quests/Witch Apprentice/Objectives.cs
+++ b/Scripts/Engines/Quests/Witch Apprentice/Objectives.cs
@@ -6,8 +6,7 @@ namespace Server.Engines.Quests.Hag
{
public class FindApprenticeObjective : QuestObjective
{
- private static Point3D[] m_CorpseLocations = new[]
- {
+ private static Point3D[] m_CorpseLocations = {
new Point3D( 778, 1158, 0 ),
new Point3D( 698, 1443, 0 ),
new Point3D( 785, 1548, 0 ),
diff --git a/Scripts/Engines/Quests/Witch Apprentice/WitchApprenticeQuest.cs b/Scripts/Engines/Quests/Witch Apprentice/WitchApprenticeQuest.cs
index b2456d3ed..2ff628647 100644
--- a/Scripts/Engines/Quests/Witch Apprentice/WitchApprenticeQuest.cs
+++ b/Scripts/Engines/Quests/Witch Apprentice/WitchApprenticeQuest.cs
@@ -5,8 +5,7 @@ namespace Server.Engines.Quests.Hag
{
public class WitchApprenticeQuest : QuestSystem
{
- private static Type[] m_TypeReferenceTable = new[]
- {
+ private static Type[] m_TypeReferenceTable = {
typeof( FindApprenticeObjective ),
typeof( FindGrizeldaAboutMurderObjective ),
typeof( KillImpsObjective ),
@@ -58,8 +57,7 @@ namespace Server.Engines.Quests.Hag
AddConversation( new AcceptConversation() );
}
- private static Point3D[] m_ZeefzorpulLocations = new[]
- {
+ private static Point3D[] m_ZeefzorpulLocations = {
new Point3D( 1226, 1573, 0 ),
new Point3D( 1929, 1148, 0 ),
new Point3D( 1366, 2723, 0 ),
diff --git a/Scripts/Engines/Reports/Rendering/BarGraphRenderer.cs b/Scripts/Engines/Reports/Rendering/BarGraphRenderer.cs
index edde56458..d7c4a3e2d 100644
--- a/Scripts/Engines/Reports/Rendering/BarGraphRenderer.cs
+++ b/Scripts/Engines/Reports/Rendering/BarGraphRenderer.cs
@@ -347,8 +347,7 @@ namespace Server.Engines.Reports
float oh = item.SweepSize;
float of = 9.5f;
- PointF[] pts = new[]
- {
+ PointF[] pts = {
new PointF( ox, oy ),
new PointF( ox + ow, oy ),
new PointF( ox + of, oy + of ),
diff --git a/Scripts/Engines/Treasures of Tokuno/BasePigmentsOfTokuno.cs b/Scripts/Engines/Treasures of Tokuno/BasePigmentsOfTokuno.cs
index d47c60ebf..10384bcc9 100644
--- a/Scripts/Engines/Treasures of Tokuno/BasePigmentsOfTokuno.cs
+++ b/Scripts/Engines/Treasures of Tokuno/BasePigmentsOfTokuno.cs
@@ -6,8 +6,7 @@ namespace Server.Items
{
public abstract class BasePigmentsOfTokuno : Item, IUsesRemaining
{
- private static Type[] m_Glasses = new[]
- {
+ private static Type[] m_Glasses = {
typeof( MaritimeGlasses ),
typeof( WizardsGlasses ),
typeof( TradeGlasses ),
@@ -22,8 +21,7 @@ namespace Server.Items
typeof( AnthropomorphistGlasses )
};
- private static Type[] m_Replicas = new[]
- {
+ private static Type[] m_Replicas = {
typeof( ANecromancerShroud ),
typeof( BraveKnightOfTheBritannia ),
typeof( CaptainJohnsHat ),
@@ -49,8 +47,7 @@ namespace Server.Items
typeof( Subdue )
};
- private static Type[] m_DyableHeritageItems = new[]
- {
+ private static Type[] m_DyableHeritageItems = {
typeof( ChargerOfTheFallen ),
typeof( SamuraiHelm ),
typeof( HolySword ),
diff --git a/Scripts/Engines/Treasures of Tokuno/GreaterArtifacts.cs b/Scripts/Engines/Treasures of Tokuno/GreaterArtifacts.cs
index b4351774e..9d70a1b3c 100644
--- a/Scripts/Engines/Treasures of Tokuno/GreaterArtifacts.cs
+++ b/Scripts/Engines/Treasures of Tokuno/GreaterArtifacts.cs
@@ -393,8 +393,7 @@ namespace Server.Items
public class PigmentsOfTokuno : BasePigmentsOfTokuno
{
- private static int[][] m_Table = new[]
- {
+ private static int[][] m_Table = {
// Hue, Label
new[]{ /*PigmentType.None,*/ 0, -1 },
new[]{ /*PigmentType.ParagonGold,*/ 0x501, 1070987 },
diff --git a/Scripts/Engines/Treasures of Tokuno/LesserArtifacts.cs b/Scripts/Engines/Treasures of Tokuno/LesserArtifacts.cs
index 8517cba6c..089fb6aed 100644
--- a/Scripts/Engines/Treasures of Tokuno/LesserArtifacts.cs
+++ b/Scripts/Engines/Treasures of Tokuno/LesserArtifacts.cs
@@ -625,8 +625,7 @@ namespace Server.Items
public class AncientUrn : Item
{
- private static string[] m_Names = new[]
- {
+ private static string[] m_Names = {
"Akira",
"Avaniaga",
"Aya",
@@ -917,8 +916,7 @@ namespace Server.Items
public class LesserPigmentsOfTokuno : BasePigmentsOfTokuno
{
- private static int[][] m_Table = new[]
- {
+ private static int[][] m_Table = {
// Hue, Label
new[]{ /*PigmentType.None,*/ 0, -1 },
new[]{ /*PigmentType.PaleOrange,*/ 0x02E, 1071458 },
diff --git a/Scripts/Engines/Treasures of Tokuno/TreasuresOfTokuno.cs b/Scripts/Engines/Treasures of Tokuno/TreasuresOfTokuno.cs
index cbb3bab02..e9611744d 100644
--- a/Scripts/Engines/Treasures of Tokuno/TreasuresOfTokuno.cs
+++ b/Scripts/Engines/Treasures of Tokuno/TreasuresOfTokuno.cs
@@ -21,8 +21,7 @@ namespace Server.Misc
{
public const int ItemsPerReward = 10;
- private static Type[] m_LesserArtifactsTotal = new[]
- {
+ private static Type[] m_LesserArtifactsTotal = {
typeof( AncientFarmersKasa ), typeof( AncientSamuraiDo ), typeof( ArmsOfTacticalExcellence ), typeof( BlackLotusHood ),
typeof( DaimyosHelm ), typeof( DemonForks ), typeof( DragonNunchaku ), typeof( Exiler ), typeof( GlovesOfTheSun ),
typeof( HanzosBow ), typeof( LegsOfStability ), typeof( PeasantsBokuto ), typeof( PilferedDancerFans ), typeof( TheDestroyer ),
@@ -47,8 +46,7 @@ namespace Server.Misc
set => _RewardEra = value;
}
- private static Type[][] m_LesserArtifacts = new[]
- {
+ private static Type[][] m_LesserArtifacts = {
// ToT One Rewards
new[] {
typeof( AncientFarmersKasa ), typeof( AncientSamuraiDo ), typeof( ArmsOfTacticalExcellence ), typeof( BlackLotusHood ),
@@ -432,8 +430,7 @@ namespace Server.Gumps
}
#region ToT Normal Rewards Table
- private static TypeTileButtonInfo[][] m_NormalRewards = new[]
- {
+ private static TypeTileButtonInfo[][] m_NormalRewards = {
// ToT One Rewards
new[] {
new TypeTileButtonInfo( typeof( SwordsOfProsperity ), 0x27A9, 1070963, 1071002 ),
@@ -478,8 +475,7 @@ namespace Server.Gumps
public static TypeTileButtonInfo[][] NormalRewards => m_NormalRewards;
#region ToT Pigment Rewards Table
- private static PigmentsTileButtonInfo[][] m_PigmentRewards = new[]
- {
+ private static PigmentsTileButtonInfo[][] m_PigmentRewards = {
// ToT One Pigment Rewards
new[] {
new PigmentsTileButtonInfo( PigmentType.ParagonGold ),
diff --git a/Scripts/Gumps/AddDoorGump.cs b/Scripts/Gumps/AddDoorGump.cs
index 1705a561a..00bec7a4e 100644
--- a/Scripts/Gumps/AddDoorGump.cs
+++ b/Scripts/Gumps/AddDoorGump.cs
@@ -101,8 +101,7 @@ namespace Server.Gumps
e.Mobile.SendGump( new AddDoorGump() );
}
- public static DoorInfo[] m_Types = new[]
- {
+ public static DoorInfo[] m_Types = {
new DoorInfo( typeof( MetalDoor ), 0x675 ),
new DoorInfo( typeof( RattanDoor ), 0x695 ),
new DoorInfo( typeof( DarkWoodDoor ), 0x6A5 ),
diff --git a/Scripts/Gumps/AdminGump.cs b/Scripts/Gumps/AdminGump.cs
index 049d82323..c5784937d 100644
--- a/Scripts/Gumps/AdminGump.cs
+++ b/Scripts/Gumps/AdminGump.cs
@@ -160,8 +160,7 @@ namespace Server.Gumps
}
}
- private static string[] m_AccessLevelStrings = new[]
- {
+ private static string[] m_AccessLevelStrings = {
"Player",
"Counselor",
"Game Master",
diff --git a/Scripts/Gumps/Guilds/New Guild System/GuildRosterGump.cs b/Scripts/Gumps/Guilds/New Guild System/GuildRosterGump.cs
index bd5ea351d..cb60b59dd 100644
--- a/Scripts/Gumps/Guilds/New Guild System/GuildRosterGump.cs
+++ b/Scripts/Gumps/Guilds/New Guild System/GuildRosterGump.cs
@@ -106,7 +106,6 @@ namespace Server.Guilds
#endregion
private static InfoField[] m_Fields =
- new[]
{
new InfoField( 1062955, 130, NameComparer.Instance ), //Name
new InfoField( 1062956, 80, RankComparer.Instance ), //Rank
diff --git a/Scripts/Gumps/HouseGumpAOS.cs b/Scripts/Gumps/HouseGumpAOS.cs
index 6c4bbe1a3..d998f4c6f 100644
--- a/Scripts/Gumps/HouseGumpAOS.cs
+++ b/Scripts/Gumps/HouseGumpAOS.cs
@@ -163,8 +163,7 @@ namespace Server.Gumps
return 1 + (index * 15) + type;
}
- private static int[] m_HangerNumbers = new[]
- {
+ private static int[] m_HangerNumbers = {
2968, 2970, 2972,
2974, 2976, 2978
};
@@ -178,8 +177,7 @@ namespace Server.Gumps
20, 189, 765, 65, 101
});
- private static int[] m_PostNumbers = new[]
- {
+ private static int[] m_PostNumbers = {
9, 29, 54, 90, 147, 169,
177, 204, 251, 257, 263,
298, 347, 424, 441, 466,
diff --git a/Scripts/Gumps/PlayerVendorGumps.cs b/Scripts/Gumps/PlayerVendorGumps.cs
index e42331ed7..c09d03715 100644
--- a/Scripts/Gumps/PlayerVendorGumps.cs
+++ b/Scripts/Gumps/PlayerVendorGumps.cs
@@ -381,7 +381,7 @@ namespace Server.Gumps
public int LocNumber => m_LocNum;
}
- private static CustomCategory[] Categories = new[]{
+ private static CustomCategory[] Categories = {
new CustomCategory( Layer.InnerTorso, 1011357, true, new[]{// Upper Torso
new CustomItem( typeof( Shirt ), 1011359, 5399 ),
new CustomItem( typeof( FancyShirt ), 1011360, 7933 ),
@@ -799,8 +799,7 @@ namespace Server.Gumps
}
}
- private static HairOrBeard[] m_HairStyles = new[]
- {
+ private static HairOrBeard[] m_HairStyles = {
new HairOrBeard( 0x203B, 1011052 ), // Short
new HairOrBeard( 0x203C, 1011053 ), // Long
new HairOrBeard( 0x203D, 1011054 ), // Ponytail
@@ -812,8 +811,7 @@ namespace Server.Gumps
new HairOrBeard( 0x2049, 1011049 ) // 2-tails
};
- private static HairOrBeard[] m_BeardStyles = new[]
- {
+ private static HairOrBeard[] m_BeardStyles = {
new HairOrBeard( 0x2041, 1011062 ), // Mustache
new HairOrBeard( 0x203F, 1011060 ), // Short beard
new HairOrBeard( 0x204B, 1015321 ), // Short Beard & Moustache
diff --git a/Scripts/Gumps/PolymorphGump.cs b/Scripts/Gumps/PolymorphGump.cs
index 58d299001..0a4552764 100644
--- a/Scripts/Gumps/PolymorphGump.cs
+++ b/Scripts/Gumps/PolymorphGump.cs
@@ -62,8 +62,7 @@ namespace Server.Gumps
public int LocNumber => m_Num;
}
- private static PolymorphCategory[] Categories = new[]
- {
+ private static PolymorphCategory[] Categories = {
new PolymorphCategory( 1015235, // Animals
PolymorphEntry.Chicken,
PolymorphEntry.Dog,
@@ -155,8 +154,7 @@ namespace Server.Gumps
public class NewPolymorphGump : Gump
{
- private static readonly PolymorphEntry[] m_Entries = new[]
- {
+ private static readonly PolymorphEntry[] m_Entries = {
PolymorphEntry.Chicken,
PolymorphEntry.Dog,
PolymorphEntry.Wolf,
diff --git a/Scripts/Gumps/Props/PropsGump.cs b/Scripts/Gumps/Props/PropsGump.cs
index a7ea80832..c8af42fe7 100644
--- a/Scripts/Gumps/Props/PropsGump.cs
+++ b/Scripts/Gumps/Props/PropsGump.cs
@@ -231,11 +231,11 @@ namespace Server.Gumps
}
}
- public static string[] m_BoolNames = new[]{ "True", "False" };
- public static object[] m_BoolValues = new object[]{ true, false };
+ public static string[] m_BoolNames = { "True", "False" };
+ public static object[] m_BoolValues = { true, false };
- public static string[] m_PoisonNames = new[]{ "None", "Lesser", "Regular", "Greater", "Deadly", "Lethal" };
- public static object[] m_PoisonValues = new object[]{ null, Poison.Lesser, Poison.Regular, Poison.Greater, Poison.Deadly, Poison.Lethal };
+ public static string[] m_PoisonNames = { "None", "Lesser", "Regular", "Greater", "Deadly", "Lethal" };
+ public static object[] m_PoisonValues = { null, Poison.Lesser, Poison.Regular, Poison.Greater, Poison.Deadly, Poison.Lethal };
public override void OnResponse( NetState state, RelayInfo info )
{
@@ -415,14 +415,12 @@ namespace Server.Gumps
private static Type typeofPropertyObject = typeof( PropertyObjectAttribute );
private static Type typeofNoSort = typeof( NoSortAttribute );
- private static Type[] typeofReal = new[]
- {
+ private static Type[] typeofReal = {
typeof( Single ),
typeof( Double )
};
- private static Type[] typeofNumeric = new[]
- {
+ private static Type[] typeofNumeric = {
typeof( Byte ),
typeof( Int16 ),
typeof( Int32 ),
diff --git a/Scripts/Gumps/Props/SetBodyGump.cs b/Scripts/Gumps/Props/SetBodyGump.cs
index 1d7ebb2f5..14cb43a8b 100644
--- a/Scripts/Gumps/Props/SetBodyGump.cs
+++ b/Scripts/Gumps/Props/SetBodyGump.cs
@@ -238,8 +238,7 @@ namespace Server.Gumps
public string Name => m_Name;
public string DisplayName => m_DisplayName;
- private static string[] m_GroupNames = new[]
- {
+ private static string[] m_GroupNames = {
"ogres_", "ettins_", "walking_dead_", "gargoyles_",
"orcs_", "flails_", "daemons_", "arachnids_",
"dragons_", "elementals_", "serpents_", "gazers_",
diff --git a/Scripts/Gumps/SkillsGump.cs b/Scripts/Gumps/SkillsGump.cs
index 260cdb58f..e28b0813c 100644
--- a/Scripts/Gumps/SkillsGump.cs
+++ b/Scripts/Gumps/SkillsGump.cs
@@ -457,8 +457,7 @@ namespace Server.Gumps
}
}
- private static SkillsGumpGroup[] m_Groups = new[]
- {
+ private static SkillsGumpGroup[] m_Groups = {
new SkillsGumpGroup( "Crafting", new[]
{
SkillName.Alchemy,
diff --git a/Scripts/Holiday Stuff/Halloween/2012/Engines/PlayerZombies.cs b/Scripts/Holiday Stuff/Halloween/2012/Engines/PlayerZombies.cs
index 2064b3923..87171192a 100644
--- a/Scripts/Holiday Stuff/Halloween/2012/Engines/PlayerZombies.cs
+++ b/Scripts/Holiday Stuff/Halloween/2012/Engines/PlayerZombies.cs
@@ -24,8 +24,7 @@ namespace Server.Engines.Events
private static List m_DeathQueue;
- private static Rectangle2D[] m_Cemetaries = new[]
- {
+ private static Rectangle2D[] m_Cemetaries = {
new Rectangle2D(1272,3712,30,20), // Jhelom
new Rectangle2D(1337,1444,48,52), // Britain
new Rectangle2D(2424,1098,20,28), // Trinsic
diff --git a/Scripts/Items/Addons/AddonComponent.cs b/Scripts/Items/Addons/AddonComponent.cs
index ef71a3d5b..2a2265e90 100644
--- a/Scripts/Items/Addons/AddonComponent.cs
+++ b/Scripts/Items/Addons/AddonComponent.cs
@@ -244,8 +244,7 @@ namespace Server.Items
}
}
- private static LightEntry[] m_Entries = new[]
- {
+ private static LightEntry[] m_Entries = {
new LightEntry( LightType.WestSmall, 1122, 1123, 1124, 1141, 1142, 1143, 1144, 1145, 1146, 2347, 2359, 2360, 2361, 2362, 2363, 2364, 2387, 2388, 2389, 2390, 2391, 2392 ),
new LightEntry( LightType.NorthSmall, 1131, 1133, 1134, 1147, 1148, 1149, 1150, 1151, 1152, 2352, 2373, 2374, 2375, 2376, 2377, 2378, 2401, 2402, 2403, 2404, 2405, 2406 ),
new LightEntry( LightType.Circle300, 6526, 6538, 6571 ),
diff --git a/Scripts/Items/Addons/FlourMillEastAddon.cs b/Scripts/Items/Addons/FlourMillEastAddon.cs
index 68ed801c8..96a32bec2 100644
--- a/Scripts/Items/Addons/FlourMillEastAddon.cs
+++ b/Scripts/Items/Addons/FlourMillEastAddon.cs
@@ -80,8 +80,7 @@ namespace Server.Items
UpdateStage();
}
- private static int[][] m_StageTable = new[]
- {
+ private static int[][] m_StageTable = {
new[]{ 0x1920, 0x1921, 0x1925 },
new[]{ 0x1922, 0x1923, 0x1926 },
new[]{ 0x1924, 0x1924, 0x1928 }
diff --git a/Scripts/Items/Addons/FlourMillSouthAddon.cs b/Scripts/Items/Addons/FlourMillSouthAddon.cs
index bd2105004..df95daa27 100644
--- a/Scripts/Items/Addons/FlourMillSouthAddon.cs
+++ b/Scripts/Items/Addons/FlourMillSouthAddon.cs
@@ -66,8 +66,7 @@ namespace Server.Items
UpdateStage();
}
- private static int[][] m_StageTable = new[]
- {
+ private static int[][] m_StageTable = {
new[]{ 0x192C, 0x192D, 0x1931 },
new[]{ 0x192E, 0x192F, 0x1932 },
new[]{ 0x1930, 0x1930, 0x1934 }
diff --git a/Scripts/Items/Aquarium/Aquarium.cs b/Scripts/Items/Aquarium/Aquarium.cs
index 264082c7e..0c4e43d47 100644
--- a/Scripts/Items/Aquarium/Aquarium.cs
+++ b/Scripts/Items/Aquarium/Aquarium.cs
@@ -895,8 +895,7 @@ namespace Server.Items
return null;
}
- private static Type[] m_Decorations = new[]
- {
+ private static Type[] m_Decorations = {
typeof( FishBones ),
typeof( WaterloggedBoots ),
typeof( CaptainBlackheartsFishingPole ),
@@ -924,8 +923,7 @@ namespace Server.Items
return false;
}
- private static int[] m_FishHues = new[]
- {
+ private static int[] m_FishHues = {
0x1C2, 0x1C3, 0x2A3, 0x47E, 0x51D
};
diff --git a/Scripts/Items/Champion Artifacts/Decorative/Pier.cs b/Scripts/Items/Champion Artifacts/Decorative/Pier.cs
index 88d621f04..8e78aefe1 100644
--- a/Scripts/Items/Champion Artifacts/Decorative/Pier.cs
+++ b/Scripts/Items/Champion Artifacts/Decorative/Pier.cs
@@ -16,8 +16,7 @@ namespace Server.Items
*
*/
- private static int[] m_itemids = new[]
- {
+ private static int[] m_itemids = {
0x3486, 0x348b, 0x3ae
};
diff --git a/Scripts/Items/Champion Artifacts/Decorative/Web.cs b/Scripts/Items/Champion Artifacts/Decorative/Web.cs
index 75a1f00f4..5aff8e2c9 100644
--- a/Scripts/Items/Champion Artifacts/Decorative/Web.cs
+++ b/Scripts/Items/Champion Artifacts/Decorative/Web.cs
@@ -2,8 +2,7 @@ namespace Server.Items
{
public class Web : Item
{
- private static int[] m_itemids = new[]
- {
+ private static int[] m_itemids = {
0x10d7, 0x10d8, 0x10dd
};
diff --git a/Scripts/Items/Construction/Doors/BaseDoor.cs b/Scripts/Items/Construction/Doors/BaseDoor.cs
index 94fe0579a..06426484f 100644
--- a/Scripts/Items/Construction/Doors/BaseDoor.cs
+++ b/Scripts/Items/Construction/Doors/BaseDoor.cs
@@ -17,8 +17,7 @@ namespace Server.Items
private Timer m_Timer;
- private static Point3D[] m_Offsets = new[]
- {
+ private static Point3D[] m_Offsets = {
new Point3D(-1, 1, 0 ),
new Point3D( 1, 1, 0 ),
new Point3D(-1, 0, 0 ),
diff --git a/Scripts/Items/Containers/FillableContainers.cs b/Scripts/Items/Containers/FillableContainers.cs
index 3df1e35fc..95b6ebccf 100644
--- a/Scripts/Items/Containers/FillableContainers.cs
+++ b/Scripts/Items/Containers/FillableContainers.cs
@@ -1470,8 +1470,7 @@ namespace Server.Items
private static Hashtable m_AcquireTable;
- private static FillableContent[] m_ContentTypes = new[]
- {
+ private static FillableContent[] m_ContentTypes = {
Weaponsmith, Provisioner, Mage,
Alchemist, Armorer, ArtisanGuild,
Baker, Bard, Blacksmith,
diff --git a/Scripts/Items/Containers/ParagonChest.cs b/Scripts/Items/Containers/ParagonChest.cs
index 3b133fc55..b56de9d2d 100644
--- a/Scripts/Items/Containers/ParagonChest.cs
+++ b/Scripts/Items/Containers/ParagonChest.cs
@@ -3,13 +3,11 @@ namespace Server.Items
[Flippable]
public class ParagonChest : LockableContainer
{
- private static int[] m_ItemIDs = new[]
- {
+ private static int[] m_ItemIDs = {
0x9AB, 0xE40, 0xE41, 0xE7C
};
- private static int[] m_Hues = new[]
- {
+ private static int[] m_Hues = {
0x0, 0x455, 0x47E, 0x89F, 0x8A5, 0x8AB,
0x966, 0x96D, 0x972, 0x973, 0x979
};
diff --git a/Scripts/Items/Containers/TreasureMapChest.cs b/Scripts/Items/Containers/TreasureMapChest.cs
index 88ad814be..5ba7a8773 100644
--- a/Scripts/Items/Containers/TreasureMapChest.cs
+++ b/Scripts/Items/Containers/TreasureMapChest.cs
@@ -13,8 +13,7 @@ namespace Server.Items
public static Type[] Artifacts => m_Artifacts;
- private static Type[] m_Artifacts = new[]
- {
+ private static Type[] m_Artifacts = {
typeof( CandelabraOfSouls ), typeof( GoldBricks ), typeof( PhillipsWoodenSteed ),
typeof( ArcticDeathDealer ), typeof( BlazeOfDeath ), typeof( BurglarsBandana ),
typeof( CavortingClub ), typeof( DreadPirateHat ),
diff --git a/Scripts/Items/Decoration Artifacts/StealableArtifactsSpawner.cs b/Scripts/Items/Decoration Artifacts/StealableArtifactsSpawner.cs
index 9f73fcf24..8080bfb4f 100644
--- a/Scripts/Items/Decoration Artifacts/StealableArtifactsSpawner.cs
+++ b/Scripts/Items/Decoration Artifacts/StealableArtifactsSpawner.cs
@@ -50,8 +50,7 @@ namespace Server.Items
}
}
- private static StealableEntry[] m_Entries = new[]
- {
+ private static StealableEntry[] m_Entries = {
// Doom - Artifact rarity 1
new StealableEntry( Map.Malas, new Point3D( 317, 56, -1 ), 72, 108, typeof( RockArtifact ) ),
new StealableEntry( Map.Malas, new Point3D( 360, 31, 8 ), 72, 108, typeof( SkullCandleArtifact ) ),
diff --git a/Scripts/Items/Food/Beverage.cs b/Scripts/Items/Food/Beverage.cs
index 2d313d4fb..3ce41c46b 100644
--- a/Scripts/Items/Food/Beverage.cs
+++ b/Scripts/Items/Food/Beverage.cs
@@ -814,8 +814,7 @@ namespace Server.Items
}
}
- private static int[] m_SwampTiles = new[]
- {
+ private static int[] m_SwampTiles = {
0x9C4, 0x9EB,
0x3D65, 0x3D65,
0x3DC0, 0x3DD9,
diff --git a/Scripts/Items/Maps/PresetMap.cs b/Scripts/Items/Maps/PresetMap.cs
index bd44aa89b..c2f66484e 100644
--- a/Scripts/Items/Maps/PresetMap.cs
+++ b/Scripts/Items/Maps/PresetMap.cs
@@ -79,8 +79,7 @@ namespace Server.Items
m_Bounds = new Rectangle2D( xLeft, yTop, xRight - xLeft, yBottom - yTop );
}
- private static PresetMapEntry[] m_Table = new[]
- {
+ private static PresetMapEntry[] m_Table = {
new PresetMapEntry( 1041189, 200, 200, 1092, 1396, 1736, 1924 ), // map of Britain
new PresetMapEntry( 1041203, 200, 200, 0256, 1792, 1736, 2560 ), // map of Britain to Skara Brae
new PresetMapEntry( 1041192, 200, 200, 1024, 1280, 2304, 3072 ), // map of Britain to Trinsic
diff --git a/Scripts/Items/Maps/TreasureMap.cs b/Scripts/Items/Maps/TreasureMap.cs
index 345fc4c9d..609dbee9d 100644
--- a/Scripts/Items/Maps/TreasureMap.cs
+++ b/Scripts/Items/Maps/TreasureMap.cs
@@ -45,8 +45,7 @@ namespace Server.Items
private static Point2D[] m_Locations;
private static Point2D[] m_HavenLocations;
- private static Type[][] m_SpawnTypes = new[]
- {
+ private static Type[][] m_SpawnTypes = {
new[]{ typeof( HeadlessOne ), typeof( Skeleton ) },
new[]{ typeof( Mongbat ), typeof( Ratman ), typeof( HeadlessOne ), typeof( Skeleton ), typeof( Zombie ) },
new[]{ typeof( OrcishMage ), typeof( Gargoyle ), typeof( Gazer ), typeof( HellHound ), typeof( EarthElemental ) },
diff --git a/Scripts/Items/Misc/CommunicationCrystals.cs b/Scripts/Items/Misc/CommunicationCrystals.cs
index d0de27afa..267b941c4 100644
--- a/Scripts/Items/Misc/CommunicationCrystals.cs
+++ b/Scripts/Items/Misc/CommunicationCrystals.cs
@@ -7,8 +7,7 @@ namespace Server.Items
{
public class CrystalRechargeInfo
{
- public static readonly CrystalRechargeInfo[] Table = new[]
- {
+ public static readonly CrystalRechargeInfo[] Table = {
new CrystalRechargeInfo( typeof( Citrine ), 500 ),
new CrystalRechargeInfo( typeof( Amber ), 500 ),
new CrystalRechargeInfo( typeof( Tourmaline ), 750 ),
diff --git a/Scripts/Items/Misc/DeceitBrazier.cs b/Scripts/Items/Misc/DeceitBrazier.cs
index 9aee6b949..b36c484c2 100644
--- a/Scripts/Items/Misc/DeceitBrazier.cs
+++ b/Scripts/Items/Misc/DeceitBrazier.cs
@@ -6,8 +6,7 @@ namespace Server.Items
{
public class DeceitBrazier : Item
{
- private static Type[] m_Creatures = new[]
- {
+ private static Type[] m_Creatures = {
#region Animals
typeof( FireSteed ), //Set the tents up people!
#endregion
diff --git a/Scripts/Items/Misc/FlippableAddonAttribute.cs b/Scripts/Items/Misc/FlippableAddonAttribute.cs
index 4e0f09891..85b4beca2 100644
--- a/Scripts/Items/Misc/FlippableAddonAttribute.cs
+++ b/Scripts/Items/Misc/FlippableAddonAttribute.cs
@@ -9,8 +9,7 @@ namespace Server.Items
{
private static string m_MethodName = "Flip";
- private static Type[] m_Params = new[]
- {
+ private static Type[] m_Params = {
typeof( Mobile ), typeof( Direction )
};
diff --git a/Scripts/Items/Misc/HairDye.cs b/Scripts/Items/Misc/HairDye.cs
index bb5e4ed89..ffb1bacc7 100644
--- a/Scripts/Items/Misc/HairDye.cs
+++ b/Scripts/Items/Misc/HairDye.cs
@@ -69,8 +69,7 @@ namespace Server.Items
}
}
- private static HairDyeEntry[] m_Entries = new[]
- {
+ private static HairDyeEntry[] m_Entries = {
new HairDyeEntry( "*****", 1602, 26 ),
new HairDyeEntry( "*****", 1628, 27 ),
new HairDyeEntry( "*****", 1502, 32 ),
diff --git a/Scripts/Items/Misc/Prism of Light/ShimmeringCrystal.cs b/Scripts/Items/Misc/Prism of Light/ShimmeringCrystal.cs
index 93bd418c4..344bd030a 100644
--- a/Scripts/Items/Misc/Prism of Light/ShimmeringCrystal.cs
+++ b/Scripts/Items/Misc/Prism of Light/ShimmeringCrystal.cs
@@ -5,8 +5,7 @@ namespace Server.Items
public override int LabelNumber => 1075095; // Shimmering Crystals
public override bool ForceShowProperties => true;
- private static readonly int[] m_ItemIDs = new[]
- {
+ private static readonly int[] m_ItemIDs = {
0x2206, 0x2207, 0x2208, 0x2209, 0x220A, 0x220B, 0x220C, 0x220D, 0x220E,
0x2210, 0x2211, 0x2212, 0x2213, 0x2214, 0x2215, 0x2216, 0x2217, 0x2218,
0x221A, 0x221B, 0x221C, 0x221D, 0x221E, 0x221F, 0x2220, 0x2221, 0x2222,
diff --git a/Scripts/Items/Misc/PublicMoongate.cs b/Scripts/Items/Misc/PublicMoongate.cs
index 9ae57cc45..dc42c02ee 100644
--- a/Scripts/Items/Misc/PublicMoongate.cs
+++ b/Scripts/Items/Misc/PublicMoongate.cs
@@ -249,16 +249,16 @@ namespace Server.Items
new PMEntry( new Point3D( 270, 628, 15 ), 1063414 ) // Homare-Jima
} );
- public static readonly PMList[] UORLists = new[] { Trammel, Felucca };
- public static readonly PMList[] UORListsYoung = new[] { Trammel };
- public static readonly PMList[] LBRLists = new[] { Trammel, Felucca, Ilshenar };
- public static readonly PMList[] LBRListsYoung = new[] { Trammel, Ilshenar };
- public static readonly PMList[] AOSLists = new[] { Trammel, Felucca, Ilshenar, Malas };
- public static readonly PMList[] AOSListsYoung = new[] { Trammel, Ilshenar, Malas };
- public static readonly PMList[] SELists = new[] { Trammel, Felucca, Ilshenar, Malas, Tokuno };
- public static readonly PMList[] SEListsYoung = new[] { Trammel, Ilshenar, Malas, Tokuno };
- public static readonly PMList[] RedLists = new[] { Felucca };
- public static readonly PMList[] SigilLists = new[] { Felucca };
+ public static readonly PMList[] UORLists = { Trammel, Felucca };
+ public static readonly PMList[] UORListsYoung = { Trammel };
+ public static readonly PMList[] LBRLists = { Trammel, Felucca, Ilshenar };
+ public static readonly PMList[] LBRListsYoung = { Trammel, Ilshenar };
+ public static readonly PMList[] AOSLists = { Trammel, Felucca, Ilshenar, Malas };
+ public static readonly PMList[] AOSListsYoung = { Trammel, Ilshenar, Malas };
+ public static readonly PMList[] SELists = { Trammel, Felucca, Ilshenar, Malas, Tokuno };
+ public static readonly PMList[] SEListsYoung = { Trammel, Ilshenar, Malas, Tokuno };
+ public static readonly PMList[] RedLists = { Felucca };
+ public static readonly PMList[] SigilLists = { Felucca };
}
public class MoongateGump : Gump
diff --git a/Scripts/Items/Misc/SpecialBeardDye.cs b/Scripts/Items/Misc/SpecialBeardDye.cs
index a295ba08f..50d35afa9 100644
--- a/Scripts/Items/Misc/SpecialBeardDye.cs
+++ b/Scripts/Items/Misc/SpecialBeardDye.cs
@@ -70,8 +70,7 @@ namespace Server.Items
}
}
- private static SpecialBeardDyeEntry[] m_Entries = new[]
- {
+ private static SpecialBeardDyeEntry[] m_Entries = {
new SpecialBeardDyeEntry( "*****", 12, 10 ),
new SpecialBeardDyeEntry( "*****", 32, 5 ),
new SpecialBeardDyeEntry( "*****", 38, 8 ),
diff --git a/Scripts/Items/Misc/SpecialHairDye.cs b/Scripts/Items/Misc/SpecialHairDye.cs
index 190e7b1fe..c86b5f5b4 100644
--- a/Scripts/Items/Misc/SpecialHairDye.cs
+++ b/Scripts/Items/Misc/SpecialHairDye.cs
@@ -71,8 +71,7 @@ namespace Server.Items
}
}
- private static SpecialHairDyeEntry[] m_Entries = new[]
- {
+ private static SpecialHairDyeEntry[] m_Entries = {
new SpecialHairDyeEntry( "*****", 12, 10 ),
new SpecialHairDyeEntry( "*****", 32, 5 ),
new SpecialHairDyeEntry( "*****", 38, 8 ),
diff --git a/Scripts/Items/Misc/WindChimes.cs b/Scripts/Items/Misc/WindChimes.cs
index dce9395c0..9f9828e95 100644
--- a/Scripts/Items/Misc/WindChimes.cs
+++ b/Scripts/Items/Misc/WindChimes.cs
@@ -19,7 +19,7 @@ namespace Server.Items
{
}
- private static int[] m_Sounds = new[] { 0x505, 0x506, 0x507 };
+ private static int[] m_Sounds = { 0x505, 0x506, 0x507 };
public static int[] Sounds => m_Sounds;
diff --git a/Scripts/Items/Quivers/BaseQuiver.cs b/Scripts/Items/Quivers/BaseQuiver.cs
index 0389992fa..5b09672a0 100644
--- a/Scripts/Items/Quivers/BaseQuiver.cs
+++ b/Scripts/Items/Quivers/BaseQuiver.cs
@@ -114,8 +114,7 @@ namespace Server.Items
return total;
}
- private static Type[] m_Ammo = new[]
- {
+ private static Type[] m_Ammo = {
typeof( Arrow ), typeof( Bolt )
};
diff --git a/Scripts/Items/Skill Items/Carpenter Items/TaxidermyKit.cs b/Scripts/Items/Skill Items/Carpenter Items/TaxidermyKit.cs
index 9ed23f2ed..3eab45002 100644
--- a/Scripts/Items/Skill Items/Carpenter Items/TaxidermyKit.cs
+++ b/Scripts/Items/Skill Items/Carpenter Items/TaxidermyKit.cs
@@ -51,8 +51,7 @@ namespace Server.Items
}
}
- private static TrophyInfo[] m_Table = new[]
- {
+ private static TrophyInfo[] m_Table = {
new TrophyInfo( typeof( BrownBear ), 0x1E60, 1041093, 1041107 ),
new TrophyInfo( typeof( GreatHart ), 0x1E61, 1041095, 1041109 ),
new TrophyInfo( typeof( BigFish ), 0x1E62, 1041096, 1041110 ),
diff --git a/Scripts/Items/Skill Items/Fishing/Misc/SOS.cs b/Scripts/Items/Skill Items/Fishing/Misc/SOS.cs
index 70c45785d..0aef7a07c 100644
--- a/Scripts/Items/Skill Items/Fishing/Misc/SOS.cs
+++ b/Scripts/Items/Skill Items/Fishing/Misc/SOS.cs
@@ -173,15 +173,14 @@ namespace Server.Items
}
}
- private static int[] m_WaterTiles = new[]
- {
+ private static int[] m_WaterTiles = {
0x00A8, 0x00AB,
0x0136, 0x0137
};
- private static Rectangle2D[] m_BritRegions = new[]{ new Rectangle2D( 0, 0, 5120, 4096 ) };
- private static Rectangle2D[] m_IlshRegions = new[]{ new Rectangle2D( 1472, 272, 304, 240 ), new Rectangle2D( 1240, 1000, 312, 160 ) };
- private static Rectangle2D[] m_MalasRegions = new[]{ new Rectangle2D( 1376, 1520, 464, 280 ) };
+ private static Rectangle2D[] m_BritRegions = { new Rectangle2D( 0, 0, 5120, 4096 ) };
+ private static Rectangle2D[] m_IlshRegions = { new Rectangle2D( 1472, 272, 304, 240 ), new Rectangle2D( 1240, 1000, 312, 160 ) };
+ private static Rectangle2D[] m_MalasRegions = { new Rectangle2D( 1376, 1520, 464, 280 ) };
public static Point3D FindLocation( Map map )
{
@@ -312,8 +311,7 @@ namespace Server.Items
m_Message = message;
}
- private static MessageEntry[] m_Entries = new[]
- {
+ private static MessageEntry[] m_Entries = {
new MessageEntry( 280, 180, "...Ar! {0} and a fair wind! No chance... storms, though--ar! Is that a sea serp...
uh oh." ),
new MessageEntry( 280, 215, "...been inside this whale for three days now. I've run out of food I can pick out of his teeth. I took a sextant reading through the blowhole: {0}. I'll never see my treasure again..." ),
new MessageEntry( 280, 285, "...grand adventure! Captain Quacklebush had me swab down the decks daily...
...pirates came, I was in the rigging practicing with my sextant. {0} if I am not mistaken...
....scuttled the ship, and our precious cargo went with her and the screaming pirates, down to the bottom of the sea..." ),
diff --git a/Scripts/Items/Skill Items/Fishing/Misc/SpecialFishingNet.cs b/Scripts/Items/Skill Items/Fishing/Misc/SpecialFishingNet.cs
index a6e0878df..7e01633fb 100644
--- a/Scripts/Items/Skill Items/Fishing/Misc/SpecialFishingNet.cs
+++ b/Scripts/Items/Skill Items/Fishing/Misc/SpecialFishingNet.cs
@@ -30,8 +30,7 @@ namespace Server.Items
Hue = 0x8A0;
}
- private static int[] m_Hues = new[]
- {
+ private static int[] m_Hues = {
0x09B,
0x0CD,
0x0D3,
@@ -312,8 +311,7 @@ namespace Server.Items
return valid;
}
- private static int[] m_WaterTiles = new[]
- {
+ private static int[] m_WaterTiles = {
0x00A8, 0x00AB,
0x0136, 0x0137
};
@@ -329,8 +327,7 @@ namespace Server.Items
return water;
}
- private static int[] m_UndeepWaterTiles = new[]
- {
+ private static int[] m_UndeepWaterTiles = {
0x1797, 0x179C
};
diff --git a/Scripts/Items/Skill Items/Magical/Potions/Cure Potions/CurePotion.cs b/Scripts/Items/Skill Items/Magical/Potions/Cure Potions/CurePotion.cs
index 8378fbe6e..39acd86a7 100644
--- a/Scripts/Items/Skill Items/Magical/Potions/Cure Potions/CurePotion.cs
+++ b/Scripts/Items/Skill Items/Magical/Potions/Cure Potions/CurePotion.cs
@@ -2,16 +2,14 @@ namespace Server.Items
{
public class CurePotion : BaseCurePotion
{
- private static CureLevelInfo[] m_OldLevelInfo = new[]
- {
+ private static CureLevelInfo[] m_OldLevelInfo = {
new CureLevelInfo( Poison.Lesser, 1.00 ), // 100% chance to cure lesser poison
new CureLevelInfo( Poison.Regular, 0.75 ), // 75% chance to cure regular poison
new CureLevelInfo( Poison.Greater, 0.50 ), // 50% chance to cure greater poison
new CureLevelInfo( Poison.Deadly, 0.15 ) // 15% chance to cure deadly poison
};
- private static CureLevelInfo[] m_AosLevelInfo = new[]
- {
+ private static CureLevelInfo[] m_AosLevelInfo = {
new CureLevelInfo( Poison.Lesser, 1.00 ),
new CureLevelInfo( Poison.Regular, 0.95 ),
new CureLevelInfo( Poison.Greater, 0.75 ),
diff --git a/Scripts/Items/Skill Items/Magical/Potions/Cure Potions/GreaterCurePotion.cs b/Scripts/Items/Skill Items/Magical/Potions/Cure Potions/GreaterCurePotion.cs
index 81819f517..1eab43dcb 100644
--- a/Scripts/Items/Skill Items/Magical/Potions/Cure Potions/GreaterCurePotion.cs
+++ b/Scripts/Items/Skill Items/Magical/Potions/Cure Potions/GreaterCurePotion.cs
@@ -2,8 +2,7 @@ namespace Server.Items
{
public class GreaterCurePotion : BaseCurePotion
{
- private static CureLevelInfo[] m_OldLevelInfo = new[]
- {
+ private static CureLevelInfo[] m_OldLevelInfo = {
new CureLevelInfo( Poison.Lesser, 1.00 ), // 100% chance to cure lesser poison
new CureLevelInfo( Poison.Regular, 1.00 ), // 100% chance to cure regular poison
new CureLevelInfo( Poison.Greater, 1.00 ), // 100% chance to cure greater poison
@@ -11,8 +10,7 @@ namespace Server.Items
new CureLevelInfo( Poison.Lethal, 0.25 ) // 25% chance to cure lethal poison
};
- private static CureLevelInfo[] m_AosLevelInfo = new[]
- {
+ private static CureLevelInfo[] m_AosLevelInfo = {
new CureLevelInfo( Poison.Lesser, 1.00 ),
new CureLevelInfo( Poison.Regular, 1.00 ),
new CureLevelInfo( Poison.Greater, 1.00 ),
diff --git a/Scripts/Items/Skill Items/Magical/Potions/Cure Potions/LesserCurePotion.cs b/Scripts/Items/Skill Items/Magical/Potions/Cure Potions/LesserCurePotion.cs
index da39d81a6..66116de47 100644
--- a/Scripts/Items/Skill Items/Magical/Potions/Cure Potions/LesserCurePotion.cs
+++ b/Scripts/Items/Skill Items/Magical/Potions/Cure Potions/LesserCurePotion.cs
@@ -2,15 +2,13 @@ namespace Server.Items
{
public class LesserCurePotion : BaseCurePotion
{
- private static CureLevelInfo[] m_OldLevelInfo = new[]
- {
+ private static CureLevelInfo[] m_OldLevelInfo = {
new CureLevelInfo( Poison.Lesser, 0.75 ), // 75% chance to cure lesser poison
new CureLevelInfo( Poison.Regular, 0.50 ), // 50% chance to cure regular poison
new CureLevelInfo( Poison.Greater, 0.15 ) // 15% chance to cure greater poison
};
- private static CureLevelInfo[] m_AosLevelInfo = new[]
- {
+ private static CureLevelInfo[] m_AosLevelInfo = {
new CureLevelInfo( Poison.Lesser, 0.75 ),
new CureLevelInfo( Poison.Regular, 0.50 ),
new CureLevelInfo( Poison.Greater, 0.25 )
diff --git a/Scripts/Items/Skill Items/Magical/Spellbook.cs b/Scripts/Items/Skill Items/Magical/Spellbook.cs
index 7efa3c306..bf0eff98d 100644
--- a/Scripts/Items/Skill Items/Magical/Spellbook.cs
+++ b/Scripts/Items/Skill Items/Magical/Spellbook.cs
@@ -804,8 +804,7 @@ namespace Server.Items
}
}
- private static int[] m_LegendPropertyCounts = new[]
- {
+ private static int[] m_LegendPropertyCounts = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 0 properties : 21/52 : 40%
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 1 property : 15/52 : 29%
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, // 2 properties : 10/52 : 19%
@@ -813,31 +812,27 @@ namespace Server.Items
};
- private static int[] m_ElderPropertyCounts = new[]
- {
+ private static int[] m_ElderPropertyCounts = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,// 0 properties : 15/34 : 44%
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 1 property : 10/34 : 29%
2, 2, 2, 2, 2, 2, // 2 properties : 6/34 : 18%
3, 3, 3 // 3 properties : 3/34 : 9%
};
- private static int[] m_GrandPropertyCounts = new[]
- {
+ private static int[] m_GrandPropertyCounts = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 0 properties : 10/20 : 50%
1, 1, 1, 1, 1, 1, // 1 property : 6/20 : 30%
2, 2, 2, // 2 properties : 3/20 : 15%
3 // 3 properties : 1/20 : 5%
};
- private static int[] m_MasterPropertyCounts = new[]
- {
+ private static int[] m_MasterPropertyCounts = {
0, 0, 0, 0, 0, 0, // 0 properties : 6/10 : 60%
1, 1, 1, // 1 property : 3/10 : 30%
2 // 2 properties : 1/10 : 10%
};
- private static int[] m_AdeptPropertyCounts = new[]
- {
+ private static int[] m_AdeptPropertyCounts = {
0, 0, 0, // 0 properties : 3/4 : 75%
1 // 1 property : 1/4 : 25%
};
diff --git a/Scripts/Items/Skill Items/Misc/RepairDeed.cs b/Scripts/Items/Skill Items/Misc/RepairDeed.cs
index 7e74ad701..6e7b021b1 100644
--- a/Scripts/Items/Skill Items/Misc/RepairDeed.cs
+++ b/Scripts/Items/Skill Items/Misc/RepairDeed.cs
@@ -34,8 +34,7 @@ namespace Server.Items
}
public static RepairSkillInfo[] Table => m_Table;
- private static RepairSkillInfo[] m_Table = new[]
- {
+ private static RepairSkillInfo[] m_Table = {
new RepairSkillInfo( DefBlacksmithy.CraftSystem, typeof( Blacksmith ), 1047013, 1023015 ),
new RepairSkillInfo( DefTailoring.CraftSystem, typeof( Tailor ), 1061132, 1022981 ),
new RepairSkillInfo( DefTinkering.CraftSystem, typeof( Tinker ), 1061166, 1022983 ),
diff --git a/Scripts/Items/Skill Items/Thief/DisguiseKit.cs b/Scripts/Items/Skill Items/Thief/DisguiseKit.cs
index 4db792659..e458ff8d6 100644
--- a/Scripts/Items/Skill Items/Thief/DisguiseKit.cs
+++ b/Scripts/Items/Skill Items/Thief/DisguiseKit.cs
@@ -227,8 +227,7 @@ namespace Server.Items
}
}
- private static DisguiseEntry[] m_HairEntries = new[]
- {
+ private static DisguiseEntry[] m_HairEntries = {
new DisguiseEntry( 8251, 50700, 0, 5, 1011052 ), // Short
new DisguiseEntry( 8261, 60710, 0, 3, 1011047 ), // Pageboy
new DisguiseEntry( 8252, 60708, 0,- 5, 1011053 ), // Long
@@ -241,8 +240,7 @@ namespace Server.Items
new DisguiseEntry( 0, 0, 0, 0, 1011051 ) // None
};
- private static DisguiseEntry[] m_BeardEntries = new[]
- {
+ private static DisguiseEntry[] m_BeardEntries = {
new DisguiseEntry( 8269, 50906, 0, 0, 1011401 ), // Vandyke
new DisguiseEntry( 8257, 50808, 0,- 2, 1011062 ), // Mustache
new DisguiseEntry( 8255, 50802, 0, 0, 1011060 ), // Short beard
diff --git a/Scripts/Items/Skill Items/Tools/BaseRunicTool.cs b/Scripts/Items/Skill Items/Tools/BaseRunicTool.cs
index 2781354f8..0ced510dd 100644
--- a/Scripts/Items/Skill Items/Tools/BaseRunicTool.cs
+++ b/Scripts/Items/Skill Items/Tools/BaseRunicTool.cs
@@ -139,8 +139,7 @@ namespace Server.Items
attrs[attr] = Scale( min, max, low / scale, high / scale ) * scale;
}
- private static SkillName[] m_PossibleBonusSkills = new[]
- {
+ private static SkillName[] m_PossibleBonusSkills = {
SkillName.Swords,
SkillName.Fencing,
SkillName.Macing,
@@ -171,8 +170,7 @@ namespace Server.Items
SkillName.Ninjitsu
};
- private static SkillName[] m_PossibleSpellbookSkills = new[]
- {
+ private static SkillName[] m_PossibleSpellbookSkills = {
SkillName.Magery,
SkillName.Meditation,
SkillName.EvalInt,
@@ -357,8 +355,7 @@ namespace Server.Items
int totalDamage = phys;
- AosElementAttribute[] attrs = new[]
- {
+ AosElementAttribute[] attrs = {
AosElementAttribute.Cold,
AosElementAttribute.Energy,
AosElementAttribute.Fire,
diff --git a/Scripts/Items/Special/8th Anniversary Items/Dawn's Music Box/DawnsMusicBox.cs b/Scripts/Items/Special/8th Anniversary Items/Dawn's Music Box/DawnsMusicBox.cs
index 156d68de6..3f4de163f 100644
--- a/Scripts/Items/Special/8th Anniversary Items/Dawn's Music Box/DawnsMusicBox.cs
+++ b/Scripts/Items/Special/8th Anniversary Items/Dawn's Music Box/DawnsMusicBox.cs
@@ -257,8 +257,7 @@ namespace Server.Items
m_Info.Add( MusicName.ValoriaShips, new DawnsMusicInfo( 1075140, DawnsMusicRarity.Rare ) );
}
- public static MusicName[] m_CommonTracks = new[]
- {
+ public static MusicName[] m_CommonTracks = {
MusicName.Samlethe, MusicName.Sailing, MusicName.Britain2, MusicName.Britain1,
MusicName.Bucsden, MusicName.Forest_a, MusicName.Cove, MusicName.Death,
MusicName.Dungeon9, MusicName.Dungeon2, MusicName.Cave01, MusicName.Combat3,
@@ -271,16 +270,14 @@ namespace Server.Items
MusicName.Mountn_a, MusicName.Wind, MusicName.Yew, MusicName.Zento
};
- public static MusicName[] m_UncommonTracks = new[]
- {
+ public static MusicName[] m_UncommonTracks = {
MusicName.GwennoConversation, MusicName.DreadHornArea, MusicName.ElfCity,
MusicName.GoodEndGame, MusicName.GoodVsEvil, MusicName.GreatEarthSerpents,
MusicName.GrizzleDungeon, MusicName.Humanoids_U9, MusicName.MelisandesLair,
MusicName.MinocNegative, MusicName.ParoxysmusLair, MusicName.Paws
};
- public static MusicName[] m_RareTracks = new[]
- {
+ public static MusicName[] m_RareTracks = {
MusicName.SelimsBar, MusicName.SerpentIsleCombat_U7, MusicName.ValoriaShips
};
diff --git a/Scripts/Items/Special/Holiday/HolidayBell.cs b/Scripts/Items/Special/Holiday/HolidayBell.cs
index a73eb5df4..617d33ddc 100644
--- a/Scripts/Items/Special/Holiday/HolidayBell.cs
+++ b/Scripts/Items/Special/Holiday/HolidayBell.cs
@@ -4,8 +4,7 @@ namespace Server.Items
{
public class HolidayBell : Item
{
- private static string[] m_StaffNames = new[]
- {
+ private static string[] m_StaffNames = {
"Adrick",
"Alai",
"Bulldoz",
@@ -29,8 +28,7 @@ namespace Server.Items
"Tyrant",
"Vex"
};
- private static int[] m_Hues = new[]
- {
+ private static int[] m_Hues = {
0xA, 0x24, 0x42, 0x56, 0x1A, 0x4C, 0x3C, 0x60, 0x2E, 0x55, 0x23, 0x38, 0x482, 0x6, 0x10
};
diff --git a/Scripts/Items/Special/Holiday/PKHolidayStuff.cs b/Scripts/Items/Special/Holiday/PKHolidayStuff.cs
index 9bc825c51..b4e9890ee 100644
--- a/Scripts/Items/Special/Holiday/PKHolidayStuff.cs
+++ b/Scripts/Items/Special/Holiday/PKHolidayStuff.cs
@@ -37,7 +37,7 @@ namespace Server.Items
[Constructible]
public BadCard() : base( 0x14ef )
{
- int[] m_CardHues=new[]{ 0x45, 0x27, 0x3d0 };
+ int[] m_CardHues={ 0x45, 0x27, 0x3d0 };
Hue = m_CardHues[Utility.Random(m_CardHues.Length)];
Stackable = false;
LootType=LootType.Blessed;
diff --git a/Scripts/Items/Special/Holiday/SnowGlobes.cs b/Scripts/Items/Special/Holiday/SnowGlobes.cs
index 4c5781625..d134f348e 100644
--- a/Scripts/Items/Special/Holiday/SnowGlobes.cs
+++ b/Scripts/Items/Special/Holiday/SnowGlobes.cs
@@ -137,8 +137,7 @@ namespace Server.Items
public class SnowGlobeTwo : SnowGlobe
{
/* Oddly, these are not localized. */
- private static readonly string[] m_PlaceNames = new[]
- {
+ private static readonly string[] m_PlaceNames = {
/* AncientCitadel */ "Ancient Citadel",
/* BlackthornesCastle */ "Blackthorne's Castle",
/* CityofMontor */ "City of Montor",
diff --git a/Scripts/Items/Special/Holiday/SnowPiles.cs b/Scripts/Items/Special/Holiday/SnowPiles.cs
index 1f245e101..65725ab80 100644
--- a/Scripts/Items/Special/Holiday/SnowPiles.cs
+++ b/Scripts/Items/Special/Holiday/SnowPiles.cs
@@ -5,7 +5,7 @@
public override string DefaultName => "Snow Pile";
public override double DefaultWeight => 2.0;
- private static readonly int[] m_Types = new[] { 0x8E2, 0x8E0, 0x8E6, 0x8E5, 0x8E3 };
+ private static readonly int[] m_Types = { 0x8E2, 0x8E0, 0x8E6, 0x8E5, 0x8E3 };
[Constructible]
public SnowPileDeco()
diff --git a/Scripts/Items/Special/Holiday/Snowman.cs b/Scripts/Items/Special/Holiday/Snowman.cs
index 347c12f1e..ff68e7a24 100644
--- a/Scripts/Items/Special/Holiday/Snowman.cs
+++ b/Scripts/Items/Special/Holiday/Snowman.cs
@@ -6,8 +6,7 @@ namespace Server.Items
public static string GetRandomTitle()
{
// All hail OSI staff
- string[] titles = new[]
- {
+ string[] titles = {
/* 1 */ "Backflash",
/* 2 */ "Carbon",
/* 3 */ "Colbalistic",
diff --git a/Scripts/Items/Special/MiniHouses.cs b/Scripts/Items/Special/MiniHouses.cs
index 2ef6967a7..57a439747 100644
--- a/Scripts/Items/Special/MiniHouses.cs
+++ b/Scripts/Items/Special/MiniHouses.cs
@@ -197,8 +197,7 @@ namespace Server.Items
m_Graphics = graphics;
}
- private static MiniHouseInfo[] m_Info = new[]
- {
+ private static MiniHouseInfo[] m_Info = {
/* Stone and plaster house */ new MiniHouseInfo( 0x22C4, 1, 1011303 ),
/* Field stone house */ new MiniHouseInfo( 0x22DE, 1, 1011304 ),
/* Small brick house */ new MiniHouseInfo( 0x22DF, 1, 1011305 ),
diff --git a/Scripts/Items/Special/MonsterStatuette.cs b/Scripts/Items/Special/MonsterStatuette.cs
index 9e7328576..eb89781e6 100644
--- a/Scripts/Items/Special/MonsterStatuette.cs
+++ b/Scripts/Items/Special/MonsterStatuette.cs
@@ -73,8 +73,7 @@ namespace Server.Items
m_Sounds = sounds;
}
- private static MonsterStatuetteInfo[] m_Table = new[]
- {
+ private static MonsterStatuetteInfo[] m_Table = {
/* Crocodile */ new MonsterStatuetteInfo( 1041249, 0x20DA, 660 ),
/* Daemon */ new MonsterStatuetteInfo( 1041250, 0x20D3, 357 ),
/* Dragon */ new MonsterStatuetteInfo( 1041251, 0x20D6, 362 ),
diff --git a/Scripts/Items/Special/Mutation Core/PlagueBeastBackpack.cs b/Scripts/Items/Special/Mutation Core/PlagueBeastBackpack.cs
index e4f3a4ef3..7ff43af4e 100644
--- a/Scripts/Items/Special/Mutation Core/PlagueBeastBackpack.cs
+++ b/Scripts/Items/Special/Mutation Core/PlagueBeastBackpack.cs
@@ -9,15 +9,13 @@ namespace Server.Items
public override int DefaultGumpID => 0x2A63;
public override int DefaultDropSound => 0x23F;
- private static int[,,] m_Positions = new[,,]
- {
+ private static int[,,] m_Positions = {
{ { 275, 85 }, { 360, 111 }, { 375, 184 }, { 332, 228 }, { 141, 105 }, { 189, 75 } },
{ { 274, 34 }, { 327, 89 }, { 354, 168 }, { 304, 225 }, { 113, 86 }, { 189, 75 } },
{ { 276, 79 }, { 369, 117 }, { 372, 192 }, { 336, 230 }, { 141, 116 }, { 189, 75 } },
};
- private static int[] m_BrainHues = new[]
- {
+ private static int[] m_BrainHues = {
0x2B, 0x42, 0x54, 0x60
};
diff --git a/Scripts/Items/Special/Mutation Core/PlagueBeastOrgans.cs b/Scripts/Items/Special/Mutation Core/PlagueBeastOrgans.cs
index 3da6780e4..9b0ca042d 100644
--- a/Scripts/Items/Special/Mutation Core/PlagueBeastOrgans.cs
+++ b/Scripts/Items/Special/Mutation Core/PlagueBeastOrgans.cs
@@ -284,8 +284,7 @@ namespace Server.Items
Opened = true;
}
- private static int[] m_Hues = new[]
- {
+ private static int[] m_Hues = {
0xD, 0x17, 0x2B, 0x42, 0x54, 0x5D
};
diff --git a/Scripts/Items/Special/Special Scrolls/PowerScroll.cs b/Scripts/Items/Special/Special Scrolls/PowerScroll.cs
index bce8b9da4..01f1dffcd 100644
--- a/Scripts/Items/Special/Special Scrolls/PowerScroll.cs
+++ b/Scripts/Items/Special/Special Scrolls/PowerScroll.cs
@@ -27,8 +27,7 @@ namespace Server.Items
public override string DefaultTitle => $"Power Scroll ({Value} Skill):";
- private static SkillName[] m_Skills = new[]
- {
+ private static SkillName[] m_Skills = {
SkillName.Blacksmith,
SkillName.Tailoring,
SkillName.Swords,
@@ -53,8 +52,7 @@ namespace Server.Items
SkillName.Peacemaking
};
- private static SkillName[] m_AOSSkills = new[]
- {
+ private static SkillName[] m_AOSSkills = {
SkillName.Chivalry,
SkillName.Focus,
SkillName.Necromancy,
@@ -63,14 +61,12 @@ namespace Server.Items
SkillName.SpiritSpeak
};
- private static SkillName[] m_SESkills = new[]
- {
+ private static SkillName[] m_SESkills = {
SkillName.Ninjitsu,
SkillName.Bushido
};
- private static SkillName[] m_MLSkills = new[]
- {
+ private static SkillName[] m_MLSkills = {
SkillName.Spellweaving
};
diff --git a/Scripts/Items/Special/Veteran Rewards/Brazier.cs b/Scripts/Items/Special/Veteran Rewards/Brazier.cs
index 28467311d..eed38fe12 100644
--- a/Scripts/Items/Special/Veteran Rewards/Brazier.cs
+++ b/Scripts/Items/Special/Veteran Rewards/Brazier.cs
@@ -27,8 +27,7 @@ namespace Server.Items
base.OnDelete();
}
- private static int[] m_Art = new[]
- {
+ private static int[] m_Art = {
0x19AA, 0x19BB
};
diff --git a/Scripts/Items/Special/Veteran Rewards/Cannon.cs b/Scripts/Items/Special/Veteran Rewards/Cannon.cs
index d30f4b7eb..cc99ed512 100644
--- a/Scripts/Items/Special/Veteran Rewards/Cannon.cs
+++ b/Scripts/Items/Special/Veteran Rewards/Cannon.cs
@@ -194,8 +194,7 @@ namespace Server.Items
from.SendLocalizedMessage( 1076198 ); // You do not have a full keg of explosion potions needed to recharge the cannon.
}
- private static int[] m_Effects = new[]
- {
+ private static int[] m_Effects = {
0x36B0, 0x3728, 0x3709, 0x36FE
};
diff --git a/Scripts/Items/Talismans/BaseTalisman.cs b/Scripts/Items/Talismans/BaseTalisman.cs
index e0b3aae27..1648a5cfe 100644
--- a/Scripts/Items/Talismans/BaseTalisman.cs
+++ b/Scripts/Items/Talismans/BaseTalisman.cs
@@ -749,8 +749,7 @@ namespace Server.Items
#endregion
#region Randomize
- private static int[] m_ItemIDs = new[]
- {
+ private static int[] m_ItemIDs = {
0x2F58, 0x2F59, 0x2F5A, 0x2F5B
};
@@ -759,8 +758,7 @@ namespace Server.Items
return Utility.RandomList(m_ItemIDs);
}
- private static Type[] m_Summons = new[]
- {
+ private static Type[] m_Summons = {
typeof( SummonedAntLion ),
typeof( SummonedCow ),
typeof( SummonedLavaSerpent ),
@@ -784,8 +782,7 @@ namespace Server.Items
typeof( Bandage ),
};
- private static int[] m_SummonLabels = new[]
- {
+ private static int[] m_SummonLabels = {
1075211, // Ant Lion
1072494, // Cow
1072434, // Lava Serpent
@@ -837,8 +834,7 @@ namespace Server.Items
return TalismanRemoval.None;
}
- private static Type[] m_Killers = new[]
- {
+ private static Type[] m_Killers = {
typeof( OrcBomber ), typeof( OrcBrute ), typeof( SewerRat ), typeof( Rat ), typeof( GiantRat ),
typeof( Ratman ), typeof( RatmanArcher ), typeof( GiantSpider ), typeof( FrostSpider ), typeof( GiantBlackWidow ),
typeof( DreadSpider ), typeof( SilverSerpent ), typeof( DeepSeaSerpent ), typeof( GiantSerpent ), typeof( Snake ),
@@ -855,8 +851,7 @@ namespace Server.Items
// TODO Meraktus, Tormented Minotaur, Minotaur
};
- private static int[] m_KillerLabels = new[]
- {
+ private static int[] m_KillerLabels = {
1072413, 1072414, 1072418, 1072419, 1072420,
1072421, 1072423, 1072424, 1072425, 1072426,
1072427, 1072428, 1072429, 1072430, 1072431,
@@ -902,8 +897,7 @@ namespace Server.Items
return new TalismanAttribute(m_Killers[num], m_KillerLabels[num], Utility.RandomMinMax(5, 60));
}
- private static SkillName[] m_Skills = new[]
- {
+ private static SkillName[] m_Skills = {
SkillName.Alchemy,
SkillName.Blacksmith,
SkillName.Carpentry,
diff --git a/Scripts/Items/Weapons/Artifacts/TheDryadBow.cs b/Scripts/Items/Weapons/Artifacts/TheDryadBow.cs
index edefd7d85..cea761d26 100644
--- a/Scripts/Items/Weapons/Artifacts/TheDryadBow.cs
+++ b/Scripts/Items/Weapons/Artifacts/TheDryadBow.cs
@@ -20,8 +20,7 @@ namespace Server.Items
WeaponAttributes.ResistPoisonBonus = 15;
}
- private static SkillName[] m_PossibleBonusSkills = new[]
- {
+ private static SkillName[] m_PossibleBonusSkills = {
SkillName.Archery,
SkillName.Healing,
SkillName.MagicResist,
diff --git a/Scripts/Items/Weapons/SlayerEntry.cs b/Scripts/Items/Weapons/SlayerEntry.cs
index 4e2160143..e401ab370 100644
--- a/Scripts/Items/Weapons/SlayerEntry.cs
+++ b/Scripts/Items/Weapons/SlayerEntry.cs
@@ -14,8 +14,7 @@ namespace Server.Items
public SlayerName Name => m_Name;
public Type[] Types => m_Types;
- private static int[] m_AosTitles = new[]
- {
+ private static int[] m_AosTitles = {
1060479, // undead slayer
1060470, // orc slayer
1060480, // troll slayer
@@ -45,8 +44,7 @@ namespace Server.Items
1070855 // fey slayer
};
- private static int[] m_OldTitles = new[]
- {
+ private static int[] m_OldTitles = {
1017384, // Silver
1017385, // Orc Slaying
1017386, // Troll Slaughter
diff --git a/Scripts/Items/Weapons/Staves/ShepherdsCrook.cs b/Scripts/Items/Weapons/Staves/ShepherdsCrook.cs
index 0fe1f82f2..892cc470d 100644
--- a/Scripts/Items/Weapons/Staves/ShepherdsCrook.cs
+++ b/Scripts/Items/Weapons/Staves/ShepherdsCrook.cs
@@ -92,8 +92,7 @@ namespace Server.Items
}
}
- private static Type[] m_ChampTamables = new[]
- {
+ private static Type[] m_ChampTamables = {
typeof( StrongMongbat ), typeof( Imp ), typeof( Scorpion ), typeof( GiantSpider ),
typeof( Snake ), typeof( LavaLizard ), typeof( Drake ), typeof( Dragon ),
typeof( Kirin ), typeof( Unicorn ), typeof( GiantRat ), typeof( Slime ),
diff --git a/Scripts/Misc/AutoSave.cs b/Scripts/Misc/AutoSave.cs
index 81bc3c86e..767ccbb31 100644
--- a/Scripts/Misc/AutoSave.cs
+++ b/Scripts/Misc/AutoSave.cs
@@ -88,8 +88,7 @@ namespace Server.Misc
World.Save( true, permitBackgroundWrite );
}
- private static string[] m_Backups = new[]
- {
+ private static string[] m_Backups = {
"Third Backup",
"Second Backup",
"Most Recent"
diff --git a/Scripts/Misc/CharacterCreation.cs b/Scripts/Misc/CharacterCreation.cs
index 9ad794a1b..8a31af5c9 100644
--- a/Scripts/Misc/CharacterCreation.cs
+++ b/Scripts/Misc/CharacterCreation.cs
@@ -1141,7 +1141,7 @@ namespace Server.Misc
addSkillItems = false;
EquipItem( new Kasa() );
- int[] hues = new[] { 0x1A8, 0xEC, 0x99, 0x90, 0xB5, 0x336, 0x89 };
+ int[] hues = { 0x1A8, 0xEC, 0x99, 0x90, 0xB5, 0x336, 0x89 };
//TODO: Verify that's ALL the hues for that above.
EquipItem( new TattsukeHakama( hues[Utility.Random(hues.Length)] ) );
diff --git a/Scripts/Misc/DoorGenerator.cs b/Scripts/Misc/DoorGenerator.cs
index 2982e91b3..24182abc1 100644
--- a/Scripts/Misc/DoorGenerator.cs
+++ b/Scripts/Misc/DoorGenerator.cs
@@ -5,8 +5,7 @@ namespace Server
{
public class DoorGenerator
{
- private static Rectangle2D[] m_BritRegions = new[]
- {
+ private static Rectangle2D[] m_BritRegions = {
new Rectangle2D( new Point2D( 250, 750 ), new Point2D( 775, 1330 ) ),
new Rectangle2D( new Point2D( 525, 2095 ), new Point2D( 925, 2430 ) ),
new Rectangle2D( new Point2D( 1025, 2155 ), new Point2D( 1265, 2310 ) ),
@@ -25,18 +24,15 @@ namespace Server
new Rectangle2D( new Point2D( 5120, 2300 ), new Point2D( 6143, 4095 ) )
};
- private static Rectangle2D[] m_IlshRegions = new[]
- {
+ private static Rectangle2D[] m_IlshRegions = {
new Rectangle2D( new Point2D( 0, 0 ), new Point2D( 288*8, 200*8 ) )
};
- private static Rectangle2D[] m_MalasRegions = new[]
- {
+ private static Rectangle2D[] m_MalasRegions = {
new Rectangle2D( new Point2D( 0, 0 ), new Point2D( 320*8, 256*8 ) )
};
- private static int[] m_SouthFrames = new[]
- {
+ private static int[] m_SouthFrames = {
0x0006,
0x0008,
0x000B,
@@ -109,8 +105,7 @@ namespace Server
0x020A
};
- private static int[] m_NorthFrames = new[]
- {
+ private static int[] m_NorthFrames = {
0x0006,
0x0008,
0x000D,
@@ -182,8 +177,7 @@ namespace Server
0x020A
};
- private static int[] m_EastFrames = new[]
- {
+ private static int[] m_EastFrames = {
0x0007,
0x000A,
0x001A,
@@ -256,8 +250,7 @@ namespace Server
0x0209
};
- private static int[] m_WestFrames = new[]
- {
+ private static int[] m_WestFrames = {
0x0007,
0x000C,
0x001A,
diff --git a/Scripts/Misc/Gifts/Winter2004/LightOfTheWinterSolstice.cs b/Scripts/Misc/Gifts/Winter2004/LightOfTheWinterSolstice.cs
index 03bf42b89..ded580b52 100644
--- a/Scripts/Misc/Gifts/Winter2004/LightOfTheWinterSolstice.cs
+++ b/Scripts/Misc/Gifts/Winter2004/LightOfTheWinterSolstice.cs
@@ -5,8 +5,7 @@ namespace Server.Items
[FlippableAttribute( 0x236E, 0x2371 )]
public class LightOfTheWinterSolstice : Item
{
- private static string[] m_StaffNames = new[]
- {
+ private static string[] m_StaffNames = {
"Aenima",
"Alkiser",
"ASayre",
diff --git a/Scripts/Misc/Guild.cs b/Scripts/Misc/Guild.cs
index 03bacd179..3233f612d 100644
--- a/Scripts/Misc/Guild.cs
+++ b/Scripts/Misc/Guild.cs
@@ -31,8 +31,7 @@ namespace Server.Guilds
public class RankDefinition
{
- public static RankDefinition[] Ranks = new[]
- {
+ public static RankDefinition[] Ranks = {
new RankDefinition( 1062963, 0, RankFlags.None ), //Ronin
new RankDefinition( 1062962, 1, RankFlags.Member ), //Member
new RankDefinition( 1062961, 2, RankFlags.Member | RankFlags.RemovePlayers | RankFlags.CanInvitePlayer | RankFlags.CanSetGuildTitle | RankFlags.CanPromoteDemote ), //Emmissary
diff --git a/Scripts/Misc/Loot.cs b/Scripts/Misc/Loot.cs
index d132cc9e2..eda2db12a 100644
--- a/Scripts/Misc/Loot.cs
+++ b/Scripts/Misc/Loot.cs
@@ -8,8 +8,7 @@ namespace Server
#region List definitions
#region Mondain's Legacy
- private static Type[] m_MLWeaponTypes = new[]
- {
+ private static Type[] m_MLWeaponTypes = {
typeof( AssassinSpike ), typeof( DiamondMace ), typeof( ElvenMachete ),
typeof( ElvenSpellblade ), typeof( Leafblade ), typeof( OrnateAxe ),
typeof( RadiantScimitar ), typeof( RuneBlade ), typeof( WarCleaver ),
@@ -18,15 +17,13 @@ namespace Server
public static Type[] MLWeaponTypes => m_MLWeaponTypes;
- private static Type[] m_MLRangedWeaponTypes = new[]
- {
+ private static Type[] m_MLRangedWeaponTypes = {
typeof( ElvenCompositeLongbow ), typeof( MagicalShortbow )
};
public static Type[] MLRangedWeaponTypes => m_MLRangedWeaponTypes;
- private static Type[] m_MLArmorTypes = new[]
- {
+ private static Type[] m_MLArmorTypes = {
typeof( Circlet ), typeof( GemmedCirclet ), typeof( LeafTonlet ),
typeof( RavenHelm ), typeof( RoyalCirclet ), typeof( VultureHelm ),
typeof( WingedHelm ), typeof( LeafArms ), typeof( LeafChest ),
@@ -39,8 +36,7 @@ namespace Server
public static Type[] MLArmorTypes => m_MLArmorTypes;
- private static Type[] m_MLClothingTypes = new[]
- {
+ private static Type[] m_MLClothingTypes = {
typeof( MaleElvenRobe ), typeof( FemaleElvenRobe ), typeof( ElvenPants ),
typeof( ElvenShirt ), typeof( ElvenDarkShirt ), typeof( ElvenBoots ),
typeof( VultureHelm ), typeof( WoodlandBelt )
@@ -50,8 +46,7 @@ namespace Server
#endregion
- private static Type[] m_SEWeaponTypes = new[]
- {
+ private static Type[] m_SEWeaponTypes = {
typeof( Bokuto ), typeof( Daisho ), typeof( Kama ),
typeof( Lajatang ), typeof( NoDachi ), typeof( Nunchaku ),
typeof( Sai ), typeof( Tekagi ), typeof( Tessen ),
@@ -60,8 +55,7 @@ namespace Server
public static Type[] SEWeaponTypes => m_SEWeaponTypes;
- private static Type[] m_AosWeaponTypes = new[]
- {
+ private static Type[] m_AosWeaponTypes = {
typeof( Scythe ), typeof( BoneHarvester ), typeof( Scepter ),
typeof( BladedStaff ), typeof( Pike ), typeof( DoubleBladedStaff ),
typeof( Lance ), typeof( CrescentBlade )
@@ -69,8 +63,7 @@ namespace Server
public static Type[] AosWeaponTypes => m_AosWeaponTypes;
- private static Type[] m_WeaponTypes = new[]
- {
+ private static Type[] m_WeaponTypes = {
typeof( Axe ), typeof( BattleAxe ), typeof( DoubleAxe ),
typeof( ExecutionersAxe ), typeof( Hatchet ), typeof( LargeBattleAxe ),
typeof( TwoHandedAxe ), typeof( WarAxe ), typeof( Club ),
@@ -87,29 +80,25 @@ namespace Server
public static Type[] WeaponTypes => m_WeaponTypes;
- private static Type[] m_SERangedWeaponTypes = new[]
- {
+ private static Type[] m_SERangedWeaponTypes = {
typeof( Yumi )
};
public static Type[] SERangedWeaponTypes => m_SERangedWeaponTypes;
- private static Type[] m_AosRangedWeaponTypes = new[]
- {
+ private static Type[] m_AosRangedWeaponTypes = {
typeof( CompositeBow ), typeof( RepeatingCrossbow )
};
public static Type[] AosRangedWeaponTypes => m_AosRangedWeaponTypes;
- private static Type[] m_RangedWeaponTypes = new[]
- {
+ private static Type[] m_RangedWeaponTypes = {
typeof( Bow ), typeof( Crossbow ), typeof( HeavyCrossbow )
};
public static Type[] RangedWeaponTypes => m_RangedWeaponTypes;
- private static Type[] m_SEArmorTypes = new[]
- {
+ private static Type[] m_SEArmorTypes = {
typeof( ChainHatsuburi ), typeof( LeatherDo ), typeof( LeatherHaidate ),
typeof( LeatherHiroSode ), typeof( LeatherJingasa ), typeof( LeatherMempo ),
typeof( LeatherNinjaHood ), typeof( LeatherNinjaJacket ), typeof( LeatherNinjaMitts ),
@@ -124,8 +113,7 @@ namespace Server
public static Type[] SEArmorTypes => m_SEArmorTypes;
- private static Type[] m_ArmorTypes = new[]
- {
+ private static Type[] m_ArmorTypes = {
typeof( BoneArms ), typeof( BoneChest ), typeof( BoneGloves ),
typeof( BoneLegs ), typeof( BoneHelm ), typeof( ChainChest ),
typeof( ChainLegs ), typeof( ChainCoif ), typeof( Bascinet ),
@@ -144,15 +132,13 @@ namespace Server
public static Type[] ArmorTypes => m_ArmorTypes;
- private static Type[] m_AosShieldTypes = new[]
- {
+ private static Type[] m_AosShieldTypes = {
typeof( ChaosShield ), typeof( OrderShield )
};
public static Type[] AosShieldTypes => m_AosShieldTypes;
- private static Type[] m_ShieldTypes = new[]
- {
+ private static Type[] m_ShieldTypes = {
typeof( BronzeShield ), typeof( Buckler ), typeof( HeaterShield ),
typeof( MetalShield ), typeof( MetalKiteShield ), typeof( WoodenKiteShield ),
typeof( WoodenShield )
@@ -160,8 +146,7 @@ namespace Server
public static Type[] ShieldTypes => m_ShieldTypes;
- private static Type[] m_GemTypes = new[]
- {
+ private static Type[] m_GemTypes = {
typeof( Amber ), typeof( Amethyst ), typeof( Citrine ),
typeof( Diamond ), typeof( Emerald ), typeof( Ruby ),
typeof( Sapphire ), typeof( StarSapphire ), typeof( Tourmaline )
@@ -169,16 +154,14 @@ namespace Server
public static Type[] GemTypes => m_GemTypes;
- private static Type[] m_JewelryTypes = new[]
- {
+ private static Type[] m_JewelryTypes = {
typeof( GoldRing ), typeof( GoldBracelet ),
typeof( SilverRing ), typeof( SilverBracelet )
};
public static Type[] JewelryTypes => m_JewelryTypes;
- private static Type[] m_RegTypes = new[]
- {
+ private static Type[] m_RegTypes = {
typeof( BlackPearl ), typeof( Bloodmoss ), typeof( Garlic ),
typeof( Ginseng ), typeof( MandrakeRoot ), typeof( Nightshade ),
typeof( SulfurousAsh ), typeof( SpidersSilk )
@@ -186,39 +169,34 @@ namespace Server
public static Type[] RegTypes => m_RegTypes;
- private static Type[] m_NecroRegTypes = new[]
- {
+ private static Type[] m_NecroRegTypes = {
typeof( BatWing ), typeof( GraveDust ), typeof( DaemonBlood ),
typeof( NoxCrystal ), typeof( PigIron )
};
public static Type[] NecroRegTypes => m_NecroRegTypes;
- private static Type[] m_PotionTypes = new[]
- {
+ private static Type[] m_PotionTypes = {
typeof( AgilityPotion ), typeof( StrengthPotion ), typeof( RefreshPotion ),
typeof( LesserCurePotion ), typeof( LesserHealPotion ), typeof( LesserPoisonPotion )
};
public static Type[] PotionTypes => m_PotionTypes;
- private static Type[] m_SEInstrumentTypes = new[]
- {
+ private static Type[] m_SEInstrumentTypes = {
typeof( BambooFlute )
};
public static Type[] SEInstrumentTypes => m_SEInstrumentTypes;
- private static Type[] m_InstrumentTypes = new[]
- {
+ private static Type[] m_InstrumentTypes = {
typeof( Drums ), typeof( Harp ), typeof( LapHarp ),
typeof( Lute ), typeof( Tambourine ), typeof( TambourineTassel )
};
public static Type[] InstrumentTypes => m_InstrumentTypes;
- private static Type[] m_StatueTypes = new[]
- {
+ private static Type[] m_StatueTypes = {
typeof( StatueSouth ), typeof( StatueSouth2 ), typeof( StatueNorth ),
typeof( StatueWest ), typeof( StatueEast ), typeof( StatueEast2 ),
typeof( StatueSouthEast ), typeof( BustSouth ), typeof( BustEast )
@@ -226,8 +204,7 @@ namespace Server
public static Type[] StatueTypes => m_StatueTypes;
- private static Type[] m_RegularScrollTypes = new[]
- {
+ private static Type[] m_RegularScrollTypes = {
typeof( ReactiveArmorScroll ), typeof( ClumsyScroll ), typeof( CreateFoodScroll ), typeof( FeeblemindScroll ),
typeof( HealScroll ), typeof( MagicArrowScroll ), typeof( NightSightScroll ), typeof( WeakenScroll ),
typeof( AgilityScroll ), typeof( CunningScroll ), typeof( CureScroll ), typeof( HarmScroll ),
@@ -246,16 +223,14 @@ namespace Server
typeof( SummonDaemonScroll ), typeof( SummonEarthElementalScroll ), typeof( SummonFireElementalScroll ), typeof( SummonWaterElementalScroll )
};
- private static Type[] m_NecromancyScrollTypes = new[]
- {
+ private static Type[] m_NecromancyScrollTypes = {
typeof( AnimateDeadScroll ), typeof( BloodOathScroll ), typeof( CorpseSkinScroll ), typeof( CurseWeaponScroll ),
typeof( EvilOmenScroll ), typeof( HorrificBeastScroll ), typeof( LichFormScroll ), typeof( MindRotScroll ),
typeof( PainSpikeScroll ), typeof( PoisonStrikeScroll ), typeof( StrangleScroll ), typeof( SummonFamiliarScroll ),
typeof( VampiricEmbraceScroll ), typeof( VengefulSpiritScroll ), typeof( WitherScroll ), typeof( WraithFormScroll )
};
- private static Type[] m_SENecromancyScrollTypes = new[]
- {
+ private static Type[] m_SENecromancyScrollTypes = {
typeof( AnimateDeadScroll ), typeof( BloodOathScroll ), typeof( CorpseSkinScroll ), typeof( CurseWeaponScroll ),
typeof( EvilOmenScroll ), typeof( HorrificBeastScroll ), typeof( LichFormScroll ), typeof( MindRotScroll ),
typeof( PainSpikeScroll ), typeof( PoisonStrikeScroll ), typeof( StrangleScroll ), typeof( SummonFamiliarScroll ),
@@ -266,8 +241,7 @@ namespace Server
private static Type[] m_PaladinScrollTypes = new Type[0];
#region Mondain's Legacy
- private static Type[] m_ArcanistScrollTypes = new[]
- {
+ private static Type[] m_ArcanistScrollTypes = {
typeof( ArcaneCircleScroll ), typeof( GiftOfRenewalScroll ), typeof( ImmolatingWeaponScroll ), typeof( AttuneWeaponScroll ),
typeof( ThunderstormScroll ), typeof( NatureFuryScroll ), /*typeof( SummonFeyScroll ), typeof( SummonFiendScroll ),*/
typeof( ReaperFormScroll ), typeof( WildfireScroll ), typeof( EssenceOfWindScroll ), typeof( DryadAllureScroll ),
@@ -285,8 +259,7 @@ namespace Server
#endregion
- private static Type[] m_GrimmochJournalTypes = new[]
- {
+ private static Type[] m_GrimmochJournalTypes = {
typeof( GrimmochJournal1 ), typeof( GrimmochJournal2 ), typeof( GrimmochJournal3 ),
typeof( GrimmochJournal6 ), typeof( GrimmochJournal7 ), typeof( GrimmochJournal11 ),
typeof( GrimmochJournal14 ), typeof( GrimmochJournal17 ), typeof( GrimmochJournal23 )
@@ -294,16 +267,14 @@ namespace Server
public static Type[] GrimmochJournalTypes => m_GrimmochJournalTypes;
- private static Type[] m_LysanderNotebookTypes = new[]
- {
+ private static Type[] m_LysanderNotebookTypes = {
typeof( LysanderNotebook1 ), typeof( LysanderNotebook2 ), typeof( LysanderNotebook3 ),
typeof( LysanderNotebook7 ), typeof( LysanderNotebook8 ), typeof( LysanderNotebook11 )
};
public static Type[] LysanderNotebookTypes => m_LysanderNotebookTypes;
- private static Type[] m_TavarasJournalTypes = new[]
- {
+ private static Type[] m_TavarasJournalTypes = {
typeof( TavarasJournal1 ), typeof( TavarasJournal2 ), typeof( TavarasJournal3 ),
typeof( TavarasJournal6 ), typeof( TavarasJournal7 ), typeof( TavarasJournal8 ),
typeof( TavarasJournal9 ), typeof( TavarasJournal11 ), typeof( TavarasJournal14 ),
@@ -314,28 +285,24 @@ namespace Server
public static Type[] TavarasJournalTypes => m_TavarasJournalTypes;
- private static Type[] m_NewWandTypes = new[]
- {
+ private static Type[] m_NewWandTypes = {
typeof( FireballWand ), typeof( LightningWand ), typeof( MagicArrowWand ),
typeof( GreaterHealWand ), typeof( HarmWand ), typeof( HealWand )
};
public static Type[] NewWandTypes => m_NewWandTypes;
- private static Type[] m_WandTypes = new[]
- {
+ private static Type[] m_WandTypes = {
typeof( ClumsyWand ), typeof( FeebleWand ),
typeof( ManaDrainWand ), typeof( WeaknessWand )
};
public static Type[] WandTypes => m_WandTypes;
- private static Type[] m_OldWandTypes = new[]
- {
+ private static Type[] m_OldWandTypes = {
typeof( IDWand )
};
public static Type[] OldWandTypes => m_OldWandTypes;
- private static Type[] m_SEClothingTypes = new[]
- {
+ private static Type[] m_SEClothingTypes = {
typeof( ClothNinjaJacket ), typeof( FemaleKimono ), typeof( Hakama ),
typeof( HakamaShita ), typeof( JinBaori ), typeof( Kamishimo ),
typeof( MaleKimono ), typeof( NinjaTabi ), typeof( Obi ),
@@ -344,16 +311,14 @@ namespace Server
public static Type[] SEClothingTypes => m_SEClothingTypes;
- private static Type[] m_AosClothingTypes = new[]
- {
+ private static Type[] m_AosClothingTypes = {
typeof( FurSarong ), typeof( FurCape ), typeof( FlowerGarland ),
typeof( GildedDress ), typeof( FurBoots ), typeof( FormalShirt ),
};
public static Type[] AosClothingTypes => m_AosClothingTypes;
- private static Type[] m_ClothingTypes = new[]
- {
+ private static Type[] m_ClothingTypes = {
typeof( Cloak ),
typeof( Bonnet ), typeof( Cap ), typeof( FeatheredHat ),
typeof( FloppyHat ), typeof( JesterHat ), typeof( Surcoat ),
@@ -369,22 +334,19 @@ namespace Server
};
public static Type[] ClothingTypes => m_ClothingTypes;
- private static Type[] m_SEHatTypes = new[]
- {
+ private static Type[] m_SEHatTypes = {
typeof( ClothNinjaHood ), typeof( Kasa )
};
public static Type[] SEHatTypes => m_SEHatTypes;
- private static Type[] m_AosHatTypes = new[]
- {
+ private static Type[] m_AosHatTypes = {
typeof( FlowerGarland ), typeof( BearMask ), typeof( DeerMask ) //Are Bear& Deer mask inside the Pre-AoS loottables too?
};
public static Type[] AosHatTypes => m_AosHatTypes;
- private static Type[] m_HatTypes = new[]
- {
+ private static Type[] m_HatTypes = {
typeof( SkullCap ), typeof( Bandana ), typeof( FloppyHat ),
typeof( Cap ), typeof( WideBrimHat ), typeof( StrawHat ),
typeof( TallStrawHat ), typeof( WizardsHat ), typeof( Bonnet ),
@@ -393,8 +355,7 @@ namespace Server
public static Type[] HatTypes => m_HatTypes;
- private static Type[] m_LibraryBookTypes = new[]
- {
+ private static Type[] m_LibraryBookTypes = {
typeof( GrammarOfOrcish ), typeof( CallToAnarchy ), typeof( ArmsAndWeaponsPrimer ),
typeof( SongOfSamlethe ), typeof( TaleOfThreeTribes ), typeof( GuideToGuilds ),
typeof( BirdsOfBritannia ), typeof( BritannianFlora ), typeof( ChildrenTalesVol2 ),
diff --git a/Scripts/Misc/LootPack.cs b/Scripts/Misc/LootPack.cs
index aed407eb2..5ac7834c0 100644
--- a/Scripts/Misc/LootPack.cs
+++ b/Scripts/Misc/LootPack.cs
@@ -92,39 +92,32 @@ namespace Server
}
}
- public static readonly LootPackItem[] Gold = new[]
- {
+ public static readonly LootPackItem[] Gold = {
new LootPackItem( typeof( Gold ), 1 )
};
- public static readonly LootPackItem[] Instruments = new[]
- {
+ public static readonly LootPackItem[] Instruments = {
new LootPackItem( typeof( BaseInstrument ), 1 )
};
- public static readonly LootPackItem[] LowScrollItems = new[]
- {
+ public static readonly LootPackItem[] LowScrollItems = {
new LootPackItem( typeof( ClumsyScroll ), 1 )
};
- public static readonly LootPackItem[] MedScrollItems = new[]
- {
+ public static readonly LootPackItem[] MedScrollItems = {
new LootPackItem( typeof( ArchCureScroll ), 1 )
};
- public static readonly LootPackItem[] HighScrollItems = new[]
- {
+ public static readonly LootPackItem[] HighScrollItems = {
new LootPackItem( typeof( SummonAirElementalScroll ), 1 )
};
- public static readonly LootPackItem[] GemItems = new[]
- {
+ public static readonly LootPackItem[] GemItems = {
new LootPackItem( typeof( Amber ), 1 )
};
- public static readonly LootPackItem[] PotionItems = new[]
- {
+ public static readonly LootPackItem[] PotionItems = {
new LootPackItem( typeof( AgilityPotion ), 1 ),
new LootPackItem( typeof( StrengthPotion ), 1 ),
new LootPackItem( typeof( RefreshPotion ), 1 ),
@@ -134,8 +127,7 @@ namespace Server
};
#region Old Magic Items
- public static readonly LootPackItem[] OldMagicItems = new[]
- {
+ public static readonly LootPackItem[] OldMagicItems = {
new LootPackItem( typeof( BaseJewel ), 1 ),
new LootPackItem( typeof( BaseArmor ), 4 ),
new LootPackItem( typeof( BaseWeapon ), 3 ),
@@ -145,8 +137,7 @@ namespace Server
#endregion
#region AOS Magic Items
- public static readonly LootPackItem[] AosMagicItemsPoor = new[]
- {
+ public static readonly LootPackItem[] AosMagicItemsPoor = {
new LootPackItem( typeof( BaseWeapon ), 3 ),
new LootPackItem( typeof( BaseRanged ), 1 ),
new LootPackItem( typeof( BaseArmor ), 4 ),
@@ -154,8 +145,7 @@ namespace Server
new LootPackItem( typeof( BaseJewel ), 2 )
};
- public static readonly LootPackItem[] AosMagicItemsMeagerType1 = new[]
- {
+ public static readonly LootPackItem[] AosMagicItemsMeagerType1 = {
new LootPackItem( typeof( BaseWeapon ), 56 ),
new LootPackItem( typeof( BaseRanged ), 14 ),
new LootPackItem( typeof( BaseArmor ), 81 ),
@@ -163,8 +153,7 @@ namespace Server
new LootPackItem( typeof( BaseJewel ), 42 )
};
- public static readonly LootPackItem[] AosMagicItemsMeagerType2 = new[]
- {
+ public static readonly LootPackItem[] AosMagicItemsMeagerType2 = {
new LootPackItem( typeof( BaseWeapon ), 28 ),
new LootPackItem( typeof( BaseRanged ), 7 ),
new LootPackItem( typeof( BaseArmor ), 40 ),
@@ -172,8 +161,7 @@ namespace Server
new LootPackItem( typeof( BaseJewel ), 21 )
};
- public static readonly LootPackItem[] AosMagicItemsAverageType1 = new[]
- {
+ public static readonly LootPackItem[] AosMagicItemsAverageType1 = {
new LootPackItem( typeof( BaseWeapon ), 90 ),
new LootPackItem( typeof( BaseRanged ), 23 ),
new LootPackItem( typeof( BaseArmor ), 130 ),
@@ -181,8 +169,7 @@ namespace Server
new LootPackItem( typeof( BaseJewel ), 68 )
};
- public static readonly LootPackItem[] AosMagicItemsAverageType2 = new[]
- {
+ public static readonly LootPackItem[] AosMagicItemsAverageType2 = {
new LootPackItem( typeof( BaseWeapon ), 54 ),
new LootPackItem( typeof( BaseRanged ), 13 ),
new LootPackItem( typeof( BaseArmor ), 77 ),
@@ -190,8 +177,7 @@ namespace Server
new LootPackItem( typeof( BaseJewel ), 40 )
};
- public static readonly LootPackItem[] AosMagicItemsRichType1 = new[]
- {
+ public static readonly LootPackItem[] AosMagicItemsRichType1 = {
new LootPackItem( typeof( BaseWeapon ), 211 ),
new LootPackItem( typeof( BaseRanged ), 53 ),
new LootPackItem( typeof( BaseArmor ), 303 ),
@@ -199,8 +185,7 @@ namespace Server
new LootPackItem( typeof( BaseJewel ), 158 )
};
- public static readonly LootPackItem[] AosMagicItemsRichType2 = new[]
- {
+ public static readonly LootPackItem[] AosMagicItemsRichType2 = {
new LootPackItem( typeof( BaseWeapon ), 170 ),
new LootPackItem( typeof( BaseRanged ), 43 ),
new LootPackItem( typeof( BaseArmor ), 245 ),
@@ -208,8 +193,7 @@ namespace Server
new LootPackItem( typeof( BaseJewel ), 128 )
};
- public static readonly LootPackItem[] AosMagicItemsFilthyRichType1 = new[]
- {
+ public static readonly LootPackItem[] AosMagicItemsFilthyRichType1 = {
new LootPackItem( typeof( BaseWeapon ), 219 ),
new LootPackItem( typeof( BaseRanged ), 55 ),
new LootPackItem( typeof( BaseArmor ), 315 ),
@@ -217,8 +201,7 @@ namespace Server
new LootPackItem( typeof( BaseJewel ), 164 )
};
- public static readonly LootPackItem[] AosMagicItemsFilthyRichType2 = new[]
- {
+ public static readonly LootPackItem[] AosMagicItemsFilthyRichType2 = {
new LootPackItem( typeof( BaseWeapon ), 239 ),
new LootPackItem( typeof( BaseRanged ), 60 ),
new LootPackItem( typeof( BaseArmor ), 343 ),
@@ -226,8 +209,7 @@ namespace Server
new LootPackItem( typeof( BaseJewel ), 45 )
};
- public static readonly LootPackItem[] AosMagicItemsUltraRich = new[]
- {
+ public static readonly LootPackItem[] AosMagicItemsUltraRich = {
new LootPackItem( typeof( BaseWeapon ), 276 ),
new LootPackItem( typeof( BaseRanged ), 69 ),
new LootPackItem( typeof( BaseArmor ), 397 ),
@@ -806,9 +788,8 @@ namespace Server
set => m_Chance = value;
}
- private static Type[] m_BlankTypes = new[]{ typeof( BlankScroll ) };
- private static Type[][] m_NecroTypes = new[]
- {
+ private static Type[] m_BlankTypes = { typeof( BlankScroll ) };
+ private static Type[][] m_NecroTypes = {
new[] // low
{
typeof( AnimateDeadScroll ), typeof( BloodOathScroll ), typeof( CorpseSkinScroll ), typeof( CurseWeaponScroll ),
diff --git a/Scripts/Misc/MondainsLegacy.cs b/Scripts/Misc/MondainsLegacy.cs
index 78409e2a0..9688e2310 100644
--- a/Scripts/Misc/MondainsLegacy.cs
+++ b/Scripts/Misc/MondainsLegacy.cs
@@ -8,8 +8,7 @@ namespace Server
{
public static Type[] Artifacts => m_Artifacts;
- private static Type[] m_Artifacts = new[]
- {
+ private static Type[] m_Artifacts = {
typeof( AegisOfGrace ), typeof( BladeDance ), typeof( BloodwoodSpirit ), typeof( Bonesmasher ),
typeof( Boomstick ), typeof( BrightsightLenses ), typeof( FeyLeggings ), typeof( FleshRipper ),
typeof( HelmOfSwiftness ), typeof( PadsOfTheCuSidhe ), typeof( QuiverOfRage ), typeof( QuiverOfElements ),
diff --git a/Scripts/Misc/NameVerification.cs b/Scripts/Misc/NameVerification.cs
index 80a8af6c5..75c6eb9f3 100644
--- a/Scripts/Misc/NameVerification.cs
+++ b/Scripts/Misc/NameVerification.cs
@@ -4,8 +4,7 @@ namespace Server.Misc
{
public class NameVerification
{
- public static readonly char[] SpaceDashPeriodQuote = new[]
- {
+ public static readonly char[] SpaceDashPeriodQuote = {
' ', '-', '.', '\''
};
@@ -113,8 +112,7 @@ namespace Server.Misc
public static string[] StartDisallowed => m_StartDisallowed;
public static string[] Disallowed => m_Disallowed;
- private static string[] m_StartDisallowed = new[]
- {
+ private static string[] m_StartDisallowed = {
"seer",
"counselor",
"gm",
@@ -123,8 +121,7 @@ namespace Server.Misc
"lord"
};
- private static string[] m_Disallowed = new[]
- {
+ private static string[] m_Disallowed = {
"jigaboo",
"chigaboo",
"wop",
diff --git a/Scripts/Misc/ProfanityProtection.cs b/Scripts/Misc/ProfanityProtection.cs
index d3ba42555..2fd88db5a 100644
--- a/Scripts/Misc/ProfanityProtection.cs
+++ b/Scripts/Misc/ProfanityProtection.cs
@@ -63,15 +63,13 @@ namespace Server.Misc
public static string[] StartDisallowed => m_StartDisallowed;
public static string[] Disallowed => m_Disallowed;
- private static char[] m_Exceptions = new[]
- {
+ private static char[] m_Exceptions = {
' ', '-', '.', '\'', '"', ',', '_', '+', '=', '~', '`', '!', '^', '*', '\\', '/', ';', ':', '<', '>', '[', ']', '{', '}', '?', '|', '(', ')', '%', '$', '&', '#', '@'
};
- private static string[] m_StartDisallowed = new string[]{};
+ private static string[] m_StartDisallowed = {};
- private static string[] m_Disallowed = new[]
- {
+ private static string[] m_Disallowed = {
"jigaboo",
"chigaboo",
"wop",
diff --git a/Scripts/Misc/RaceDefinitions.cs b/Scripts/Misc/RaceDefinitions.cs
index 48bc68532..68f56f105 100644
--- a/Scripts/Misc/RaceDefinitions.cs
+++ b/Scripts/Misc/RaceDefinitions.cs
@@ -123,16 +123,14 @@ namespace Server.Misc
private class Elf : Race
{
- private static int[] m_SkinHues = new[]
- {
+ private static int[] m_SkinHues = {
0x0BF, 0x24D, 0x24E, 0x24F, 0x353, 0x361, 0x367, 0x374,
0x375, 0x376, 0x381, 0x382, 0x383, 0x384, 0x385, 0x389,
0x3DE, 0x3E5, 0x3E6, 0x3E8, 0x3E9, 0x430, 0x4A7, 0x4DE,
0x51D, 0x53F, 0x579, 0x76B, 0x76C, 0x76D, 0x835, 0x903
};
- private static int[] m_HairHues = new[]
- {
+ private static int[] m_HairHues = {
0x034, 0x035, 0x036, 0x037, 0x038, 0x039, 0x058, 0x08E,
0x08F, 0x090, 0x091, 0x092, 0x101, 0x159, 0x15A, 0x15B,
0x15C, 0x15D, 0x15E, 0x128, 0x12F, 0x1BD, 0x1E4, 0x1F3,
@@ -288,8 +286,7 @@ namespace Server.Misc
}
// Todo Finish body hues
- private static readonly int[] m_BodyHues = new[]
- {
+ private static readonly int[] m_BodyHues = {
0x86DB, 0x86DC, 0x86DD, 0x86DE,
0x86DF, 0x86E0, 0x86E1, 0x86E2,
0x86E3, 0x86E4, 0x86E5, 0x86E6
@@ -308,8 +305,7 @@ namespace Server.Misc
return m_BodyHues[Utility.Random(m_BodyHues.Length)] | 0x8000;
}
- private static readonly int[] m_HornHues = new[]
- {
+ private static readonly int[] m_HornHues = {
0x709, 0x70B, 0x70D, 0x70F, 0x711, 0x763,
0x765, 0x768, 0x76B, 0x6F3, 0x6F1, 0x6EF,
0x6E4, 0x6E2, 0x6E0, 0x709, 0x70B, 0x70D
diff --git a/Scripts/Misc/ResourceInfo.cs b/Scripts/Misc/ResourceInfo.cs
index b84be19b1..543c7a508 100644
--- a/Scripts/Misc/ResourceInfo.cs
+++ b/Scripts/Misc/ResourceInfo.cs
@@ -468,8 +468,7 @@ namespace Server.Items
public class CraftResources
{
- private static CraftResourceInfo[] m_MetalInfo = new[]
- {
+ private static CraftResourceInfo[] m_MetalInfo = {
new CraftResourceInfo( 0x000, 1053109, "Iron", CraftAttributeInfo.Blank, CraftResource.Iron, typeof( IronIngot ), typeof( IronOre ), typeof( Granite ) ),
new CraftResourceInfo( 0x973, 1053108, "Dull Copper", CraftAttributeInfo.DullCopper, CraftResource.DullCopper, typeof( DullCopperIngot ), typeof( DullCopperOre ), typeof( DullCopperGranite ) ),
new CraftResourceInfo( 0x966, 1053107, "Shadow Iron", CraftAttributeInfo.ShadowIron, CraftResource.ShadowIron, typeof( ShadowIronIngot ), typeof( ShadowIronOre ), typeof( ShadowIronGranite ) ),
@@ -481,8 +480,7 @@ namespace Server.Items
new CraftResourceInfo( 0x8AB, 1053101, "Valorite", CraftAttributeInfo.Valorite, CraftResource.Valorite, typeof( ValoriteIngot ), typeof( ValoriteOre ), typeof( ValoriteGranite ) ),
};
- private static CraftResourceInfo[] m_ScaleInfo = new[]
- {
+ private static CraftResourceInfo[] m_ScaleInfo = {
new CraftResourceInfo( 0x66D, 1053129, "Red Scales", CraftAttributeInfo.RedScales, CraftResource.RedScales, typeof( RedScales ) ),
new CraftResourceInfo( 0x8A8, 1053130, "Yellow Scales", CraftAttributeInfo.YellowScales, CraftResource.YellowScales, typeof( YellowScales ) ),
new CraftResourceInfo( 0x455, 1053131, "Black Scales", CraftAttributeInfo.BlackScales, CraftResource.BlackScales, typeof( BlackScales ) ),
@@ -491,24 +489,21 @@ namespace Server.Items
new CraftResourceInfo( 0x8B0, 1053134, "Blue Scales", CraftAttributeInfo.BlueScales, CraftResource.BlueScales, typeof( BlueScales ) )
};
- private static CraftResourceInfo[] m_LeatherInfo = new[]
- {
+ private static CraftResourceInfo[] m_LeatherInfo = {
new CraftResourceInfo( 0x000, 1049353, "Normal", CraftAttributeInfo.Blank, CraftResource.RegularLeather, typeof( Leather ), typeof( Hides ) ),
new CraftResourceInfo( 0x283, 1049354, "Spined", CraftAttributeInfo.Spined, CraftResource.SpinedLeather, typeof( SpinedLeather ), typeof( SpinedHides ) ),
new CraftResourceInfo( 0x227, 1049355, "Horned", CraftAttributeInfo.Horned, CraftResource.HornedLeather, typeof( HornedLeather ), typeof( HornedHides ) ),
new CraftResourceInfo( 0x1C1, 1049356, "Barbed", CraftAttributeInfo.Barbed, CraftResource.BarbedLeather, typeof( BarbedLeather ), typeof( BarbedHides ) )
};
- private static CraftResourceInfo[] m_AOSLeatherInfo = new[]
- {
+ private static CraftResourceInfo[] m_AOSLeatherInfo = {
new CraftResourceInfo( 0x000, 1049353, "Normal", CraftAttributeInfo.Blank, CraftResource.RegularLeather, typeof( Leather ), typeof( Hides ) ),
new CraftResourceInfo( 0x8AC, 1049354, "Spined", CraftAttributeInfo.Spined, CraftResource.SpinedLeather, typeof( SpinedLeather ), typeof( SpinedHides ) ),
new CraftResourceInfo( 0x845, 1049355, "Horned", CraftAttributeInfo.Horned, CraftResource.HornedLeather, typeof( HornedLeather ), typeof( HornedHides ) ),
new CraftResourceInfo( 0x851, 1049356, "Barbed", CraftAttributeInfo.Barbed, CraftResource.BarbedLeather, typeof( BarbedLeather ), typeof( BarbedHides ) ),
};
- private static CraftResourceInfo[] m_WoodInfo = new[]
- {
+ private static CraftResourceInfo[] m_WoodInfo = {
new CraftResourceInfo( 0x000, 1011542, "Normal", CraftAttributeInfo.Blank, CraftResource.RegularWood, typeof( Log ), typeof( Board ) ),
new CraftResourceInfo( 0x7DA, 1072533, "Oak", CraftAttributeInfo.OakWood, CraftResource.OakWood, typeof( OakLog ), typeof( OakBoard ) ),
new CraftResourceInfo( 0x4A7, 1072534, "Ash", CraftAttributeInfo.AshWood, CraftResource.AshWood, typeof( AshLog ), typeof( AshBoard ) ),
diff --git a/Scripts/Misc/SkillCheck.cs b/Scripts/Misc/SkillCheck.cs
index 62f9f146d..3666878a0 100644
--- a/Scripts/Misc/SkillCheck.cs
+++ b/Scripts/Misc/SkillCheck.cs
@@ -11,8 +11,7 @@ namespace Server.Misc
public static TimeSpan AntiMacroExpire = TimeSpan.FromMinutes( 5.0 ); //How long do we remember targets/locations?
public const int Allowance = 3; //How many times may we use the same location/target for gain
private const int LocationSize = 5; //The size of eeach location, make this smaller so players dont have to move as far
- private static bool[] UseAntiMacro = new[]
- {
+ private static bool[] UseAntiMacro = {
// true if this skill uses the anti-macro code, false if it does not
false,// Alchemy = 0,
true,// Anatomy = 1,
diff --git a/Scripts/Misc/SocketOptions.cs b/Scripts/Misc/SocketOptions.cs
index 54984c45d..4df64509d 100644
--- a/Scripts/Misc/SocketOptions.cs
+++ b/Scripts/Misc/SocketOptions.cs
@@ -9,7 +9,7 @@ namespace Server
private const bool NagleEnabled = false; // Should the Nagle algorithm be enabled? This may reduce performance
private const int CoalesceBufferSize = 512; // MSS that the core will use when buffering packets
- private static IPEndPoint[] m_ListenerEndPoints = new[] {
+ private static IPEndPoint[] m_ListenerEndPoints = {
new IPEndPoint( IPAddress.Any, 2593 ), // Default: Listen on port 2593 on all IP addresses
// Examples:
diff --git a/Scripts/Misc/Titles.cs b/Scripts/Misc/Titles.cs
index ef815aaad..ca9356d95 100644
--- a/Scripts/Misc/Titles.cs
+++ b/Scripts/Misc/Titles.cs
@@ -128,7 +128,7 @@ namespace Server.Misc
}
}
- public static string[] HarrowerTitles = new[] { "Spite", "Opponent", "Hunter", "Venom", "Executioner", "Annihilator", "Champion", "Assailant", "Purifier", "Nullifier" };
+ public static string[] HarrowerTitles = { "Spite", "Opponent", "Hunter", "Venom", "Executioner", "Annihilator", "Champion", "Assailant", "Purifier", "Nullifier" };
public static string ComputeTitle( Mobile beholder, Mobile beheld )
{
@@ -264,8 +264,7 @@ namespace Server.Misc
return highest;
}
- private static string[,] m_Levels = new[,]
- {
+ private static string[,] m_Levels = {
{ "Neophyte", "Neophyte", "Neophyte" },
{ "Novice", "Novice", "Novice" },
{ "Apprentice", "Apprentice", "Apprentice" },
@@ -300,8 +299,7 @@ namespace Server.Misc
return (fp - 300) / 100;
}
- private static FameEntry[] m_FameEntries = new[]
- {
+ private static FameEntry[] m_FameEntries = {
new FameEntry( 1249, new[]
{
new KarmaEntry( -10000, "The Outcast {0}" ),
diff --git a/Scripts/Misc/VendorGenerator.cs b/Scripts/Misc/VendorGenerator.cs
index 031d526ac..910a239b6 100644
--- a/Scripts/Misc/VendorGenerator.cs
+++ b/Scripts/Misc/VendorGenerator.cs
@@ -13,8 +13,7 @@ namespace Server
CommandSystem.Register( "VendorGen", AccessLevel.Administrator, new CommandEventHandler( VendorGen_OnCommand ) );
}
- private static Rectangle2D[] m_BritRegions = new[]
- {
+ private static Rectangle2D[] m_BritRegions = {
new Rectangle2D( new Point2D( 250, 750 ), new Point2D( 775, 1330 ) ),
new Rectangle2D( new Point2D( 525, 2095 ), new Point2D( 925, 2430 ) ),
new Rectangle2D( new Point2D( 1025, 2155 ), new Point2D( 1265, 2310 ) ),
@@ -33,8 +32,7 @@ namespace Server
new Rectangle2D( new Point2D( 5120, 2300 ), new Point2D( 6143, 4095 ) )
};
- private static Rectangle2D[] m_IlshRegions = new[]
- {
+ private static Rectangle2D[] m_IlshRegions = {
new Rectangle2D( new Point2D( 0, 0 ), new Point2D( 288*8, 200*8 ) )
};
diff --git a/Scripts/Mobiles/AI/BaseAI.cs b/Scripts/Mobiles/AI/BaseAI.cs
index b88bd4414..0bf578859 100644
--- a/Scripts/Mobiles/AI/BaseAI.cs
+++ b/Scripts/Mobiles/AI/BaseAI.cs
@@ -295,8 +295,7 @@ namespace Server.Mobiles
return (from.Alive && from.InRange(m_Mobile.Location, 3) && m_Mobile.IsHumanInTown());
}
- private static SkillName[] m_KeywordTable = new[]
- {
+ private static SkillName[] m_KeywordTable = {
SkillName.Parry,
SkillName.Healing,
SkillName.Hiding,
diff --git a/Scripts/Mobiles/AI/HealerAI.cs b/Scripts/Mobiles/AI/HealerAI.cs
index 3de5f87d2..30692c5c5 100644
--- a/Scripts/Mobiles/AI/HealerAI.cs
+++ b/Scripts/Mobiles/AI/HealerAI.cs
@@ -10,10 +10,10 @@ namespace Server.Mobiles
private static NeedDelegate m_Cure = new NeedDelegate( NeedCure );
private static NeedDelegate m_GHeal = new NeedDelegate( NeedGHeal );
private static NeedDelegate m_LHeal = new NeedDelegate( NeedLHeal );
- private static NeedDelegate[] m_ACure = new[] { m_Cure };
- private static NeedDelegate[] m_AGHeal = new[] { m_GHeal };
- private static NeedDelegate[] m_ALHeal = new[] { m_LHeal };
- private static NeedDelegate[] m_All = new[] { m_Cure, m_GHeal, m_LHeal };
+ private static NeedDelegate[] m_ACure = { m_Cure };
+ private static NeedDelegate[] m_AGHeal = { m_GHeal };
+ private static NeedDelegate[] m_ALHeal = { m_LHeal };
+ private static NeedDelegate[] m_All = { m_Cure, m_GHeal, m_LHeal };
public HealerAI( BaseCreature m ) : base( m )
{
diff --git a/Scripts/Mobiles/AI/MageAI.cs b/Scripts/Mobiles/AI/MageAI.cs
index 108aeb1f7..5ab66ccbb 100644
--- a/Scripts/Mobiles/AI/MageAI.cs
+++ b/Scripts/Mobiles/AI/MageAI.cs
@@ -917,8 +917,7 @@ namespace Server.Mobiles
return ( m is BaseCreature creature && creature.Summoned && m_Mobile.CanBeHarmful( creature, false ) && !creature.IsAnimatedDead );
}
- private static int[] m_Offsets = new[]
- {
+ private static int[] m_Offsets = {
-1, -1,
-1, 0,
-1, 1,
diff --git a/Scripts/Mobiles/AI/SpeedInfo.cs b/Scripts/Mobiles/AI/SpeedInfo.cs
index c5bb8b66c..da1dcdd42 100644
--- a/Scripts/Mobiles/AI/SpeedInfo.cs
+++ b/Scripts/Mobiles/AI/SpeedInfo.cs
@@ -87,8 +87,7 @@ namespace Server
private static Dictionary m_Table;
- private static SpeedInfo[] m_Speeds = new[]
- {
+ private static SpeedInfo[] m_Speeds = {
/* Slow */
new SpeedInfo( 0.3, 0.6, new[]
{
diff --git a/Scripts/Mobiles/Animals/Mounts/Horse.cs b/Scripts/Mobiles/Animals/Mounts/Horse.cs
index 2ee230cf3..7bcfdbb65 100644
--- a/Scripts/Mobiles/Animals/Mounts/Horse.cs
+++ b/Scripts/Mobiles/Animals/Mounts/Horse.cs
@@ -4,8 +4,7 @@ namespace Server.Mobiles
public class Horse : BaseMount
{
public override string CorpseName => "a horse corpse";
- private static int[] m_IDs = new[]
- {
+ private static int[] m_IDs = {
0xC8, 0x3E9F,
0xE2, 0x3EA0,
0xE4, 0x3EA1,
diff --git a/Scripts/Mobiles/BaseCreature.cs b/Scripts/Mobiles/BaseCreature.cs
index b3949900c..440327074 100644
--- a/Scripts/Mobiles/BaseCreature.cs
+++ b/Scripts/Mobiles/BaseCreature.cs
@@ -1107,8 +1107,7 @@ namespace Server.Mobiles
return ( (double)chance / 1000 );
}
- private static Type[] m_AnimateDeadTypes = new[]
- {
+ private static Type[] m_AnimateDeadTypes = {
typeof( MoundOfMaggots ), typeof( HellSteed ), typeof( SkeletalMount ),
typeof( WailingBanshee ), typeof( Wraith ), typeof( SkeletalDragon ),
typeof( LichLord ), typeof( FleshGolem ), typeof( Lich ),
@@ -1810,13 +1809,11 @@ namespace Server.Mobiles
writer.Write( m_HomeMap );
}
- private static double[] m_StandardActiveSpeeds = new[]
- {
+ private static double[] m_StandardActiveSpeeds = {
0.175, 0.1, 0.15, 0.2, 0.25, 0.3, 0.4, 0.5, 0.6, 0.8
};
- private static double[] m_StandardPassiveSpeeds = new[]
- {
+ private static double[] m_StandardPassiveSpeeds = {
0.350, 0.2, 0.4, 0.5, 0.6, 0.8, 1.0, 1.2, 1.6, 2.0
};
@@ -2100,23 +2097,19 @@ namespace Server.Mobiles
public override bool ShouldCheckStatTimers => false;
#region Food
- private static Type[] m_Eggs = new[]
- {
+ private static Type[] m_Eggs = {
typeof( FriedEggs ), typeof( Eggs )
};
- private static Type[] m_Fish = new[]
- {
+ private static Type[] m_Fish = {
typeof( FishSteak ), typeof( RawFishSteak )
};
- private static Type[] m_GrainsAndHay = new[]
- {
+ private static Type[] m_GrainsAndHay = {
typeof( BreadLoaf ), typeof( FrenchBread ), typeof( SheafOfHay )
};
- private static Type[] m_Meat = new[]
- {
+ private static Type[] m_Meat = {
/* Cooked */
typeof( Bacon ), typeof( CookedBird ), typeof( Sausage ),
typeof( Ham ), typeof( Ribs ), typeof( LambLeg ),
@@ -2131,8 +2124,7 @@ namespace Server.Mobiles
typeof( Torso ), typeof( RightArm ), typeof( RightLeg )
};
- private static Type[] m_FruitsAndVegies = new[]
- {
+ private static Type[] m_FruitsAndVegies = {
typeof( HoneydewMelon ), typeof( YellowGourd ), typeof( GreenGourd ),
typeof( Banana ), typeof( Bananas ), typeof( Lemon ), typeof( Lime ),
typeof( Dates ), typeof( Grapes ), typeof( Peach ), typeof( Pear ),
@@ -2141,8 +2133,7 @@ namespace Server.Mobiles
typeof( Onion ), typeof( Lettuce ), typeof( Pumpkin )
};
- private static Type[] m_Gold = new[]
- {
+ private static Type[] m_Gold = {
// white wyrms eat gold..
typeof( Gold )
};
diff --git a/Scripts/Mobiles/Monsters/LBR/Jukas/JukaLord.cs b/Scripts/Mobiles/Monsters/LBR/Jukas/JukaLord.cs
index 33ee36f50..34da9e9b3 100644
--- a/Scripts/Mobiles/Monsters/LBR/Jukas/JukaLord.cs
+++ b/Scripts/Mobiles/Monsters/LBR/Jukas/JukaLord.cs
@@ -68,8 +68,7 @@ namespace Server.Mobiles
{
if ( from != null && !willKill && amount > 5 && from.Player && 5 > Utility.Random( 100 ) )
{
- string[] toSay = new[]
- {
+ string[] toSay = {
"{0}!! You will have to do better than that!",
"{0}!! Prepare to meet your doom!",
"{0}!! My armies will crush you!",
diff --git a/Scripts/Mobiles/Monsters/LBR/Jukas/JukaMage.cs b/Scripts/Mobiles/Monsters/LBR/Jukas/JukaMage.cs
index 742f7a2d5..6450ec409 100644
--- a/Scripts/Mobiles/Monsters/LBR/Jukas/JukaMage.cs
+++ b/Scripts/Mobiles/Monsters/LBR/Jukas/JukaMage.cs
@@ -126,7 +126,7 @@ namespace Server.Mobiles
DoBeneficial( toBuff );
- object[] state = new object[]{ toBuff, toBuff.HitsMaxSeed, toBuff.RawStr, toBuff.RawDex };
+ object[] state = { toBuff, toBuff.HitsMaxSeed, toBuff.RawStr, toBuff.RawDex };
SpellHelper.Turn( this, toBuff );
diff --git a/Scripts/Mobiles/Monsters/ML/Animal/Ferret.cs b/Scripts/Mobiles/Monsters/ML/Animal/Ferret.cs
index 81a67610d..567328fc5 100644
--- a/Scripts/Mobiles/Monsters/ML/Animal/Ferret.cs
+++ b/Scripts/Mobiles/Monsters/ML/Animal/Ferret.cs
@@ -53,8 +53,7 @@ namespace Server.Mobiles
Talk( ferret );
}
- private static string[] m_Vocabulary = new[]
- {
+ private static string[] m_Vocabulary = {
"dook",
"dook dook",
"dook dook dook!"
diff --git a/Scripts/Mobiles/Monsters/Reptile/Magic/Leviathan.cs b/Scripts/Mobiles/Monsters/Reptile/Magic/Leviathan.cs
index 6c40da325..74790020a 100644
--- a/Scripts/Mobiles/Monsters/Reptile/Magic/Leviathan.cs
+++ b/Scripts/Mobiles/Monsters/Reptile/Magic/Leviathan.cs
@@ -112,8 +112,7 @@ namespace Server.Mobiles
public static Type[] Artifacts => m_Artifacts;
- private static Type[] m_Artifacts = new[]
- {
+ private static Type[] m_Artifacts = {
// Decorations
typeof( CandelabraOfSouls ),
typeof( GhostShipAnchor ),
diff --git a/Scripts/Mobiles/Monsters/Reptile/Magic/OphidianArchmage.cs b/Scripts/Mobiles/Monsters/Reptile/Magic/OphidianArchmage.cs
index fb78b5f21..f1225bc7b 100644
--- a/Scripts/Mobiles/Monsters/Reptile/Magic/OphidianArchmage.cs
+++ b/Scripts/Mobiles/Monsters/Reptile/Magic/OphidianArchmage.cs
@@ -4,8 +4,7 @@ namespace Server.Mobiles
public class OphidianArchmage : BaseCreature
{
public override string CorpseName => "an ophidian corpse";
- private static string[] m_Names = new[]
- {
+ private static string[] m_Names = {
"an ophidian justicar",
"an ophidian zealot"
};
diff --git a/Scripts/Mobiles/Monsters/Reptile/Magic/OphidianMage.cs b/Scripts/Mobiles/Monsters/Reptile/Magic/OphidianMage.cs
index 6dd6de571..d335263de 100644
--- a/Scripts/Mobiles/Monsters/Reptile/Magic/OphidianMage.cs
+++ b/Scripts/Mobiles/Monsters/Reptile/Magic/OphidianMage.cs
@@ -4,8 +4,7 @@ namespace Server.Mobiles
public class OphidianMage : BaseCreature
{
public override string CorpseName => "an ophidian corpse";
- private static string[] m_Names = new[]
- {
+ private static string[] m_Names = {
"an ophidian apprentice mage",
"an ophidian shaman"
};
diff --git a/Scripts/Mobiles/Monsters/Reptile/Melee/OphidianKnight.cs b/Scripts/Mobiles/Monsters/Reptile/Melee/OphidianKnight.cs
index 8228f75de..1f8f379b3 100644
--- a/Scripts/Mobiles/Monsters/Reptile/Melee/OphidianKnight.cs
+++ b/Scripts/Mobiles/Monsters/Reptile/Melee/OphidianKnight.cs
@@ -6,8 +6,7 @@ namespace Server.Mobiles
public class OphidianKnight : BaseCreature
{
public override string CorpseName => "an ophidian corpse";
- private static string[] m_Names = new[]
- {
+ private static string[] m_Names = {
"an ophidian knight-errant",
"an ophidian avenger"
};
diff --git a/Scripts/Mobiles/Monsters/Reptile/Melee/OphidianWarrior.cs b/Scripts/Mobiles/Monsters/Reptile/Melee/OphidianWarrior.cs
index 4adb748df..9af09b752 100644
--- a/Scripts/Mobiles/Monsters/Reptile/Melee/OphidianWarrior.cs
+++ b/Scripts/Mobiles/Monsters/Reptile/Melee/OphidianWarrior.cs
@@ -3,8 +3,7 @@ namespace Server.Mobiles
public class OphidianWarrior : BaseCreature
{
public override string CorpseName => "an ophidian corpse";
- private static string[] m_Names = new[]
- {
+ private static string[] m_Names = {
"an ophidian warrior",
"an ophidian enforcer"
};
diff --git a/Scripts/Mobiles/PlayerMobile.cs b/Scripts/Mobiles/PlayerMobile.cs
index b3a4d0a6d..b30062af2 100644
--- a/Scripts/Mobiles/PlayerMobile.cs
+++ b/Scripts/Mobiles/PlayerMobile.cs
@@ -1501,8 +1501,7 @@ namespace Server.Mobiles
public SkillName[] AnimalFormRestrictedSkills => m_AnimalFormRestrictedSkills;
- private SkillName[] m_AnimalFormRestrictedSkills = new[]
- {
+ private SkillName[] m_AnimalFormRestrictedSkills = {
SkillName.ArmsLore, SkillName.Begging, SkillName.Discordance, SkillName.Forensics,
SkillName.Inscribe, SkillName.ItemID, SkillName.Meditation, SkillName.Peacemaking,
SkillName.Provocation, SkillName.RemoveTrap, SkillName.SpiritSpeak, SkillName.Stealing,
@@ -4418,8 +4417,7 @@ namespace Server.Mobiles
return false;
}
- private static Point3D[] m_TrammelDeathDestinations = new[]
- {
+ private static Point3D[] m_TrammelDeathDestinations = {
new Point3D( 1481, 1612, 20 ),
new Point3D( 2708, 2153, 0 ),
new Point3D( 2249, 1230, 0 ),
@@ -4437,8 +4435,7 @@ namespace Server.Mobiles
new Point3D( 3665, 2587, 0 )
};
- private static Point3D[] m_IlshenarDeathDestinations = new[]
- {
+ private static Point3D[] m_IlshenarDeathDestinations = {
new Point3D( 1216, 468, -13 ),
new Point3D( 723, 1367, -60 ),
new Point3D( 745, 725, -28 ),
@@ -4450,14 +4447,12 @@ namespace Server.Mobiles
new Point3D( 1722, 219, 96 )
};
- private static Point3D[] m_MalasDeathDestinations = new[]
- {
+ private static Point3D[] m_MalasDeathDestinations = {
new Point3D( 2079, 1376, -70 ),
new Point3D( 944, 519, -71 )
};
- private static Point3D[] m_TokunoDeathDestinations = new[]
- {
+ private static Point3D[] m_TokunoDeathDestinations = {
new Point3D( 1166, 801, 27 ),
new Point3D( 782, 1228, 25 ),
new Point3D( 268, 624, 15 )
diff --git a/Scripts/Mobiles/Special/Harrower.cs b/Scripts/Mobiles/Special/Harrower.cs
index 583c688ab..06d4b985c 100644
--- a/Scripts/Mobiles/Special/Harrower.cs
+++ b/Scripts/Mobiles/Special/Harrower.cs
@@ -28,8 +28,7 @@ namespace Server.Mobiles
}
}
- private static SpawnEntry[] m_Entries = new[]
- {
+ private static SpawnEntry[] m_Entries = {
new SpawnEntry( new Point3D( 5242, 945, -40 ), new Point3D( 1176, 2638, 0 ) ), // Destard
new SpawnEntry( new Point3D( 5225, 798, 0 ), new Point3D( 1176, 2638, 0 ) ), // Destard
new SpawnEntry( new Point3D( 5556, 886, 30 ), new Point3D( 1298, 1080, 0 ) ), // Despise
@@ -118,8 +117,7 @@ namespace Server.Mobiles
public override bool Unprovokable => true;
public override Poison PoisonImmune => Poison.Lethal;
- private static readonly double[] m_Offsets = new[]
- {
+ private static readonly double[] m_Offsets = {
Math.Cos( 000.0 / 180.0 * Math.PI ), Math.Sin( 000.0 / 180.0 * Math.PI ),
Math.Cos( 040.0 / 180.0 * Math.PI ), Math.Sin( 040.0 / 180.0 * Math.PI ),
Math.Cos( 080.0 / 180.0 * Math.PI ), Math.Sin( 080.0 / 180.0 * Math.PI ),
@@ -502,8 +500,7 @@ namespace Server.Mobiles
{
private Mobile m_Owner;
- private static int[] m_Offsets = new[]
- {
+ private static int[] m_Offsets = {
-1, -1,
-1, 0,
-1, 1,
diff --git a/Scripts/Mobiles/Special/Paragon.cs b/Scripts/Mobiles/Special/Paragon.cs
index c0c15223d..f55052f4d 100644
--- a/Scripts/Mobiles/Special/Paragon.cs
+++ b/Scripts/Mobiles/Special/Paragon.cs
@@ -7,8 +7,7 @@ namespace Server.Mobiles
{
public static double ChestChance = .10; // Chance that a paragon will carry a paragon chest
public static double ChocolateIngredientChance = .20; // Chance that a paragon will drop a chocolatiering ingredient
- public static Map[] Maps = new[] // Maps that paragons will spawn on
- {
+ public static Map[] Maps = {
Map.Ilshenar
};
@@ -42,8 +41,7 @@ namespace Server.Mobiles
}
}
- public static Type[] Artifacts = new[]
- {
+ public static Type[] Artifacts = {
typeof( GoldBricks ), typeof( PhillipsWoodenSteed ),
typeof( AlchemistsBauble ), typeof( ArcticDeathDealer ),
typeof( BlazeOfDeath ), typeof( BowOfTheJukaKing ),
diff --git a/Scripts/Mobiles/Townfolk/BaseEscortable.cs b/Scripts/Mobiles/Townfolk/BaseEscortable.cs
index ce12cdb8e..5fb46e232 100644
--- a/Scripts/Mobiles/Townfolk/BaseEscortable.cs
+++ b/Scripts/Mobiles/Townfolk/BaseEscortable.cs
@@ -111,8 +111,7 @@ namespace Server.Mobiles
// Classic list
// Used when: !MLQuestSystem.Enabled && !Core.ML
- private static string[] m_TownNames = new[]
- {
+ private static string[] m_TownNames = {
"Cove", "Britain", "Jhelom",
"Minoc", "Ocllo", "Trinsic",
"Vesper", "Yew", "Skara Brae",
@@ -121,8 +120,7 @@ namespace Server.Mobiles
// ML list, pre-ML quest system
// Used when: !MLQuestSystem.Enabled && Core.ML
- private static string[] m_MLTownNames = new[]
- {
+ private static string[] m_MLTownNames = {
"Cove", "Serpent's Hold", "Jhelom",
"Nujel'm"
};
diff --git a/Scripts/Mobiles/Townfolk/SeekerOfAdventure.cs b/Scripts/Mobiles/Townfolk/SeekerOfAdventure.cs
index bba94e336..4c91068d6 100644
--- a/Scripts/Mobiles/Townfolk/SeekerOfAdventure.cs
+++ b/Scripts/Mobiles/Townfolk/SeekerOfAdventure.cs
@@ -5,15 +5,13 @@ namespace Server.Mobiles
{
public class SeekerOfAdventure : BaseEscortable
{
- private static string[] m_Dungeons = new[]
- {
+ private static string[] m_Dungeons = {
"Covetous", "Deceit", "Despise",
"Destard", "Hythloth", "Shame", // Old Code for Pre-ML shards.
"Wrong"
};
- private static string[] m_MLDestinations = new[]
- {
+ private static string[] m_MLDestinations = {
"Cove", "Serpent's Hold", "Jhelom", // ML List
"Nujel'm"
};
diff --git a/Scripts/Mobiles/Vendors/NPC/CustomHairstylist.cs b/Scripts/Mobiles/Vendors/NPC/CustomHairstylist.cs
index 79ebf5a59..40fa1f2b6 100644
--- a/Scripts/Mobiles/Vendors/NPC/CustomHairstylist.cs
+++ b/Scripts/Mobiles/Vendors/NPC/CustomHairstylist.cs
@@ -24,8 +24,7 @@ namespace Server.Mobiles
public static readonly object Vendor = new object();
public static readonly object Price = new object();
- private static HairstylistBuyInfo[] m_SellList = new[]
- {
+ private static HairstylistBuyInfo[] m_SellList = {
new HairstylistBuyInfo( 1018357, 50000, false, typeof( ChangeHairstyleGump ), new[]
{ From, Vendor, Price, false, ChangeHairstyleEntry.HairEntries } ),
new HairstylistBuyInfo( 1018358, 50000, true, typeof( ChangeHairstyleGump ), new[]
@@ -252,8 +251,7 @@ namespace Server.Mobiles
m_Hues[i] = start + i;
}
- public static readonly ChangeHairHueEntry[] BrightEntries = new[]
- {
+ public static readonly ChangeHairHueEntry[] BrightEntries = {
new ChangeHairHueEntry( "*****", 12, 10 ),
new ChangeHairHueEntry( "*****", 32, 5 ),
new ChangeHairHueEntry( "*****", 38, 8 ),
@@ -264,8 +262,7 @@ namespace Server.Mobiles
new ChangeHairHueEntry( "*****", 1153, 2 )
};
- public static readonly ChangeHairHueEntry[] RegularEntries = new[]
- {
+ public static readonly ChangeHairHueEntry[] RegularEntries = {
new ChangeHairHueEntry( "*****", 1602, 26 ),
new ChangeHairHueEntry( "*****", 1628, 27 ),
new ChangeHairHueEntry( "*****", 1502, 32 ),
@@ -406,8 +403,7 @@ namespace Server.Mobiles
m_ItemID = itemID;
}
- public static readonly ChangeHairstyleEntry[] HairEntries = new[]
- {
+ public static readonly ChangeHairstyleEntry[] HairEntries = {
new ChangeHairstyleEntry( 50700, 70 - 137, 20 - 60, 0x203B ),
new ChangeHairstyleEntry( 60710, 193 - 260, 18 - 60, 0x2045 ),
new ChangeHairstyleEntry( 50703, 316 - 383, 25 - 60, 0x2044 ),
@@ -420,8 +416,7 @@ namespace Server.Mobiles
new ChangeHairstyleEntry( 0, 0, 0, 0 )
};
- public static readonly ChangeHairstyleEntry[] BeardEntries = new[]
- {
+ public static readonly ChangeHairstyleEntry[] BeardEntries = {
new ChangeHairstyleEntry( 50800, 120 - 187, 30 - 80, 0x2040 ),
new ChangeHairstyleEntry( 50904, 243 - 310, 33 - 80, 0x204B ),
new ChangeHairstyleEntry( 50906, 120 - 187, 100 - 150, 0x204D ),
diff --git a/Scripts/Mobiles/Vendors/PlayerBarkeeper.cs b/Scripts/Mobiles/Vendors/PlayerBarkeeper.cs
index 16fbfd79e..2defb8586 100644
--- a/Scripts/Mobiles/Vendors/PlayerBarkeeper.cs
+++ b/Scripts/Mobiles/Vendors/PlayerBarkeeper.cs
@@ -595,8 +595,7 @@ namespace Server.Mobiles
}
}
- private static Entry[] m_Entries = new[]
- {
+ private static Entry[] m_Entries = {
new Entry( "Alchemist" ),
new Entry( "Animal Tamer" ),
new Entry( "Apothecary" ),
diff --git a/Scripts/Mobiles/Vendors/RentedVendor.cs b/Scripts/Mobiles/Vendors/RentedVendor.cs
index f87cc6998..d4e8a373f 100644
--- a/Scripts/Mobiles/Vendors/RentedVendor.cs
+++ b/Scripts/Mobiles/Vendors/RentedVendor.cs
@@ -10,8 +10,7 @@ namespace Server.Mobiles
{
public class VendorRentalDuration
{
- public static readonly VendorRentalDuration[] Instances = new[]
- {
+ public static readonly VendorRentalDuration[] Instances = {
new VendorRentalDuration( TimeSpan.FromDays( 7.0 ), 1062361 ), // 1 Week
new VendorRentalDuration( TimeSpan.FromDays( 14.0 ), 1062362 ), // 2 Weeks
new VendorRentalDuration( TimeSpan.FromDays( 21.0 ), 1062363 ), // 3 Weeks
diff --git a/Scripts/Multis/Boats/BaseBoat.cs b/Scripts/Multis/Boats/BaseBoat.cs
index bde5dbc11..776a158d4 100644
--- a/Scripts/Multis/Boats/BaseBoat.cs
+++ b/Scripts/Multis/Boats/BaseBoat.cs
@@ -14,9 +14,9 @@ namespace Server.Multis
public abstract class BaseBoat : BaseMulti
{
- private static Rectangle2D[] m_BritWrap = new[]{ new Rectangle2D( 16, 16, 5120 - 32, 4096 - 32 ), new Rectangle2D( 5136, 2320, 992, 1760 ) };
- private static Rectangle2D[] m_IlshWrap = new[]{ new Rectangle2D( 16, 16, 2304 - 32, 1600 - 32 ) };
- private static Rectangle2D[] m_TokunoWrap = new[] { new Rectangle2D( 16, 16, 1448 - 32, 1448 - 32 ) };
+ private static Rectangle2D[] m_BritWrap = { new Rectangle2D( 16, 16, 5120 - 32, 4096 - 32 ), new Rectangle2D( 5136, 2320, 992, 1760 ) };
+ private static Rectangle2D[] m_IlshWrap = { new Rectangle2D( 16, 16, 2304 - 32, 1600 - 32 ) };
+ private static Rectangle2D[] m_TokunoWrap = { new Rectangle2D( 16, 16, 1448 - 32, 1448 - 32 ) };
private static TimeSpan BoatDecayDelay = TimeSpan.FromDays( 9.0 );
diff --git a/Scripts/Multis/Boats/Strandedness.cs b/Scripts/Multis/Boats/Strandedness.cs
index ce14f9efd..d869706c3 100644
--- a/Scripts/Multis/Boats/Strandedness.cs
+++ b/Scripts/Multis/Boats/Strandedness.cs
@@ -2,8 +2,7 @@ namespace Server.Misc
{
public class Strandedness
{
- private static Point2D[] m_Felucca = new[]
- {
+ private static Point2D[] m_Felucca = {
new Point2D( 2528, 3568 ), new Point2D( 2376, 3400 ), new Point2D( 2528, 3896 ),
new Point2D( 2168, 3904 ), new Point2D( 1136, 3416 ), new Point2D( 1432, 3648 ),
new Point2D( 1416, 4000 ), new Point2D( 4512, 3936 ), new Point2D( 4440, 3120 ),
@@ -39,8 +38,7 @@ namespace Server.Misc
private static Point2D[] m_Trammel = m_Felucca;
- private static Point2D[] m_Ilshenar = new[]
- {
+ private static Point2D[] m_Ilshenar = {
new Point2D( 1252, 1180 ), new Point2D( 1562, 1090 ), new Point2D( 1444, 1016 ),
new Point2D( 1324, 968 ), new Point2D( 1418, 806 ), new Point2D( 1722, 874 ),
new Point2D( 1456, 684 ), new Point2D( 1036, 866 ), new Point2D( 612, 476 ),
@@ -49,8 +47,7 @@ namespace Server.Misc
new Point2D( 1358, 866 ), new Point2D( 510, 302 ), new Point2D( 510, 392 )
};
- private static Point2D[] m_Tokuno = new[]
- {
+ private static Point2D[] m_Tokuno = {
//Makoto-Jima
new Point2D( 837, 1351 ), new Point2D( 941, 1241 ), new Point2D( 959, 1185 ),
new Point2D( 923, 1091 ), new Point2D( 904, 983 ), new Point2D( 845, 944 ),
diff --git a/Scripts/Multis/HouseFoundation.cs b/Scripts/Multis/HouseFoundation.cs
index 1b9e0f962..49fc5aff4 100644
--- a/Scripts/Multis/HouseFoundation.cs
+++ b/Scripts/Multis/HouseFoundation.cs
@@ -1138,8 +1138,7 @@ namespace Server.Multis
/* Stair block IDs
* (sorted ascending)
*/
- private static int[] m_BlockIDs = new[]
- {
+ private static int[] m_BlockIDs = {
0x3EE, 0x709, 0x71E, 0x721,
0x738, 0x750, 0x76C, 0x788,
0x7A3, 0x7BA, 0x35D2, 0x3609,
@@ -1150,8 +1149,7 @@ namespace Server.Multis
* (sorted ascending)
* Use this for stairs in the proper N,W,S,E sequence
*/
- private static int[] m_StairSeqs = new[]
- {
+ private static int[] m_StairSeqs = {
0x3EF, 0x70A, 0x722, 0x739,
0x751, 0x76D, 0x789, 0x7A4
};
@@ -1160,8 +1158,7 @@ namespace Server.Multis
* Listed in order: north, west, south, east
* Use this for stairs not in the proper sequence
*/
- private static int[] m_StairIDs = new[]
- {
+ private static int[] m_StairIDs = {
0x71F, 0x736, 0x737, 0x749,
0x35D4, 0x35D3, 0x35D6, 0x35D5,
0x360B, 0x360A, 0x360D, 0x360C,
diff --git a/Scripts/Multis/HousePlacement.cs b/Scripts/Multis/HousePlacement.cs
index 543b6ab45..c955bce79 100644
--- a/Scripts/Multis/HousePlacement.cs
+++ b/Scripts/Multis/HousePlacement.cs
@@ -24,8 +24,7 @@ namespace Server.Multis
private const int YardSize = 5;
// Any land tile which matches one of these ID numbers is considered a road and cannot be placed over.
- private static int[] m_RoadIDs = new[]
- {
+ private static int[] m_RoadIDs = {
0x0071, 0x0078,
0x00E8, 0x00EB,
0x07AE, 0x07B1,
diff --git a/Scripts/Multis/HousePlacementTool.cs b/Scripts/Multis/HousePlacementTool.cs
index 986fb83d8..59f647e3c 100644
--- a/Scripts/Multis/HousePlacementTool.cs
+++ b/Scripts/Multis/HousePlacementTool.cs
@@ -642,8 +642,7 @@ namespace Server.Items
}
}
- private static HousePlacementEntry[] m_ClassicHouses = new[]
- {
+ private static HousePlacementEntry[] m_ClassicHouses = {
new HousePlacementEntry( typeof( SmallOldHouse ), 1011303, 425, 212, 489, 244, 10, 37000, 0, 4, 0, 0x0064 ),
new HousePlacementEntry( typeof( SmallOldHouse ), 1011304, 425, 212, 489, 244, 10, 37000, 0, 4, 0, 0x0066 ),
new HousePlacementEntry( typeof( SmallOldHouse ), 1011305, 425, 212, 489, 244, 10, 36750, 0, 4, 0, 0x0068 ),
@@ -669,8 +668,7 @@ namespace Server.Items
public static HousePlacementEntry[] ClassicHouses => m_ClassicHouses;
- private static HousePlacementEntry[] m_TwoStoryFoundations = new[]
- {
+ private static HousePlacementEntry[] m_TwoStoryFoundations = {
new HousePlacementEntry( typeof( HouseFoundation ), 1060241, 425, 212, 489, 244, 10, 30500, 0, 4, 0, 0x13EC ), // 7x7 2-Story Customizable House
new HousePlacementEntry( typeof( HouseFoundation ), 1060242, 580, 290, 667, 333, 14, 34500, 0, 5, 0, 0x13ED ), // 7x8 2-Story Customizable House
new HousePlacementEntry( typeof( HouseFoundation ), 1060243, 650, 325, 748, 374, 16, 38500, 0, 5, 0, 0x13EE ), // 7x9 2-Story Customizable House
@@ -723,8 +721,7 @@ namespace Server.Items
public static HousePlacementEntry[] TwoStoryFoundations => m_TwoStoryFoundations;
- private static HousePlacementEntry[] m_ThreeStoryFoundations = new[]
- {
+ private static HousePlacementEntry[] m_ThreeStoryFoundations = {
new HousePlacementEntry( typeof( HouseFoundation ), 1060272, 1150, 575, 1323, 661, 24, 73500, 0, 8, 0, 0x140B ), // 9x14 3-Story Customizable House
new HousePlacementEntry( typeof( HouseFoundation ), 1060284, 1200, 600, 1380, 690, 26, 81000, 0, 8, 0, 0x1417 ), // 10x14 3-Story Customizable House
new HousePlacementEntry( typeof( HouseFoundation ), 1060285, 1250, 625, 1438, 719, 26, 86500, 0, 8, 0, 0x1418 ), // 10x15 3-Story Customizable House
diff --git a/Scripts/Multis/Houses.cs b/Scripts/Multis/Houses.cs
index 1402ab3bc..a7176afab 100644
--- a/Scripts/Multis/Houses.cs
+++ b/Scripts/Multis/Houses.cs
@@ -5,7 +5,7 @@ namespace Server.Multis
{
public class SmallOldHouse : BaseHouse
{
- public static Rectangle2D[] AreaArray = new[]{ new Rectangle2D(-3,-3,7,7 ), new Rectangle2D( -1, 4, 3, 1 ) };
+ public static Rectangle2D[] AreaArray = { new Rectangle2D(-3,-3,7,7 ), new Rectangle2D( -1, 4, 3, 1 ) };
public override Rectangle2D[] Area => AreaArray;
public override Point3D BaseBanLocation => new Point3D( 2, 4, 0 );
@@ -56,7 +56,7 @@ namespace Server.Multis
public class GuildHouse : BaseHouse
{
- public static Rectangle2D[] AreaArray = new[]{ new Rectangle2D( -7, -7, 14, 14 ), new Rectangle2D( -2, 7, 4, 1 ) };
+ public static Rectangle2D[] AreaArray = { new Rectangle2D( -7, -7, 14, 14 ), new Rectangle2D( -2, 7, 4, 1 ) };
public override int DefaultPrice => 144500;
@@ -100,7 +100,7 @@ namespace Server.Multis
public class TwoStoryHouse : BaseHouse
{
- public static Rectangle2D[] AreaArray = new[]{ new Rectangle2D( -7, 0, 14, 7 ), new Rectangle2D( -7, -7, 9, 7 ), new Rectangle2D( -4, 7, 4, 1 ) };
+ public static Rectangle2D[] AreaArray = { new Rectangle2D( -7, 0, 14, 7 ), new Rectangle2D( -7, -7, 9, 7 ), new Rectangle2D( -4, 7, 4, 1 ) };
public override Rectangle2D[] Area => AreaArray;
public override Point3D BaseBanLocation => new Point3D( 2, 8, 0 );
@@ -148,7 +148,7 @@ namespace Server.Multis
public class Tower : BaseHouse
{
- public static Rectangle2D[] AreaArray = new[]{ new Rectangle2D( -7, -7, 16, 14 ), new Rectangle2D( -1, 7, 4, 2 ), new Rectangle2D( -11, 0, 4, 7 ), new Rectangle2D( 9, 0, 4, 7 ) };
+ public static Rectangle2D[] AreaArray = { new Rectangle2D( -7, -7, 16, 14 ), new Rectangle2D( -1, 7, 4, 2 ), new Rectangle2D( -11, 0, 4, 7 ), new Rectangle2D( 9, 0, 4, 7 ) };
public override int DefaultPrice => 433200;
@@ -192,7 +192,7 @@ namespace Server.Multis
public class Keep : BaseHouse//warning: ODD shape!
{
- public static Rectangle2D[] AreaArray = new[]{ new Rectangle2D( -11, -11, 7, 8 ), new Rectangle2D( -11, 5, 7, 8 ), new Rectangle2D( 6, -11, 7, 8 ), new Rectangle2D( 6, 5, 7, 8 ), new Rectangle2D( -9, -3, 5, 8 ), new Rectangle2D( 6, -3, 5, 8 ), new Rectangle2D( -4, -9, 10, 20 ), new Rectangle2D( -1, 11, 4, 1 ) };
+ public static Rectangle2D[] AreaArray = { new Rectangle2D( -11, -11, 7, 8 ), new Rectangle2D( -11, 5, 7, 8 ), new Rectangle2D( 6, -11, 7, 8 ), new Rectangle2D( 6, 5, 7, 8 ), new Rectangle2D( -9, -3, 5, 8 ), new Rectangle2D( 6, -3, 5, 8 ), new Rectangle2D( -4, -9, 10, 20 ), new Rectangle2D( -1, 11, 4, 1 ) };
public override int DefaultPrice => 665200;
@@ -229,7 +229,7 @@ namespace Server.Multis
public class Castle : BaseHouse
{
- public static Rectangle2D[] AreaArray = new[]{ new Rectangle2D( -15, -15, 31, 31 ), new Rectangle2D( -1, 16, 4, 1 ) };
+ public static Rectangle2D[] AreaArray = { new Rectangle2D( -15, -15, 31, 31 ), new Rectangle2D( -1, 16, 4, 1 ) };
public override int DefaultPrice => 1022800;
@@ -270,7 +270,7 @@ namespace Server.Multis
public class LargePatioHouse : BaseHouse
{
- public static Rectangle2D[] AreaArray = new[]{ new Rectangle2D( -7, -7, 15, 14 ), new Rectangle2D( -5, 7, 4, 1 ) };
+ public static Rectangle2D[] AreaArray = { new Rectangle2D( -7, -7, 15, 14 ), new Rectangle2D( -5, 7, 4, 1 ) };
public override int DefaultPrice => 152800;
@@ -314,7 +314,7 @@ namespace Server.Multis
public class LargeMarbleHouse : BaseHouse
{
- public static Rectangle2D[] AreaArray = new[]{ new Rectangle2D( -7, -7, 15, 14 ), new Rectangle2D( -6, 7, 6, 1 ) };
+ public static Rectangle2D[] AreaArray = { new Rectangle2D( -7, -7, 15, 14 ), new Rectangle2D( -6, 7, 6, 1 ) };
public override int DefaultPrice => 192000;
@@ -354,7 +354,7 @@ namespace Server.Multis
public class SmallTower : BaseHouse
{
- public static Rectangle2D[] AreaArray = new[]{ new Rectangle2D( -3, -3, 8, 7 ), new Rectangle2D( 2, 4, 3, 1 ) };
+ public static Rectangle2D[] AreaArray = { new Rectangle2D( -3, -3, 8, 7 ), new Rectangle2D( 2, 4, 3, 1 ) };
public override int DefaultPrice => 88500;
@@ -393,7 +393,7 @@ namespace Server.Multis
public class LogCabin : BaseHouse
{
- public static Rectangle2D[] AreaArray = new[]{ new Rectangle2D( -3, -6, 8, 13 ) };
+ public static Rectangle2D[] AreaArray = { new Rectangle2D( -3, -6, 8, 13 ) };
public override int DefaultPrice => 97800;
@@ -434,7 +434,7 @@ namespace Server.Multis
public class SandStonePatio : BaseHouse
{
- public static Rectangle2D[] AreaArray = new[]{ new Rectangle2D( -5, -4, 12, 8 ), new Rectangle2D( -2, 4, 3, 1 ) };
+ public static Rectangle2D[] AreaArray = { new Rectangle2D( -5, -4, 12, 8 ), new Rectangle2D( -2, 4, 3, 1 ) };
public override int DefaultPrice => 90900;
@@ -474,7 +474,7 @@ namespace Server.Multis
public class TwoStoryVilla : BaseHouse
{
- public static Rectangle2D[] AreaArray = new[]{ new Rectangle2D( -5, -5, 11, 11 ), new Rectangle2D( 2, 6, 4, 1 ) };
+ public static Rectangle2D[] AreaArray = { new Rectangle2D( -5, -5, 11, 11 ), new Rectangle2D( 2, 6, 4, 1 ) };
public override int DefaultPrice => 136500;
@@ -523,8 +523,8 @@ namespace Server.Multis
public override HousePlacementEntry ConvertEntry => HousePlacementEntry.TwoStoryFoundations[0];
- public static Rectangle2D[] AreaArray1 = new[]{ new Rectangle2D(-3,-3,7,7), new Rectangle2D( -1, 4, 4, 1 ) };
- public static Rectangle2D[] AreaArray2 = new[]{ new Rectangle2D(-3,-3,7,7), new Rectangle2D( -2, 4, 3, 1 ) };
+ public static Rectangle2D[] AreaArray1 = { new Rectangle2D(-3,-3,7,7), new Rectangle2D( -1, 4, 4, 1 ) };
+ public static Rectangle2D[] AreaArray2 = { new Rectangle2D(-3,-3,7,7), new Rectangle2D( -2, 4, 3, 1 ) };
public SmallShop( Mobile owner, int id ) : base( id, owner, 425, 3 )
{
diff --git a/Scripts/Skills/Stealth.cs b/Scripts/Skills/Stealth.cs
index 7f052606e..11f81b538 100644
--- a/Scripts/Skills/Stealth.cs
+++ b/Scripts/Skills/Stealth.cs
@@ -14,8 +14,7 @@ namespace Server.SkillHandlers
public static double HidingRequirement => ( Core.ML ? 30.0 : ( Core.SE ? 50.0 : 80.0 ) );
public static int[,] ArmorTable => m_ArmorTable;
- private static int[,] m_ArmorTable = new[,]
- {
+ private static int[,] m_ArmorTable = {
// Gorget Gloves Helmet Arms Legs Chest Shield
/* Cloth */ { 0, 0, 0, 0, 0, 0, 0 },
/* Leather */ { 0, 0, 0, 0, 0, 0, 0 },
diff --git a/Scripts/Skills/Tracking.cs b/Scripts/Skills/Tracking.cs
index 840c56ebd..a756724eb 100644
--- a/Scripts/Skills/Tracking.cs
+++ b/Scripts/Skills/Tracking.cs
@@ -124,8 +124,7 @@ namespace Server.SkillHandlers
private Mobile m_From;
private int m_Range;
- private static TrackTypeDelegate[] m_Delegates = new[]
- {
+ private static TrackTypeDelegate[] m_Delegates = {
new TrackTypeDelegate( IsAnimal ),
new TrackTypeDelegate( IsMonster ),
new TrackTypeDelegate( IsHumanNPC ),
diff --git a/Scripts/SpecialSystems/Engines/PreventInaccess.cs b/Scripts/SpecialSystems/Engines/PreventInaccess.cs
index 685739b0d..6514dd1cb 100644
--- a/Scripts/SpecialSystems/Engines/PreventInaccess.cs
+++ b/Scripts/SpecialSystems/Engines/PreventInaccess.cs
@@ -19,8 +19,7 @@ namespace Server.Misc
{
public static readonly bool Enabled = true;
- private static readonly LocationInfo[] m_Destinations = new[]
- {
+ private static readonly LocationInfo[] m_Destinations = {
new LocationInfo( new Point3D( 5275, 1163, 0 ), Map.Felucca ), // Jail
new LocationInfo( new Point3D( 5275, 1163, 0 ), Map.Trammel ),
new LocationInfo( new Point3D( 5445, 1153, 0 ), Map.Felucca ), // Green acres
diff --git a/Scripts/Spells/Base/MagerySpell.cs b/Scripts/Spells/Base/MagerySpell.cs
index 731da43bd..93f6f7edb 100644
--- a/Scripts/Spells/Base/MagerySpell.cs
+++ b/Scripts/Spells/Base/MagerySpell.cs
@@ -38,7 +38,7 @@ namespace Server.Spells
max = avg + ChanceOffset;
}
- private static int[] m_ManaTable = new[] { 4, 6, 9, 11, 14, 20, 40, 50 };
+ private static int[] m_ManaTable = { 4, 6, 9, 11, 14, 20, 40, 50 };
public override int GetMana()
{
diff --git a/Scripts/Spells/Base/SpellHelper.cs b/Scripts/Spells/Base/SpellHelper.cs
index 36cb3ecf7..55e410dfd 100644
--- a/Scripts/Spells/Base/SpellHelper.cs
+++ b/Scripts/Spells/Base/SpellHelper.cs
@@ -437,8 +437,7 @@ namespace Server.Spells
return (noto != Notoriety.Innocent || from.Kills >= 5);
}
- private static int[] m_Offsets = new[]
- {
+ private static int[] m_Offsets = {
-1, -1,
-1, 0,
-1, 1,
@@ -563,8 +562,7 @@ namespace Server.Spells
private delegate bool TravelValidator( Map map, Point3D loc );
- private static TravelValidator[] m_Validators = new[]
- {
+ private static TravelValidator[] m_Validators = {
new TravelValidator( IsFeluccaT2A ),
new TravelValidator( IsKhaldun ),
new TravelValidator( IsIlshenar ),
@@ -586,8 +584,7 @@ namespace Server.Spells
new TravelValidator( IsMLDungeon )
};
- private static bool[,] m_Rules = new[,]
- {
+ private static bool[,] m_Rules = {
/*T2A(Fel), Khaldun, Ilshenar, Wind(Tram), Wind(Fel), Dungeons(Fel), Solen(Tram), Solen(Fel), CrystalCave(Malas), Gauntlet(Malas), Gauntlet(Ferry), SafeZone, Stronghold, ChampionSpawn, Dungeons(Tokuno[Malas]), LampRoom(Doom), GuardianRoom(Doom), Heartwood, MLDungeons */
/* Recall From */ { false, false, true, true, false, false, true, false, false, false, false, true, true, false, true, false, false, false, false },
/* Recall To */ { false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false },
diff --git a/Scripts/Spells/Base/SpellRegistry.cs b/Scripts/Spells/Base/SpellRegistry.cs
index 6f8b8e603..bb58a801b 100644
--- a/Scripts/Spells/Base/SpellRegistry.cs
+++ b/Scripts/Spells/Base/SpellRegistry.cs
@@ -127,8 +127,7 @@ namespace Server.Spells
return null;
}
- private static string[] m_CircleNames = new[]
- {
+ private static string[] m_CircleNames = {
"First",
"Second",
"Third",
diff --git a/Scripts/Spells/Fifth/Incognito.cs b/Scripts/Spells/Fifth/Incognito.cs
index cf5260e75..23b766d5d 100644
--- a/Scripts/Spells/Fifth/Incognito.cs
+++ b/Scripts/Spells/Fifth/Incognito.cs
@@ -135,16 +135,14 @@ namespace Server.Spells.Fifth
return ( t != null );
}
- private static int[] m_HairIDs = new[]
- {
+ private static int[] m_HairIDs = {
0x2044, 0x2045, 0x2046,
0x203C, 0x203B, 0x203D,
0x2047, 0x2048, 0x2049,
0x204A, 0x0000
};
- private static int[] m_BeardIDs = new[]
- {
+ private static int[] m_BeardIDs = {
0x203E, 0x203F, 0x2040,
0x2041, 0x204B, 0x204C,
0x204D, 0x0000
diff --git a/Scripts/Spells/Fifth/SummonCreature.cs b/Scripts/Spells/Fifth/SummonCreature.cs
index dbcf6afd4..66398f79c 100644
--- a/Scripts/Spells/Fifth/SummonCreature.cs
+++ b/Scripts/Spells/Fifth/SummonCreature.cs
@@ -22,8 +22,7 @@ namespace Server.Spells.Fifth
// NOTE: Creature list based on 1hr of summon/release on OSI.
- private static Type[] m_Types = new[]
- {
+ private static Type[] m_Types = {
typeof( PolarBear ),
typeof( GrizzlyBear ),
typeof( BlackBear ),
diff --git a/Scripts/Spells/First/CreateFood.cs b/Scripts/Spells/First/CreateFood.cs
index 8d1d5cfe8..e9e27941f 100644
--- a/Scripts/Spells/First/CreateFood.cs
+++ b/Scripts/Spells/First/CreateFood.cs
@@ -20,8 +20,7 @@ namespace Server.Spells.First
{
}
- private static FoodInfo[] m_Food = new[]
- {
+ private static FoodInfo[] m_Food = {
new FoodInfo( typeof( Grapes ), "a grape bunch" ),
new FoodInfo( typeof( Ham ), "a ham" ),
new FoodInfo( typeof( CheeseWedge ), "a wedge of cheese" ),
diff --git a/Scripts/Spells/Necromancy/AnimateDeadSpell.cs b/Scripts/Spells/Necromancy/AnimateDeadSpell.cs
index 1952c9c97..e9a517434 100644
--- a/Scripts/Spells/Necromancy/AnimateDeadSpell.cs
+++ b/Scripts/Spells/Necromancy/AnimateDeadSpell.cs
@@ -76,8 +76,7 @@ namespace Server.Spells.Necromancy
return null;
}
- private static CreatureGroup[] m_Groups = new[]
- {
+ private static CreatureGroup[] m_Groups = {
// Undead group--empty
new CreatureGroup( SlayerGroup.GetEntryByName( SlayerName.Silver ).Types, new SummonEntry[0] ),
// Insects
diff --git a/Scripts/Spells/Necromancy/Exorcism.cs b/Scripts/Spells/Necromancy/Exorcism.cs
index 725098e6c..cc7a7aacb 100644
--- a/Scripts/Spells/Necromancy/Exorcism.cs
+++ b/Scripts/Spells/Necromancy/Exorcism.cs
@@ -164,8 +164,7 @@ namespace Server.Spells.Necromancy
return closest;
}
- private static readonly Point3D[] m_BritanniaLocs = new[]
- {
+ private static readonly Point3D[] m_BritanniaLocs = {
new Point3D( 1470, 843, 0 ),
new Point3D( 1857, 865, -1 ),
new Point3D( 4220, 563, 36 ),
@@ -176,8 +175,7 @@ namespace Server.Spells.Necromancy
new Point3D( 2500, 3931, 3 ),
new Point3D( 4264, 3707, 0 )
};
- private static readonly Point3D[] m_IllshLocs = new[]
- {
+ private static readonly Point3D[] m_IllshLocs = {
new Point3D( 1222, 474, -17 ),
new Point3D( 718, 1360, -60),
new Point3D( 297, 1014, -19 ),
@@ -186,12 +184,10 @@ namespace Server.Spells.Necromancy
new Point3D( 1538, 1341, -3 ),
new Point3D( 528, 223, -38 )
};
- private static readonly Point3D[] m_MalasLocs = new[]
- {
+ private static readonly Point3D[] m_MalasLocs = {
new Point3D ( 976, 517, -30 )
};
- private static readonly Point3D[] m_TokunoLocs = new[]
- {
+ private static readonly Point3D[] m_TokunoLocs = {
new Point3D( 710, 1162, 25 ),
new Point3D( 1034, 515, 18 ),
new Point3D( 295, 712, 55 )
diff --git a/Scripts/Spells/Necromancy/SummonFamiliar.cs b/Scripts/Spells/Necromancy/SummonFamiliar.cs
index 13bf1cfcd..6b5cec59f 100644
--- a/Scripts/Spells/Necromancy/SummonFamiliar.cs
+++ b/Scripts/Spells/Necromancy/SummonFamiliar.cs
@@ -54,8 +54,7 @@ namespace Server.Spells.Necromancy
FinishSequence();
}
- private static SummonFamiliarEntry[] m_Entries = new[]
- {
+ private static SummonFamiliarEntry[] m_Entries = {
new SummonFamiliarEntry( typeof( HordeMinionFamiliar ), 1060146, 30.0, 30.0 ), // Horde Minion
new SummonFamiliarEntry( typeof( ShadowWispFamiliar ), 1060142, 50.0, 50.0 ), // Shadow Wisp
new SummonFamiliarEntry( typeof( DarkWolfFamiliar ), 1060143, 60.0, 60.0 ), // Dark Wolf
diff --git a/Scripts/Spells/Ninjitsu/AnimalForm.cs b/Scripts/Spells/Ninjitsu/AnimalForm.cs
index 0938fe765..be6fb194e 100644
--- a/Scripts/Spells/Ninjitsu/AnimalForm.cs
+++ b/Scripts/Spells/Ninjitsu/AnimalForm.cs
@@ -366,8 +366,7 @@ namespace Server.Spells.Ninjitsu
}
}
- private static AnimalFormEntry[] m_Entries = new[]
- {
+ private static AnimalFormEntry[] m_Entries = {
new AnimalFormEntry( typeof( Kirin ), 1029632, 9632, 0, 1070811, 100.0, 0x84, 0, 0, false, true, false ),
new AnimalFormEntry( typeof( Unicorn ), 1018214, 9678, 0, 1070812, 100.0, 0x7A, 0, 0, false, true, false ),
new AnimalFormEntry( typeof( BakeKitsune ), 1030083, 10083, 0, 1070810, 82.5, 0xF6, 0, 0, false, true, false ),
diff --git a/Server/Network/PacketHandlers.cs b/Server/Network/PacketHandlers.cs
index 63031e749..63c82196d 100644
--- a/Server/Network/PacketHandlers.cs
+++ b/Server/Network/PacketHandlers.cs
@@ -1572,8 +1572,7 @@ namespace Server.Network
}
}
- public static int[] m_ValidAnimations = new[]
- {
+ public static int[] m_ValidAnimations = {
6, 21, 32, 33,
100, 101, 102,
103, 104, 105,
@@ -2006,8 +2005,7 @@ namespace Server.Network
public static PlayCharCallback ThirdPartyAuthCallback = null, ThirdPartyHackedCallback = null;
- private static byte[] m_ThirdPartyAuthKey = new byte[]
- {
+ private static byte[] m_ThirdPartyAuthKey = {
0x9, 0x11, 0x83, (byte)'+', 0x4, 0x17, 0x83,
0x5, 0x24, 0x85,
0x7, 0x17, 0x87,
diff --git a/Server/Notoriety.cs b/Server/Notoriety.cs
index d94178d49..3614e3868 100644
--- a/Server/Notoriety.cs
+++ b/Server/Notoriety.cs
@@ -40,8 +40,7 @@ namespace Server
set => m_Handler = value;
}
- private static int[] m_Hues = new[]
- {
+ private static int[] m_Hues = {
0x000,
0x059,
0x03F,
diff --git a/Server/ObjectPropertyList.cs b/Server/ObjectPropertyList.cs
index da2f8efca..6609a8907 100644
--- a/Server/ObjectPropertyList.cs
+++ b/Server/ObjectPropertyList.cs
@@ -146,8 +146,7 @@ namespace Server
}
// Each of these are localized to "~1_NOTHING~" which allows the string argument to be used
- private static int[] m_StringNumbers = new[]
- {
+ private static int[] m_StringNumbers = {
1042971,
1070722
};
diff --git a/Server/Utility.cs b/Server/Utility.cs
index 8f04d4186..b6a504b62 100644
--- a/Server/Utility.cs
+++ b/Server/Utility.cs
@@ -1029,8 +1029,7 @@ namespace Server
#endregion
- private static SkillName[] m_AllSkills = new[]
- {
+ private static SkillName[] m_AllSkills = {
SkillName.Alchemy,
SkillName.Anatomy,
SkillName.AnimalLore,
@@ -1088,8 +1087,7 @@ namespace Server
SkillName.Spellweaving
};
- private static SkillName[] m_CombatSkills = new[]
- {
+ private static SkillName[] m_CombatSkills = {
SkillName.Archery,
SkillName.Swords,
SkillName.Macing,
@@ -1097,8 +1095,7 @@ namespace Server
SkillName.Wrestling
};
- private static SkillName[] m_CraftSkills = new[]
- {
+ private static SkillName[] m_CraftSkills = {
SkillName.Alchemy,
SkillName.Blacksmith,
SkillName.Fletching,