Adds style cop (#109)
This commit is contained in:
parent
3e715bcb60
commit
556a17aba8
1725 changed files with 33831 additions and 38046 deletions
|
|
@ -8,7 +8,7 @@ namespace Server.Items
|
|||
{
|
||||
}
|
||||
|
||||
public abstract int ArtifactRarity{ get; }
|
||||
public abstract int ArtifactRarity { get; }
|
||||
|
||||
public override bool ForceShowProperties => true;
|
||||
|
||||
|
|
@ -42,7 +42,7 @@ namespace Server.Items
|
|||
{
|
||||
}
|
||||
|
||||
public abstract int ArtifactRarity{ get; }
|
||||
public abstract int ArtifactRarity { get; }
|
||||
|
||||
public override bool ForceShowProperties => true;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,5 @@
|
|||
namespace Server.Items
|
||||
{
|
||||
#region BackpackArtifact
|
||||
|
||||
public class BackpackArtifact : BaseDecorationContainerArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -30,10 +28,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region BloodyWaterArtifact
|
||||
|
||||
public class BloodyWaterArtifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -62,10 +56,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region BooksWestArtifact
|
||||
|
||||
public class BooksWestArtifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -94,10 +84,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region BooksNorthArtifact
|
||||
|
||||
public class BooksNorthArtifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -126,10 +112,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region BooksFaceDownArtifact
|
||||
|
||||
public class BooksFaceDownArtifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -158,10 +140,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region BottleArtifact
|
||||
|
||||
public class BottleArtifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -190,10 +168,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region BrazierArtifact
|
||||
|
||||
public class BrazierArtifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -220,10 +194,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region CocoonArtifact
|
||||
|
||||
public class CocoonArtifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -252,10 +222,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region DamagedBooksArtifact
|
||||
|
||||
public class DamagedBooksArtifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -284,10 +250,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region EggCaseArtifact
|
||||
|
||||
public class EggCaseArtifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -316,10 +278,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region GruesomeStandardArtifact
|
||||
|
||||
public class GruesomeStandardArtifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -348,10 +306,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region LampPostArtifact
|
||||
|
||||
public class LampPostArtifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -378,10 +332,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region LeatherTunicArtifact
|
||||
|
||||
public class LeatherTunicArtifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -410,10 +360,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region RockArtifact
|
||||
|
||||
public class RockArtifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -442,10 +388,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region RuinedPaintingArtifact
|
||||
|
||||
public class RuinedPaintingArtifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -474,10 +416,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region SaddleArtifact
|
||||
|
||||
public class SaddleArtifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -506,10 +444,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region SkinnedDeerArtifact
|
||||
|
||||
public class SkinnedDeerArtifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -538,10 +472,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region SkinnedGoatArtifact
|
||||
|
||||
public class SkinnedGoatArtifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -570,10 +500,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region SkullCandleArtifact
|
||||
|
||||
public class SkullCandleArtifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -600,10 +526,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region StretchedHideArtifact
|
||||
|
||||
public class StretchedHideArtifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -632,10 +554,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region StuddedLeggingsArtifact
|
||||
|
||||
public class StuddedLeggingsArtifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -664,10 +582,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region StuddedTunicArtifact
|
||||
|
||||
public class StuddedTunicArtifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -696,10 +610,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region TarotCardsArtifact
|
||||
|
||||
public class TarotCardsArtifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -727,6 +637,4 @@ namespace Server.Items
|
|||
int version = reader.ReadEncodedInt();
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
|
|
@ -2,8 +2,6 @@ using Server.Network;
|
|||
|
||||
namespace Server.Items
|
||||
{
|
||||
#region Basket1Artifact
|
||||
|
||||
public class Basket1Artifact : BaseDecorationContainerArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -32,10 +30,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Basket2Artifact
|
||||
|
||||
public class Basket2Artifact : BaseDecorationContainerArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -64,10 +58,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Basket3WestArtifact
|
||||
|
||||
public class Basket3WestArtifact : BaseDecorationContainerArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -96,10 +86,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Basket3NorthArtifact
|
||||
|
||||
public class Basket3NorthArtifact : BaseDecorationContainerArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -128,10 +114,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Basket4Artifact
|
||||
|
||||
public class Basket4Artifact : BaseDecorationContainerArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -160,10 +142,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Basket5WestArtifact
|
||||
|
||||
public class Basket5WestArtifact : BaseDecorationContainerArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -192,10 +170,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Basket5NorthArtifact
|
||||
|
||||
public class Basket5NorthArtifact : BaseDecorationContainerArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -224,10 +198,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Basket6Artifact
|
||||
|
||||
public class Basket6Artifact : BaseDecorationContainerArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -256,10 +226,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region BowlArtifact
|
||||
|
||||
public class BowlArtifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -288,10 +254,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region BowlsVerticalArtifact
|
||||
|
||||
public class BowlsVerticalArtifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -320,10 +282,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region BowlsHorizontalArtifact
|
||||
|
||||
public class BowlsHorizontalArtifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -352,10 +310,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region CupsArtifact
|
||||
|
||||
public class CupsArtifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -384,10 +338,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region FanWestArtifact
|
||||
|
||||
public class FanWestArtifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -416,10 +366,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region FanNorthArtifact
|
||||
|
||||
public class FanNorthArtifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -448,10 +394,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region TripleFanWestArtifact
|
||||
|
||||
public class TripleFanWestArtifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -480,10 +422,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region TripleFanNorthArtifact
|
||||
|
||||
public class TripleFanNorthArtifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -512,10 +450,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region FlowersArtifact
|
||||
|
||||
public class FlowersArtifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -544,10 +478,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Painting1WestArtifact
|
||||
|
||||
public class Painting1WestArtifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -576,10 +506,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Painting1NorthArtifact
|
||||
|
||||
public class Painting1NorthArtifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -608,10 +534,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Painting2WestArtifact
|
||||
|
||||
public class Painting2WestArtifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -640,10 +562,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Painting2NorthArtifact
|
||||
|
||||
public class Painting2NorthArtifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -672,10 +590,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Painting3Artifact
|
||||
|
||||
public class Painting3Artifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -704,10 +618,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Painting4WestArtifact
|
||||
|
||||
public class Painting4WestArtifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -736,10 +646,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Painting4NorthArtifact
|
||||
|
||||
public class Painting4NorthArtifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -768,10 +674,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Painting5WestArtifact
|
||||
|
||||
public class Painting5WestArtifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -800,10 +702,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Painting5NorthArtifact
|
||||
|
||||
public class Painting5NorthArtifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -832,10 +730,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Painting6WestArtifact
|
||||
|
||||
public class Painting6WestArtifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -864,10 +758,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Painting6NorthArtifact
|
||||
|
||||
public class Painting6NorthArtifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -896,10 +786,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region SakeArtifact
|
||||
|
||||
public class SakeArtifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -928,10 +814,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Sculpture1Artifact
|
||||
|
||||
public class Sculpture1Artifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -960,10 +842,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Sculpture2Artifact
|
||||
|
||||
public class Sculpture2Artifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -992,10 +870,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region DolphinLeftArtifact
|
||||
|
||||
public class DolphinLeftArtifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -1024,10 +898,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region DolphinRightArtifact
|
||||
|
||||
public class DolphinRightArtifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -1056,10 +926,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region ManStatuetteSouthArtifact
|
||||
|
||||
public class ManStatuetteSouthArtifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -1088,10 +954,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region ManStatuetteEastArtifact
|
||||
|
||||
public class ManStatuetteEastArtifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -1120,10 +982,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region SwordDisplay1WestArtifact
|
||||
|
||||
public class SwordDisplay1WestArtifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -1152,10 +1010,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region SwordDisplay1NorthArtifact
|
||||
|
||||
public class SwordDisplay1NorthArtifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -1184,10 +1038,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region SwordDisplay2WestArtifact
|
||||
|
||||
public class SwordDisplay2WestArtifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -1216,10 +1066,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region SwordDisplay2NorthArtifact
|
||||
|
||||
public class SwordDisplay2NorthArtifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -1248,10 +1094,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region SwordDisplay3SouthArtifact
|
||||
|
||||
public class SwordDisplay3SouthArtifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -1280,10 +1122,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region SwordDisplay3EastArtifact
|
||||
|
||||
public class SwordDisplay3EastArtifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -1312,10 +1150,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region SwordDisplay4WestArtifact
|
||||
|
||||
public class SwordDisplay4WestArtifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -1344,10 +1178,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region SwordDisplay4NorthArtifact
|
||||
|
||||
public class SwordDisplay4NorthArtifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -1376,10 +1206,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region SwordDisplay5WestArtifact
|
||||
|
||||
public class SwordDisplay5WestArtifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -1408,10 +1234,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region SwordDisplay5NorthArtifact
|
||||
|
||||
public class SwordDisplay5NorthArtifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -1440,10 +1262,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region TeapotWestArtifact
|
||||
|
||||
public class TeapotWestArtifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -1472,10 +1290,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region TeapotNorthArtifact
|
||||
|
||||
public class TeapotNorthArtifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -1504,10 +1318,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region TowerLanternArtifact
|
||||
|
||||
public class TowerLanternArtifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -1565,10 +1375,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Urn1Artifact
|
||||
|
||||
public class Urn1Artifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -1597,10 +1403,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Urn2Artifact
|
||||
|
||||
public class Urn2Artifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -1629,10 +1431,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region ZenRock1Artifact
|
||||
|
||||
public class ZenRock1Artifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -1661,10 +1459,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region ZenRock2Artifact
|
||||
|
||||
public class ZenRock2Artifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -1693,10 +1487,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region ZenRock3Artifact
|
||||
|
||||
public class ZenRock3Artifact : BaseDecorationArtifact
|
||||
{
|
||||
[Constructible]
|
||||
|
|
@ -1724,6 +1514,4 @@ namespace Server.Items
|
|||
int version = reader.ReadEncodedInt();
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
using Server.Utilities;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Server.Utilities;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
|
|
@ -27,7 +27,7 @@ namespace Server.Items
|
|||
|
||||
public StealableArtifactsSpawner(Serial serial) : base(serial) => Instance = this;
|
||||
|
||||
public static StealableEntry[] Entries{ get; } =
|
||||
public static StealableEntry[] Entries { get; } =
|
||||
{
|
||||
// Doom - Artifact rarity 1
|
||||
new StealableEntry(Map.Malas, new Point3D(317, 56, -1), 72, 108, typeof(RockArtifact)),
|
||||
|
|
@ -151,19 +151,18 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
public static StealableArtifactsSpawner Instance{ get; private set; }
|
||||
public static StealableArtifactsSpawner Instance { get; private set; }
|
||||
|
||||
public override string DefaultName => "Stealable Artifacts Spawner - Internal";
|
||||
|
||||
private static int GetLampPostHue()
|
||||
{
|
||||
if (0.9 > Utility.RandomDouble())
|
||||
if (Utility.RandomDouble() < 0.9)
|
||||
return 0;
|
||||
|
||||
return Utility.RandomList(0x455, 0x47E, 0x482, 0x486, 0x48F, 0x4F2, 0x58C, 0x66C);
|
||||
}
|
||||
|
||||
|
||||
public static void Initialize()
|
||||
{
|
||||
CommandSystem.Register("GenStealArties", AccessLevel.Administrator, GenStealArties_OnCommand);
|
||||
|
|
@ -303,17 +302,17 @@ namespace Server.Items
|
|||
Hue = hue;
|
||||
}
|
||||
|
||||
public Map Map{ get; }
|
||||
public Map Map { get; }
|
||||
|
||||
public Point3D Location{ get; }
|
||||
public Point3D Location { get; }
|
||||
|
||||
public int MinDelay{ get; }
|
||||
public int MinDelay { get; }
|
||||
|
||||
public int MaxDelay{ get; }
|
||||
public int MaxDelay { get; }
|
||||
|
||||
public Type Type{ get; }
|
||||
public Type Type { get; }
|
||||
|
||||
public int Hue{ get; }
|
||||
public int Hue { get; }
|
||||
|
||||
public Item CreateInstance()
|
||||
{
|
||||
|
|
@ -329,7 +328,6 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
public class StealableInstance
|
||||
{
|
||||
private Item m_Item;
|
||||
|
|
@ -345,7 +343,7 @@ namespace Server.Items
|
|||
Entry = entry;
|
||||
}
|
||||
|
||||
public StealableEntry Entry{ get; }
|
||||
public StealableEntry Entry { get; }
|
||||
|
||||
public Item Item
|
||||
{
|
||||
|
|
@ -371,7 +369,7 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
public DateTime NextRespawn{ get; set; }
|
||||
public DateTime NextRespawn { get; set; }
|
||||
|
||||
public void CheckRespawn()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue