Formatting FIxes (#58)

This commit is contained in:
Kamron Batman 2019-10-04 23:08:13 -07:00 committed by GitHub
parent 57fb9fb525
commit 096d39609e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1318 changed files with 11633 additions and 22129 deletions

View file

@ -61,10 +61,7 @@ namespace Server.Items
private int m_LabelNumber;
[Constructible]
public LocalizedAddonComponent(int itemID, int labelNumber) : base(itemID)
{
m_LabelNumber = labelNumber;
}
public LocalizedAddonComponent(int itemID, int labelNumber) : base(itemID) => m_LabelNumber = labelNumber;
public LocalizedAddonComponent(Serial serial) : base(serial)
{

View file

@ -114,10 +114,7 @@ namespace Server.Items
{
private int m_LabelNumber;
public LocalizedContainerComponent(int itemID, int labelNumber) : base(itemID)
{
m_LabelNumber = labelNumber;
}
public LocalizedContainerComponent(int itemID, int labelNumber) : base(itemID) => m_LabelNumber = labelNumber;
public LocalizedContainerComponent(Serial serial) : base(serial)
{

View file

@ -4,327 +4,327 @@ using Server.Network;
namespace Server.Items
{
[FlippableAttribute( 0x100A/*East*/, 0x100B/*South*/ )]
public class ArcheryButte : AddonComponent
{
[CommandProperty( AccessLevel.GameMaster )]
public double MinSkill { get; set; }
[FlippableAttribute( 0x100A/*East*/, 0x100B/*South*/ )]
public class ArcheryButte : AddonComponent
{
[CommandProperty( AccessLevel.GameMaster )]
public double MinSkill { get; set; }
[CommandProperty( AccessLevel.GameMaster )]
public double MaxSkill { get; set; }
[CommandProperty( AccessLevel.GameMaster )]
public DateTime LastUse { get; set; }
[CommandProperty( AccessLevel.GameMaster )]
public bool FacingEast
{
get => ItemID == 0x100A;
set => ItemID = value ? 0x100A : 0x100B;
}
[CommandProperty( AccessLevel.GameMaster )]
public int Arrows { get; set; }
[CommandProperty( AccessLevel.GameMaster )]
public int Bolts { get; set; }
public ArcheryButte(int itemID = 0x100A) : base(itemID)
{
MinSkill = -25.0;
MaxSkill = +25.0;
}
public ArcheryButte( Serial serial ) : base( serial )
{
}
public override void OnDoubleClick( Mobile from )
{
if ( (Arrows > 0 || Bolts > 0) && from.InRange( GetWorldLocation(), 1 ) )
Gather( from );
else
Fire( from );
}
public void Gather( Mobile from )
{
from.LocalOverheadMessage( MessageType.Regular, 0x3B2, 500592 ); // You gather the arrows and bolts.
if ( Arrows > 0 )
from.AddToBackpack( new Arrow( Arrows ) );
if ( Bolts > 0 )
from.AddToBackpack( new Bolt( Bolts ) );
Arrows = 0;
Bolts = 0;
m_Entries = null;
}
private static TimeSpan UseDelay = TimeSpan.FromSeconds( 2.0 );
private class ScoreEntry
{
public int Total { get; set; }
public int Count { get; set; }
public void Record( int score )
{
Total += score;
Count += 1;
}
[CommandProperty( AccessLevel.GameMaster )]
public double MaxSkill { get; set; }
[CommandProperty( AccessLevel.GameMaster )]
public DateTime LastUse { get; set; }
[CommandProperty( AccessLevel.GameMaster )]
public bool FacingEast
{
get => ItemID == 0x100A;
set => ItemID = value ? 0x100A : 0x100B;
}
[CommandProperty( AccessLevel.GameMaster )]
public int Arrows { get; set; }
[CommandProperty( AccessLevel.GameMaster )]
public int Bolts { get; set; }
public ArcheryButte(int itemID = 0x100A) : base(itemID)
{
MinSkill = -25.0;
MaxSkill = +25.0;
}
public ArcheryButte( Serial serial ) : base( serial )
{
}
public override void OnDoubleClick( Mobile from )
{
if ( (Arrows > 0 || Bolts > 0) && from.InRange( GetWorldLocation(), 1 ) )
Gather( from );
else
Fire( from );
}
public void Gather( Mobile from )
{
from.LocalOverheadMessage( MessageType.Regular, 0x3B2, 500592 ); // You gather the arrows and bolts.
if ( Arrows > 0 )
from.AddToBackpack( new Arrow( Arrows ) );
if ( Bolts > 0 )
from.AddToBackpack( new Bolt( Bolts ) );
Arrows = 0;
Bolts = 0;
m_Entries = null;
}
private static TimeSpan UseDelay = TimeSpan.FromSeconds( 2.0 );
private class ScoreEntry
{
public int Total { get; set; }
public int Count { get; set; }
public void Record( int score )
{
Total += score;
Count += 1;
}
public ScoreEntry()
{
}
}
public ScoreEntry()
{
}
}
private Dictionary<Mobile, ScoreEntry> m_Entries;
private Dictionary<Mobile, ScoreEntry> m_Entries;
private ScoreEntry GetEntryFor( Mobile from )
{
if ( m_Entries == null )
m_Entries = new Dictionary<Mobile, ScoreEntry>();
if (!m_Entries.TryGetValue(from, out ScoreEntry e))
m_Entries[from] = e = new ScoreEntry();
return e;
}
public void Fire( Mobile from )
{
if ( !(from.Weapon is BaseRanged bow) )
{
SendLocalizedMessageTo( from, 500593 ); // You must practice with ranged weapons on this.
return;
}
if ( DateTime.UtcNow < (LastUse + UseDelay) )
return;
Point3D worldLoc = GetWorldLocation();
if ( FacingEast ? from.X <= worldLoc.X : from.Y <= worldLoc.Y )
{
from.LocalOverheadMessage( MessageType.Regular, 0x3B2, 500596 ); // You would do better to stand in front of the archery butte.
return;
}
if ( FacingEast ? from.Y != worldLoc.Y : from.X != worldLoc.X )
{
from.LocalOverheadMessage( MessageType.Regular, 0x3B2, 500597 ); // You aren't properly lined up with the archery butte to get an accurate shot.
return;
}
if ( !from.InRange( worldLoc, 6 ) )
{
from.LocalOverheadMessage( MessageType.Regular, 0x3B2, 500598 ); // You are too far away from the archery butte to get an accurate shot.
return;
}
if ( from.InRange( worldLoc, 4 ) )
{
from.LocalOverheadMessage( MessageType.Regular, 0x3B2, 500599 ); // You are too close to the target.
return;
}
Container pack = from.Backpack;
Type ammoType = bow.AmmoType;
bool isArrow = ammoType == typeof( Arrow );
bool isBolt = ammoType == typeof( Bolt );
bool isKnown = isArrow || isBolt;
if (pack?.ConsumeTotal( ammoType ) != true)
{
if ( isArrow )
from.LocalOverheadMessage( MessageType.Regular, 0x3B2, 500594 ); // You do not have any arrows with which to practice.
else if ( isBolt )
from.LocalOverheadMessage( MessageType.Regular, 0x3B2, 500595 ); // You do not have any crossbow bolts with which to practice.
else
SendLocalizedMessageTo( from, 500593 ); // You must practice with ranged weapons on this.
return;
}
LastUse = DateTime.UtcNow;
from.Direction = from.GetDirectionTo( GetWorldLocation() );
bow.PlaySwingAnimation( from );
from.MovingEffect( this, bow.EffectID, 18, 1, false, false );
ScoreEntry se = GetEntryFor( from );
if ( !from.CheckSkill( bow.Skill, MinSkill, MaxSkill ) )
{
from.PlaySound( bow.MissSound );
PublicOverheadMessage( MessageType.Regular, 0x3B2, 500604, from.Name ); // You miss the target altogether.
se.Record( 0 );
if ( se.Count == 1 )
PublicOverheadMessage( MessageType.Regular, 0x3B2, 1062719, se.Total.ToString() );
else
PublicOverheadMessage( MessageType.Regular, 0x3B2, 1042683, $"{se.Total}\t{se.Count}");
return;
}
Effects.PlaySound( Location, Map, 0x2B1 );
double rand = Utility.RandomDouble();
int area, score, splitScore;
if ( 0.10 > rand )
{
area = 0; // bullseye
score = 50;
splitScore = 100;
}
else if ( 0.25 > rand )
{
area = 1; // inner ring
score = 10;
splitScore = 20;
}
else if ( 0.50 > rand )
{
area = 2; // middle ring
score = 5;
splitScore = 15;
}
else
{
area = 3; // outer ring
score = 2;
splitScore = 5;
}
bool split = ( isKnown && ((Arrows + Bolts) * 0.02) > Utility.RandomDouble() );
if ( split )
{
PublicOverheadMessage( MessageType.Regular, 0x3B2, 1010027 + area,
$"{from.Name}\t{(isArrow ? "arrow" : "bolt")}");
}
else
{
PublicOverheadMessage( MessageType.Regular, 0x3B2, 1010035 + area, from.Name );
if ( isArrow )
++Arrows;
else if ( isBolt )
++Bolts;
}
se.Record( split ? splitScore : score );
if ( se.Count == 1 )
PublicOverheadMessage( MessageType.Regular, 0x3B2, 1062719, se.Total.ToString() );
else
PublicOverheadMessage( MessageType.Regular, 0x3B2, 1042683, $"{se.Total}\t{se.Count}");
}
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.Write( 0 );
writer.Write( MinSkill );
writer.Write( MaxSkill );
writer.Write( Arrows );
writer.Write( Bolts );
}
public override void Deserialize( GenericReader reader )
{
base.Deserialize( reader );
int version = reader.ReadInt();
switch ( version )
{
case 0:
{
MinSkill = reader.ReadDouble();
MaxSkill = reader.ReadDouble();
Arrows = reader.ReadInt();
Bolts = reader.ReadInt();
if ( MinSkill == 0.0 && MaxSkill == 30.0 )
{
MinSkill = -25.0;
MaxSkill = +25.0;
}
break;
}
}
}
}
public class ArcheryButteAddon : BaseAddon
{
public override BaseAddonDeed Deed => new ArcheryButteDeed();
[Constructible]
public ArcheryButteAddon()
{
AddComponent( new ArcheryButte(), 0, 0, 0 );
}
public ArcheryButteAddon( Serial serial ) : base( serial )
{
}
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.Write( 0 ); // version
}
public override void Deserialize( GenericReader reader )
{
base.Deserialize( reader );
int version = reader.ReadInt();
}
}
public class ArcheryButteDeed : BaseAddonDeed
{
public override BaseAddon Addon => new ArcheryButteAddon();
public override int LabelNumber => 1024106; // archery butte
[Constructible]
public ArcheryButteDeed()
{
}
public ArcheryButteDeed( Serial serial ) : base( serial )
{
}
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.Write( 0 ); // version
}
public override void Deserialize( GenericReader reader )
{
base.Deserialize( reader );
int version = reader.ReadInt();
}
}
private ScoreEntry GetEntryFor( Mobile from )
{
if ( m_Entries == null )
m_Entries = new Dictionary<Mobile, ScoreEntry>();
if (!m_Entries.TryGetValue(from, out ScoreEntry e))
m_Entries[from] = e = new ScoreEntry();
return e;
}
public void Fire( Mobile from )
{
if ( !(from.Weapon is BaseRanged bow) )
{
SendLocalizedMessageTo( from, 500593 ); // You must practice with ranged weapons on this.
return;
}
if ( DateTime.UtcNow < (LastUse + UseDelay) )
return;
Point3D worldLoc = GetWorldLocation();
if ( FacingEast ? from.X <= worldLoc.X : from.Y <= worldLoc.Y )
{
from.LocalOverheadMessage( MessageType.Regular, 0x3B2, 500596 ); // You would do better to stand in front of the archery butte.
return;
}
if ( FacingEast ? from.Y != worldLoc.Y : from.X != worldLoc.X )
{
from.LocalOverheadMessage( MessageType.Regular, 0x3B2, 500597 ); // You aren't properly lined up with the archery butte to get an accurate shot.
return;
}
if ( !from.InRange( worldLoc, 6 ) )
{
from.LocalOverheadMessage( MessageType.Regular, 0x3B2, 500598 ); // You are too far away from the archery butte to get an accurate shot.
return;
}
if ( from.InRange( worldLoc, 4 ) )
{
from.LocalOverheadMessage( MessageType.Regular, 0x3B2, 500599 ); // You are too close to the target.
return;
}
Container pack = from.Backpack;
Type ammoType = bow.AmmoType;
bool isArrow = ammoType == typeof( Arrow );
bool isBolt = ammoType == typeof( Bolt );
bool isKnown = isArrow || isBolt;
if (pack?.ConsumeTotal( ammoType ) != true)
{
if ( isArrow )
from.LocalOverheadMessage( MessageType.Regular, 0x3B2, 500594 ); // You do not have any arrows with which to practice.
else if ( isBolt )
from.LocalOverheadMessage( MessageType.Regular, 0x3B2, 500595 ); // You do not have any crossbow bolts with which to practice.
else
SendLocalizedMessageTo( from, 500593 ); // You must practice with ranged weapons on this.
return;
}
LastUse = DateTime.UtcNow;
from.Direction = from.GetDirectionTo( GetWorldLocation() );
bow.PlaySwingAnimation( from );
from.MovingEffect( this, bow.EffectID, 18, 1, false, false );
ScoreEntry se = GetEntryFor( from );
if ( !from.CheckSkill( bow.Skill, MinSkill, MaxSkill ) )
{
from.PlaySound( bow.MissSound );
PublicOverheadMessage( MessageType.Regular, 0x3B2, 500604, from.Name ); // You miss the target altogether.
se.Record( 0 );
if ( se.Count == 1 )
PublicOverheadMessage( MessageType.Regular, 0x3B2, 1062719, se.Total.ToString() );
else
PublicOverheadMessage( MessageType.Regular, 0x3B2, 1042683, $"{se.Total}\t{se.Count}");
return;
}
Effects.PlaySound( Location, Map, 0x2B1 );
double rand = Utility.RandomDouble();
int area, score, splitScore;
if ( 0.10 > rand )
{
area = 0; // bullseye
score = 50;
splitScore = 100;
}
else if ( 0.25 > rand )
{
area = 1; // inner ring
score = 10;
splitScore = 20;
}
else if ( 0.50 > rand )
{
area = 2; // middle ring
score = 5;
splitScore = 15;
}
else
{
area = 3; // outer ring
score = 2;
splitScore = 5;
}
bool split = ( isKnown && ((Arrows + Bolts) * 0.02) > Utility.RandomDouble() );
if ( split )
{
PublicOverheadMessage( MessageType.Regular, 0x3B2, 1010027 + area,
$"{from.Name}\t{(isArrow ? "arrow" : "bolt")}");
}
else
{
PublicOverheadMessage( MessageType.Regular, 0x3B2, 1010035 + area, from.Name );
if ( isArrow )
++Arrows;
else if ( isBolt )
++Bolts;
}
se.Record( split ? splitScore : score );
if ( se.Count == 1 )
PublicOverheadMessage( MessageType.Regular, 0x3B2, 1062719, se.Total.ToString() );
else
PublicOverheadMessage( MessageType.Regular, 0x3B2, 1042683, $"{se.Total}\t{se.Count}");
}
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.Write( 0 );
writer.Write( MinSkill );
writer.Write( MaxSkill );
writer.Write( Arrows );
writer.Write( Bolts );
}
public override void Deserialize( GenericReader reader )
{
base.Deserialize( reader );
int version = reader.ReadInt();
switch ( version )
{
case 0:
{
MinSkill = reader.ReadDouble();
MaxSkill = reader.ReadDouble();
Arrows = reader.ReadInt();
Bolts = reader.ReadInt();
if ( MinSkill == 0.0 && MaxSkill == 30.0 )
{
MinSkill = -25.0;
MaxSkill = +25.0;
}
break;
}
}
}
}
public class ArcheryButteAddon : BaseAddon
{
public override BaseAddonDeed Deed => new ArcheryButteDeed();
[Constructible]
public ArcheryButteAddon()
{
AddComponent( new ArcheryButte(), 0, 0, 0 );
}
public ArcheryButteAddon( Serial serial ) : base( serial )
{
}
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.Write( 0 ); // version
}
public override void Deserialize( GenericReader reader )
{
base.Deserialize( reader );
int version = reader.ReadInt();
}
}
public class ArcheryButteDeed : BaseAddonDeed
{
public override BaseAddon Addon => new ArcheryButteAddon();
public override int LabelNumber => 1024106; // archery butte
[Constructible]
public ArcheryButteDeed()
{
}
public ArcheryButteDeed( Serial serial ) : base( serial )
{
}
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.Write( 0 ); // version
}
public override void Deserialize( GenericReader reader )
{
base.Deserialize( reader );
int version = reader.ReadInt();
}
}
}

View file

@ -67,10 +67,7 @@ namespace Server.Items
return house?.IsOwner(from) == true;
}
public bool HasVoted(Mobile from)
{
return Yes.Contains(from) || No.Contains(from);
}
public bool HasVoted(Mobile from) => Yes.Contains(from) || No.Contains(from);
public override bool OnDragDrop(Mobile from, Item dropped)
{
@ -271,10 +268,7 @@ namespace Server.Items
{
private BallotBox m_Box;
public TopicPrompt(BallotBox box)
{
m_Box = box;
}
public TopicPrompt(BallotBox box) => m_Box = box;
public override void OnResponse(Mobile from, string text)
{

View file

@ -163,10 +163,7 @@ namespace Server.Items
return AddonFitResult.Valid;
}
public static bool CheckHouse(Mobile from, Point3D p, Map map, int height, ref BaseHouse house)
{
return from == null || BaseHouse.FindHouseAt(p, map, height)?.IsOwner(from) == true;
}
public static bool CheckHouse(Mobile from, Point3D p, Map map, int height, ref BaseHouse house) => from == null || BaseHouse.FindHouseAt(p, map, height)?.IsOwner(from) == true;
public static bool IsWall(int x, int y, int z, Map map)
{

View file

@ -162,10 +162,7 @@ namespace Server.Items
AddComponent(LeftTele, 0, 1, 0);
}
public SHTeleporter(Serial serial) : base(serial)
{
m_Changing = false;
}
public SHTeleporter(Serial serial) : base(serial) => m_Changing = false;
[CommandProperty(AccessLevel.GameMaster)]
public bool External{ get; private set; }
@ -301,10 +298,7 @@ namespace Server.Items
{
private int m_Count;
public SHTeleporterCreator()
{
m_Count = 0;
}
public SHTeleporterCreator() => m_Count = 0;
public static SHTeleporter FindSHTeleporter(Map map, Point3D p)
{

View file

@ -174,13 +174,11 @@ namespace Server.Items
ExamineAquarium(from);
}
public virtual bool HasAccess(Mobile from)
{
return from?.Deleted == false && (
from.AccessLevel >= AccessLevel.GameMaster ||
BaseHouse.FindHouseAt(this)?.IsCoOwner(from) == true
public virtual bool HasAccess(Mobile from) =>
from?.Deleted == false && (
from.AccessLevel >= AccessLevel.GameMaster ||
BaseHouse.FindHouseAt(this)?.IsCoOwner(from) == true
);
}
public override bool OnDragDrop(Mobile from, Item dropped)
{
@ -525,10 +523,7 @@ namespace Server.Items
return 1074236 + m_Food.State;
}
public int WaterNumber()
{
return 1074242 + m_Water.State;
}
public int WaterNumber() => 1074242 + m_Water.State;
#endregion
@ -822,10 +817,7 @@ namespace Server.Items
from.PlaySound(0x5A4);
}
public virtual bool AddFish(BaseFish fish)
{
return AddFish(null, fish);
}
public virtual bool AddFish(BaseFish fish) => AddFish(null, fish);
public virtual bool AddFish(Mobile from, BaseFish fish)
{
@ -851,10 +843,7 @@ namespace Server.Items
return true;
}
public virtual bool AddDecoration(Item item)
{
return AddDecoration(null, item);
}
public virtual bool AddDecoration(Item item) => AddDecoration(null, item);
public virtual bool AddDecoration(Mobile from, Item item)
{
@ -936,9 +925,8 @@ namespace Server.Items
private Aquarium m_Aquarium;
public ExamineEntry(Aquarium aquarium) : base(6235, 2) // Examine Aquarium
{
m_Aquarium = aquarium;
}
=>
m_Aquarium = aquarium;
public override void OnClick()
{
@ -954,9 +942,8 @@ namespace Server.Items
private Aquarium m_Aquarium;
public CollectRewardEntry(Aquarium aquarium) : base(6237, 2) // Collect Reward
{
m_Aquarium = aquarium;
}
=>
m_Aquarium = aquarium;
public override void OnClick()
{
@ -972,9 +959,8 @@ namespace Server.Items
private Aquarium m_Aquarium;
public ViewEventEntry(Aquarium aquarium) : base(6239, 2) // View events
{
m_Aquarium = aquarium;
}
=>
m_Aquarium = aquarium;
public override void OnClick()
{
@ -996,9 +982,8 @@ namespace Server.Items
private Aquarium m_Aquarium;
public CancelVacationMode(Aquarium aquarium) : base(6240, 2) // Cancel vacation mode
{
m_Aquarium = aquarium;
}
=>
m_Aquarium = aquarium;
public override void OnClick()
{
@ -1017,9 +1002,8 @@ namespace Server.Items
private Aquarium m_Aquarium;
public GMAddFood(Aquarium aquarium) : base(6231) // GM Add Food
{
m_Aquarium = aquarium;
}
=>
m_Aquarium = aquarium;
public override void OnClick()
{
@ -1036,9 +1020,8 @@ namespace Server.Items
private Aquarium m_Aquarium;
public GMAddWater(Aquarium aquarium) : base(6232) // GM Add Water
{
m_Aquarium = aquarium;
}
=>
m_Aquarium = aquarium;
public override void OnClick()
{
@ -1055,9 +1038,8 @@ namespace Server.Items
private Aquarium m_Aquarium;
public GMForceEvaluate(Aquarium aquarium) : base(6233) // GM Force Evaluate
{
m_Aquarium = aquarium;
}
=>
m_Aquarium = aquarium;
public override void OnClick()
{
@ -1073,9 +1055,8 @@ namespace Server.Items
private Aquarium m_Aquarium;
public GMOpen(Aquarium aquarium) : base(6234) // GM Open Container
{
m_Aquarium = aquarium;
}
=>
m_Aquarium = aquarium;
public override void OnClick()
{
@ -1091,9 +1072,8 @@ namespace Server.Items
private Aquarium m_Aquarium;
public GMFill(Aquarium aquarium) : base(6236) // GM Fill Food and Water
{
m_Aquarium = aquarium;
}
=>
m_Aquarium = aquarium;
public override void OnClick()
{

View file

@ -48,10 +48,7 @@ namespace Server.Items
[CommandProperty(AccessLevel.GameMaster)]
public int Added{ get; set; }
public override string ToString()
{
return "...";
}
public override string ToString() => "...";
public virtual void Serialize(GenericWriter writer)
{

View file

@ -3,10 +3,7 @@ namespace Server.Items
public class AlbinoFrog : BaseFish
{
[Constructible]
public AlbinoFrog() : base(0x3B0D)
{
Hue = 0x47E;
}
public AlbinoFrog() : base(0x3B0D) => Hue = 0x47E;
public AlbinoFrog(Serial serial) : base(serial)
{

View file

@ -3,10 +3,7 @@ namespace Server.Items
public class LongClawCrab : BaseFish
{
[Constructible]
public LongClawCrab() : base(0x3AFC)
{
Hue = 0x527;
}
public LongClawCrab() : base(0x3AFC) => Hue = 0x527;
public LongClawCrab(Serial serial) : base(serial)
{

View file

@ -3,10 +3,7 @@ namespace Server.Items
public class PurpleFrog : BaseFish
{
[Constructible]
public PurpleFrog() : base(0x3B0D)
{
Hue = 0x4FA;
}
public PurpleFrog() : base(0x3B0D) => Hue = 0x4FA;
public PurpleFrog(Serial serial) : base(serial)
{

View file

@ -136,9 +136,8 @@ namespace Server.Items
private FishBowl m_Bowl;
public RemoveCreature(FishBowl bowl) : base(6242, 3) // Remove creature
{
m_Bowl = bowl;
}
=>
m_Bowl = bowl;
public override void OnClick()
{

View file

@ -913,10 +913,7 @@ namespace Server.Items
flags |= toSet;
}
private static bool GetSaveFlag(SaveFlag flags, SaveFlag toGet)
{
return (flags & toGet) != 0;
}
private static bool GetSaveFlag(SaveFlag flags, SaveFlag toGet) => (flags & toGet) != 0;
public override void Serialize(GenericWriter writer)
{
@ -1459,10 +1456,7 @@ namespace Server.Items
base.OnRemoved(parent);
}
private string GetNameString()
{
return Name ?? $"#{LabelNumber}";
}
private string GetNameString() => Name ?? $"#{LabelNumber}";
public override void AddNameProperty(ObjectPropertyList list)
{

View file

@ -4,10 +4,7 @@ namespace Server.Items
public class BoneArms : BaseArmor
{
[Constructible]
public BoneArms() : base(0x144E)
{
Weight = 2.0;
}
public BoneArms() : base(0x144E) => Weight = 2.0;
public BoneArms(Serial serial) : base(serial)
{

View file

@ -4,10 +4,7 @@ namespace Server.Items
public class BoneChest : BaseArmor
{
[Constructible]
public BoneChest() : base(0x144F)
{
Weight = 6.0;
}
public BoneChest() : base(0x144F) => Weight = 6.0;
public BoneChest(Serial serial) : base(serial)
{

View file

@ -4,10 +4,7 @@ namespace Server.Items
public class BoneGloves : BaseArmor
{
[Constructible]
public BoneGloves() : base(0x1450)
{
Weight = 2.0;
}
public BoneGloves() : base(0x1450) => Weight = 2.0;
public BoneGloves(Serial serial) : base(serial)
{

View file

@ -4,10 +4,7 @@ namespace Server.Items
public class BoneLegs : BaseArmor
{
[Constructible]
public BoneLegs() : base(0x1452)
{
Weight = 3.0;
}
public BoneLegs() : base(0x1452) => Weight = 3.0;
public BoneLegs(Serial serial) : base(serial)
{

View file

@ -4,10 +4,7 @@ namespace Server.Items
public class ChainChest : BaseArmor
{
[Constructible]
public ChainChest() : base(0x13BF)
{
Weight = 7.0;
}
public ChainChest() : base(0x13BF) => Weight = 7.0;
public ChainChest(Serial serial) : base(serial)
{

View file

@ -3,10 +3,7 @@ namespace Server.Items
public class ChainHatsuburi : BaseArmor
{
[Constructible]
public ChainHatsuburi() : base(0x2774)
{
Weight = 7.0;
}
public ChainHatsuburi() : base(0x2774) => Weight = 7.0;
public ChainHatsuburi(Serial serial) : base(serial)
{

View file

@ -4,10 +4,7 @@ namespace Server.Items
public class ChainLegs : BaseArmor
{
[Constructible]
public ChainLegs() : base(0x13BE)
{
Weight = 7.0;
}
public ChainLegs() : base(0x13BE) => Weight = 7.0;
public ChainLegs(Serial serial) : base(serial)
{

View file

@ -4,10 +4,7 @@ namespace Server.Items
public class DragonArms : BaseArmor
{
[Constructible]
public DragonArms() : base(0x2657)
{
Weight = 5.0;
}
public DragonArms() : base(0x2657) => Weight = 5.0;
public DragonArms(Serial serial) : base(serial)
{

View file

@ -4,10 +4,7 @@ namespace Server.Items
public class DragonChest : BaseArmor
{
[Constructible]
public DragonChest() : base(0x2641)
{
Weight = 10.0;
}
public DragonChest() : base(0x2641) => Weight = 10.0;
public DragonChest(Serial serial) : base(serial)
{

View file

@ -4,10 +4,7 @@ namespace Server.Items
public class DragonGloves : BaseArmor
{
[Constructible]
public DragonGloves() : base(0x2643)
{
Weight = 2.0;
}
public DragonGloves() : base(0x2643) => Weight = 2.0;
public DragonGloves(Serial serial) : base(serial)
{

View file

@ -4,10 +4,7 @@ namespace Server.Items
public class DragonHelm : BaseArmor
{
[Constructible]
public DragonHelm() : base(0x2645)
{
Weight = 5.0;
}
public DragonHelm() : base(0x2645) => Weight = 5.0;
public DragonHelm(Serial serial) : base(serial)
{

View file

@ -4,10 +4,7 @@ namespace Server.Items
public class DragonLegs : BaseArmor
{
[Constructible]
public DragonLegs() : base(0x2647)
{
Weight = 6.0;
}
public DragonLegs() : base(0x2647) => Weight = 6.0;
public DragonLegs(Serial serial) : base(serial)
{

View file

@ -94,10 +94,7 @@ namespace Server.Items
flags |= toSet;
}
private static bool GetSaveFlag(SaveFlag flags, SaveFlag toGet)
{
return (flags & toGet) != 0;
}
private static bool GetSaveFlag(SaveFlag flags, SaveFlag toGet) => (flags & toGet) != 0;
public override void Serialize(GenericWriter writer)
{

View file

@ -3,10 +3,7 @@ namespace Server.Items
public class Bascinet : BaseArmor
{
[Constructible]
public Bascinet() : base(0x140C)
{
Weight = 5.0;
}
public Bascinet() : base(0x140C) => Weight = 5.0;
public Bascinet(Serial serial) : base(serial)
{

View file

@ -4,10 +4,7 @@ namespace Server.Items
public class BoneHelm : BaseArmor
{
[Constructible]
public BoneHelm() : base(0x1451)
{
Weight = 3.0;
}
public BoneHelm() : base(0x1451) => Weight = 3.0;
public BoneHelm(Serial serial) : base(serial)
{

View file

@ -4,10 +4,7 @@ namespace Server.Items
public class ChainCoif : BaseArmor
{
[Constructible]
public ChainCoif() : base(0x13BB)
{
Weight = 1.0;
}
public ChainCoif() : base(0x13BB) => Weight = 1.0;
public ChainCoif(Serial serial) : base(serial)
{

View file

@ -4,10 +4,7 @@ namespace Server.Items
public class Circlet : BaseArmor
{
[Constructible]
public Circlet() : base(0x2B6E)
{
Weight = 2.0;
}
public Circlet() : base(0x2B6E) => Weight = 2.0;
public Circlet(Serial serial) : base(serial)
{

View file

@ -3,10 +3,7 @@ namespace Server.Items
public class CloseHelm : BaseArmor
{
[Constructible]
public CloseHelm() : base(0x1408)
{
Weight = 5.0;
}
public CloseHelm() : base(0x1408) => Weight = 5.0;
public CloseHelm(Serial serial) : base(serial)
{

View file

@ -4,10 +4,7 @@ namespace Server.Items
public class GemmedCirclet : BaseArmor
{
[Constructible]
public GemmedCirclet() : base(0x2B70)
{
Weight = 2.0;
}
public GemmedCirclet() : base(0x2B70) => Weight = 2.0;
public GemmedCirclet(Serial serial) : base(serial)
{

View file

@ -3,10 +3,7 @@ namespace Server.Items
public class Helmet : BaseArmor
{
[Constructible]
public Helmet() : base(0x140A)
{
Weight = 5.0;
}
public Helmet() : base(0x140A) => Weight = 5.0;
public Helmet(Serial serial) : base(serial)
{

View file

@ -4,10 +4,7 @@ namespace Server.Items
public class LeatherCap : BaseArmor
{
[Constructible]
public LeatherCap() : base(0x1DB9)
{
Weight = 2.0;
}
public LeatherCap() : base(0x1DB9) => Weight = 2.0;
public LeatherCap(Serial serial) : base(serial)
{

View file

@ -3,10 +3,7 @@ namespace Server.Items
public class NorseHelm : BaseArmor
{
[Constructible]
public NorseHelm() : base(0x140E)
{
Weight = 5.0;
}
public NorseHelm() : base(0x140E) => Weight = 5.0;
public NorseHelm(Serial serial) : base(serial)
{

View file

@ -3,10 +3,7 @@ namespace Server.Items
public class PlateHelm : BaseArmor
{
[Constructible]
public PlateHelm() : base(0x1412)
{
Weight = 5.0;
}
public PlateHelm() : base(0x1412) => Weight = 5.0;
public PlateHelm(Serial serial) : base(serial)
{

View file

@ -4,10 +4,7 @@ namespace Server.Items
public class RavenHelm : BaseArmor
{
[Constructible]
public RavenHelm() : base(0x2B71)
{
Weight = 5.0;
}
public RavenHelm() : base(0x2B71) => Weight = 5.0;
public RavenHelm(Serial serial) : base(serial)
{

View file

@ -4,10 +4,7 @@ namespace Server.Items
public class RoyalCirclet : BaseArmor
{
[Constructible]
public RoyalCirclet() : base(0x2B6F)
{
Weight = 2.0;
}
public RoyalCirclet() : base(0x2B6F) => Weight = 2.0;
public RoyalCirclet(Serial serial) : base(serial)
{

View file

@ -4,10 +4,7 @@ namespace Server.Items
public class VultureHelm : BaseArmor
{
[Constructible]
public VultureHelm() : base(0x2B72)
{
Weight = 5.0;
}
public VultureHelm() : base(0x2B72) => Weight = 5.0;
public VultureHelm(Serial serial) : base(serial)
{

View file

@ -4,10 +4,7 @@ namespace Server.Items
public class WingedHelm : BaseArmor
{
[Constructible]
public WingedHelm() : base(0x2B73)
{
Weight = 5.0;
}
public WingedHelm() : base(0x2B73) => Weight = 5.0;
public WingedHelm(Serial serial) : base(serial)
{

View file

@ -4,10 +4,7 @@ namespace Server.Items
public class FemaleLeafChest : BaseArmor
{
[Constructible]
public FemaleLeafChest() : base(0x2FCB)
{
Weight = 2.0;
}
public FemaleLeafChest() : base(0x2FCB) => Weight = 2.0;
public FemaleLeafChest(Serial serial) : base(serial)
{

View file

@ -4,10 +4,7 @@ namespace Server.Items
public class FemaleLeatherChest : BaseArmor
{
[Constructible]
public FemaleLeatherChest() : base(0x1C06)
{
Weight = 1.0;
}
public FemaleLeatherChest() : base(0x1C06) => Weight = 1.0;
public FemaleLeatherChest(Serial serial) : base(serial)
{

View file

@ -4,10 +4,7 @@ namespace Server.Items
public class LeafArms : BaseArmor
{
[Constructible]
public LeafArms() : base(0x2FC8)
{
Weight = 2.0;
}
public LeafArms() : base(0x2FC8) => Weight = 2.0;
public LeafArms(Serial serial) : base(serial)
{

View file

@ -4,10 +4,7 @@ namespace Server.Items
public class LeafChest : BaseArmor
{
[Constructible]
public LeafChest() : base(0x2FC5)
{
Weight = 2.0;
}
public LeafChest() : base(0x2FC5) => Weight = 2.0;
public LeafChest(Serial serial) : base(serial)
{

View file

@ -4,10 +4,7 @@ namespace Server.Items
public class LeafGloves : BaseArmor, IArcaneEquip
{
[Constructible]
public LeafGloves() : base(0x2FC6)
{
Weight = 2.0;
}
public LeafGloves() : base(0x2FC6) => Weight = 2.0;
public LeafGloves(Serial serial) : base(serial)
{

View file

@ -3,10 +3,7 @@ namespace Server.Items
public class LeafGorget : BaseArmor
{
[Constructible]
public LeafGorget() : base(0x2FC7)
{
Weight = 2.0;
}
public LeafGorget() : base(0x2FC7) => Weight = 2.0;
public LeafGorget(Serial serial) : base(serial)
{

View file

@ -4,10 +4,7 @@ namespace Server.Items
public class LeafLegs : BaseArmor
{
[Constructible]
public LeafLegs() : base(0x2FC9)
{
Weight = 2.0;
}
public LeafLegs() : base(0x2FC9) => Weight = 2.0;
public LeafLegs(Serial serial) : base(serial)
{

View file

@ -4,10 +4,7 @@ namespace Server.Items
public class LeafTonlet : BaseArmor
{
[Constructible]
public LeafTonlet() : base(0x2FCA)
{
Weight = 2.0;
}
public LeafTonlet() : base(0x2FCA) => Weight = 2.0;
public LeafTonlet(Serial serial) : base(serial)
{

View file

@ -4,10 +4,7 @@ namespace Server.Items
public class LeatherArms : BaseArmor
{
[Constructible]
public LeatherArms() : base(0x13CD)
{
Weight = 2.0;
}
public LeatherArms() : base(0x13CD) => Weight = 2.0;
public LeatherArms(Serial serial) : base(serial)
{

View file

@ -4,10 +4,7 @@ namespace Server.Items
public class LeatherBustierArms : BaseArmor
{
[Constructible]
public LeatherBustierArms() : base(0x1C0A)
{
Weight = 1.0;
}
public LeatherBustierArms() : base(0x1C0A) => Weight = 1.0;
public LeatherBustierArms(Serial serial) : base(serial)
{

View file

@ -4,10 +4,7 @@ namespace Server.Items
public class LeatherChest : BaseArmor
{
[Constructible]
public LeatherChest() : base(0x13CC)
{
Weight = 6.0;
}
public LeatherChest() : base(0x13CC) => Weight = 6.0;
public LeatherChest(Serial serial) : base(serial)
{

View file

@ -3,10 +3,7 @@ namespace Server.Items
public class LeatherDo : BaseArmor
{
[Constructible]
public LeatherDo() : base(0x27C6)
{
Weight = 6.0;
}
public LeatherDo() : base(0x27C6) => Weight = 6.0;
public LeatherDo(Serial serial) : base(serial)
{

View file

@ -4,10 +4,7 @@ namespace Server.Items
public class LeatherGloves : BaseArmor, IArcaneEquip
{
[Constructible]
public LeatherGloves() : base(0x13C6)
{
Weight = 1.0;
}
public LeatherGloves() : base(0x13C6) => Weight = 1.0;
public LeatherGloves(Serial serial) : base(serial)
{

View file

@ -3,10 +3,7 @@ namespace Server.Items
public class LeatherGorget : BaseArmor
{
[Constructible]
public LeatherGorget() : base(0x13C7)
{
Weight = 1.0;
}
public LeatherGorget() : base(0x13C7) => Weight = 1.0;
public LeatherGorget(Serial serial) : base(serial)
{

View file

@ -3,10 +3,7 @@ namespace Server.Items
public class LeatherHaidate : BaseArmor
{
[Constructible]
public LeatherHaidate() : base(0x278A)
{
Weight = 4.0;
}
public LeatherHaidate() : base(0x278A) => Weight = 4.0;
public LeatherHaidate(Serial serial) : base(serial)
{

View file

@ -3,10 +3,7 @@ namespace Server.Items
public class LeatherHiroSode : BaseArmor
{
[Constructible]
public LeatherHiroSode() : base(0x277E)
{
Weight = 1.0;
}
public LeatherHiroSode() : base(0x277E) => Weight = 1.0;
public LeatherHiroSode(Serial serial) : base(serial)
{

View file

@ -3,10 +3,7 @@ namespace Server.Items
public class LeatherJingasa : BaseArmor
{
[Constructible]
public LeatherJingasa() : base(0x2776)
{
Weight = 3.0;
}
public LeatherJingasa() : base(0x2776) => Weight = 3.0;
public LeatherJingasa(Serial serial) : base(serial)
{

View file

@ -4,10 +4,7 @@ namespace Server.Items
public class LeatherLegs : BaseArmor
{
[Constructible]
public LeatherLegs() : base(0x13CB)
{
Weight = 4.0;
}
public LeatherLegs() : base(0x13CB) => Weight = 4.0;
public LeatherLegs(Serial serial) : base(serial)
{

View file

@ -3,10 +3,7 @@ namespace Server.Items
public class LeatherMempo : BaseArmor
{
[Constructible]
public LeatherMempo() : base(0x277A)
{
Weight = 2.0;
}
public LeatherMempo() : base(0x277A) => Weight = 2.0;
public LeatherMempo(Serial serial) : base(serial)
{

View file

@ -3,10 +3,7 @@ namespace Server.Items
public class LeatherNinjaHood : BaseArmor
{
[Constructible]
public LeatherNinjaHood() : base(0x278E)
{
Weight = 2.0;
}
public LeatherNinjaHood() : base(0x278E) => Weight = 2.0;
public LeatherNinjaHood(Serial serial) : base(serial)
{

View file

@ -3,10 +3,7 @@ namespace Server.Items
public class LeatherNinjaJacket : BaseArmor
{
[Constructible]
public LeatherNinjaJacket() : base(0x2793)
{
Weight = 5.0;
}
public LeatherNinjaJacket() : base(0x2793) => Weight = 5.0;
public LeatherNinjaJacket(Serial serial) : base(serial)
{

View file

@ -3,10 +3,7 @@ namespace Server.Items
public class LeatherNinjaMitts : BaseArmor
{
[Constructible]
public LeatherNinjaMitts() : base(0x2792)
{
Weight = 2.0;
}
public LeatherNinjaMitts() : base(0x2792) => Weight = 2.0;
public LeatherNinjaMitts(Serial serial) : base(serial)
{

View file

@ -3,10 +3,7 @@ namespace Server.Items
public class LeatherNinjaPants : BaseArmor
{
[Constructible]
public LeatherNinjaPants() : base(0x2791)
{
Weight = 3.0;
}
public LeatherNinjaPants() : base(0x2791) => Weight = 3.0;
public LeatherNinjaPants(Serial serial) : base(serial)
{

View file

@ -4,10 +4,7 @@ namespace Server.Items
public class LeatherShorts : BaseArmor
{
[Constructible]
public LeatherShorts() : base(0x1C00)
{
Weight = 3.0;
}
public LeatherShorts() : base(0x1C00) => Weight = 3.0;
public LeatherShorts(Serial serial) : base(serial)
{

View file

@ -4,10 +4,7 @@ namespace Server.Items
public class LeatherSkirt : BaseArmor
{
[Constructible]
public LeatherSkirt() : base(0x1C08)
{
Weight = 1.0;
}
public LeatherSkirt() : base(0x1C08) => Weight = 1.0;
public LeatherSkirt(Serial serial) : base(serial)
{

View file

@ -3,10 +3,7 @@ namespace Server.Items
public class LeatherSuneate : BaseArmor
{
[Constructible]
public LeatherSuneate() : base(0x2786)
{
Weight = 4.0;
}
public LeatherSuneate() : base(0x2786) => Weight = 4.0;
public LeatherSuneate(Serial serial) : base(serial)
{

View file

@ -3,10 +3,7 @@ namespace Server.Items
public class DecorativePlateKabuto : BaseArmor
{
[Constructible]
public DecorativePlateKabuto() : base(0x2778)
{
Weight = 6.0;
}
public DecorativePlateKabuto() : base(0x2778) => Weight = 6.0;
public DecorativePlateKabuto(Serial serial) : base(serial)
{

View file

@ -4,10 +4,7 @@ namespace Server.Items
public class FemalePlateChest : BaseArmor
{
[Constructible]
public FemalePlateChest() : base(0x1C04)
{
Weight = 4.0;
}
public FemalePlateChest() : base(0x1C04) => Weight = 4.0;
public FemalePlateChest(Serial serial) : base(serial)
{

View file

@ -5,10 +5,7 @@ namespace Server.Items
public class FemaleElvenPlateChest : BaseArmor
{
[Constructible]
public FemaleElvenPlateChest() : base(0x2B6D)
{
Weight = 8.0;
}
public FemaleElvenPlateChest() : base(0x2B6D) => Weight = 8.0;
public FemaleElvenPlateChest(Serial serial) : base(serial)
{

View file

@ -3,10 +3,7 @@ namespace Server.Items
public class HeavyPlateJingasa : BaseArmor
{
[Constructible]
public HeavyPlateJingasa() : base(0x2777)
{
Weight = 5.0;
}
public HeavyPlateJingasa() : base(0x2777) => Weight = 5.0;
public HeavyPlateJingasa(Serial serial) : base(serial)
{

View file

@ -3,10 +3,7 @@ namespace Server.Items
public class LightPlateJingasa : BaseArmor
{
[Constructible]
public LightPlateJingasa() : base(0x2781)
{
Weight = 5.0;
}
public LightPlateJingasa() : base(0x2781) => Weight = 5.0;
public LightPlateJingasa(Serial serial) : base(serial)
{

View file

@ -4,10 +4,7 @@ namespace Server.Items
public class PlateArms : BaseArmor
{
[Constructible]
public PlateArms() : base(0x1410)
{
Weight = 5.0;
}
public PlateArms() : base(0x1410) => Weight = 5.0;
public PlateArms(Serial serial) : base(serial)
{

View file

@ -3,10 +3,7 @@ namespace Server.Items
public class PlateBattleKabuto : BaseArmor
{
[Constructible]
public PlateBattleKabuto() : base(0x2785)
{
Weight = 6.0;
}
public PlateBattleKabuto() : base(0x2785) => Weight = 6.0;
public PlateBattleKabuto(Serial serial) : base(serial)
{

View file

@ -4,10 +4,7 @@ namespace Server.Items
public class PlateChest : BaseArmor
{
[Constructible]
public PlateChest() : base(0x1415)
{
Weight = 10.0;
}
public PlateChest() : base(0x1415) => Weight = 10.0;
public PlateChest(Serial serial) : base(serial)
{

View file

@ -3,10 +3,7 @@ namespace Server.Items
public class PlateDo : BaseArmor
{
[Constructible]
public PlateDo() : base(0x277D)
{
Weight = 10.0;
}
public PlateDo() : base(0x277D) => Weight = 10.0;
public PlateDo(Serial serial) : base(serial)
{

View file

@ -4,10 +4,7 @@ namespace Server.Items
public class PlateGloves : BaseArmor
{
[Constructible]
public PlateGloves() : base(0x1414)
{
Weight = 2.0;
}
public PlateGloves() : base(0x1414) => Weight = 2.0;
public PlateGloves(Serial serial) : base(serial)
{

View file

@ -3,10 +3,7 @@ namespace Server.Items
public class PlateGorget : BaseArmor
{
[Constructible]
public PlateGorget() : base(0x1413)
{
Weight = 2.0;
}
public PlateGorget() : base(0x1413) => Weight = 2.0;
public PlateGorget(Serial serial) : base(serial)
{

View file

@ -3,10 +3,7 @@ namespace Server.Items
public class PlateHaidate : BaseArmor
{
[Constructible]
public PlateHaidate() : base(0x278D)
{
Weight = 7.0;
}
public PlateHaidate() : base(0x278D) => Weight = 7.0;
public PlateHaidate(Serial serial) : base(serial)
{

View file

@ -3,10 +3,7 @@ namespace Server.Items
public class PlateHatsuburi : BaseArmor
{
[Constructible]
public PlateHatsuburi() : base(0x2775)
{
Weight = 5.0;
}
public PlateHatsuburi() : base(0x2775) => Weight = 5.0;
public PlateHatsuburi(Serial serial) : base(serial)
{

View file

@ -3,10 +3,7 @@ namespace Server.Items
public class PlateHiroSode : BaseArmor
{
[Constructible]
public PlateHiroSode() : base(0x2780)
{
Weight = 3.0;
}
public PlateHiroSode() : base(0x2780) => Weight = 3.0;
public PlateHiroSode(Serial serial) : base(serial)
{

View file

@ -4,10 +4,7 @@ namespace Server.Items
public class PlateLegs : BaseArmor
{
[Constructible]
public PlateLegs() : base(0x1411)
{
Weight = 7.0;
}
public PlateLegs() : base(0x1411) => Weight = 7.0;
public PlateLegs(Serial serial) : base(serial)
{

View file

@ -3,10 +3,7 @@ namespace Server.Items
public class PlateMempo : BaseArmor
{
[Constructible]
public PlateMempo() : base(0x2779)
{
Weight = 3.0;
}
public PlateMempo() : base(0x2779) => Weight = 3.0;
public PlateMempo(Serial serial) : base(serial)
{

View file

@ -3,10 +3,7 @@ namespace Server.Items
public class PlateSuneate : BaseArmor
{
[Constructible]
public PlateSuneate() : base(0x2788)
{
Weight = 7.0;
}
public PlateSuneate() : base(0x2788) => Weight = 7.0;
public PlateSuneate(Serial serial) : base(serial)
{

View file

@ -3,10 +3,7 @@ namespace Server.Items
public class SmallPlateJingasa : BaseArmor
{
[Constructible]
public SmallPlateJingasa() : base(0x2784)
{
Weight = 5.0;
}
public SmallPlateJingasa() : base(0x2784) => Weight = 5.0;
public SmallPlateJingasa(Serial serial) : base(serial)
{

View file

@ -3,10 +3,7 @@ namespace Server.Items
public class StandardPlateKabuto : BaseArmor
{
[Constructible]
public StandardPlateKabuto() : base(0x2789)
{
Weight = 6.0;
}
public StandardPlateKabuto() : base(0x2789) => Weight = 6.0;
public StandardPlateKabuto(Serial serial) : base(serial)
{

View file

@ -4,10 +4,7 @@ namespace Server.Items
public class WoodlandArms : BaseArmor
{
[Constructible]
public WoodlandArms() : base(0x2B6C)
{
Weight = 5.0;
}
public WoodlandArms() : base(0x2B6C) => Weight = 5.0;
public WoodlandArms(Serial serial) : base(serial)
{

View file

@ -4,10 +4,7 @@ namespace Server.Items
public class WoodlandChest : BaseArmor
{
[Constructible]
public WoodlandChest() : base(0x2B67)
{
Weight = 8.0;
}
public WoodlandChest() : base(0x2B67) => Weight = 8.0;
public WoodlandChest(Serial serial) : base(serial)
{

View file

@ -4,10 +4,7 @@ namespace Server.Items
public class WoodlandGloves : BaseArmor
{
[Constructible]
public WoodlandGloves() : base(0x2B6A)
{
Weight = 2.0;
}
public WoodlandGloves() : base(0x2B6A) => Weight = 2.0;
public WoodlandGloves(Serial serial) : base(serial)
{

View file

@ -4,10 +4,7 @@ namespace Server.Items
public class WoodlandLegs : BaseArmor
{
[Constructible]
public WoodlandLegs() : base(0x2B6B)
{
Weight = 8.0;
}
public WoodlandLegs() : base(0x2B6B) => Weight = 8.0;
public WoodlandLegs(Serial serial) : base(serial)
{

View file

@ -4,10 +4,7 @@ namespace Server.Items
public class RingmailArms : BaseArmor
{
[Constructible]
public RingmailArms() : base(0x13EE)
{
Weight = 15.0;
}
public RingmailArms() : base(0x13EE) => Weight = 15.0;
public RingmailArms(Serial serial) : base(serial)
{

View file

@ -4,10 +4,7 @@ namespace Server.Items
public class RingmailChest : BaseArmor
{
[Constructible]
public RingmailChest() : base(0x13EC)
{
Weight = 15.0;
}
public RingmailChest() : base(0x13EC) => Weight = 15.0;
public RingmailChest(Serial serial) : base(serial)
{

View file

@ -4,10 +4,7 @@ namespace Server.Items
public class RingmailGloves : BaseArmor
{
[Constructible]
public RingmailGloves() : base(0x13EB)
{
Weight = 2.0;
}
public RingmailGloves() : base(0x13EB) => Weight = 2.0;
public RingmailGloves(Serial serial) : base(serial)
{

View file

@ -4,10 +4,7 @@ namespace Server.Items
public class RingmailLegs : BaseArmor
{
[Constructible]
public RingmailLegs() : base(0x13F0)
{
Weight = 15.0;
}
public RingmailLegs() : base(0x13F0) => Weight = 15.0;
public RingmailLegs(Serial serial) : base(serial)
{

View file

@ -4,10 +4,7 @@ namespace Server.Items
public class FemaleStuddedChest : BaseArmor
{
[Constructible]
public FemaleStuddedChest() : base(0x1C02)
{
Weight = 6.0;
}
public FemaleStuddedChest() : base(0x1C02) => Weight = 6.0;
public FemaleStuddedChest(Serial serial) : base(serial)
{

View file

@ -4,10 +4,7 @@ namespace Server.Items
public class HideChest : BaseArmor
{
[Constructible]
public HideChest() : base(0x2B74)
{
Weight = 6.0;
}
public HideChest() : base(0x2B74) => Weight = 6.0;
public HideChest(Serial serial) : base(serial)
{

View file

@ -4,10 +4,7 @@ namespace Server.Items
public class HideFemaleChest : BaseArmor
{
[Constructible]
public HideFemaleChest() : base(0x2B79)
{
Weight = 6.0;
}
public HideFemaleChest() : base(0x2B79) => Weight = 6.0;
public HideFemaleChest(Serial serial) : base(serial)
{

View file

@ -4,10 +4,7 @@ namespace Server.Items
public class HideGloves : BaseArmor
{
[Constructible]
public HideGloves() : base(0x2B75)
{
Weight = 2.0;
}
public HideGloves() : base(0x2B75) => Weight = 2.0;
public HideGloves(Serial serial) : base(serial)
{

View file

@ -4,10 +4,7 @@ namespace Server.Items
public class HideGorget : BaseArmor
{
[Constructible]
public HideGorget() : base(0x2B76)
{
Weight = 3.0;
}
public HideGorget() : base(0x2B76) => Weight = 3.0;
public HideGorget(Serial serial) : base(serial)
{

View file

@ -4,10 +4,7 @@ namespace Server.Items
public class HidePants : BaseArmor
{
[Constructible]
public HidePants() : base(0x2B78)
{
Weight = 5.0;
}
public HidePants() : base(0x2B78) => Weight = 5.0;
public HidePants(Serial serial) : base(serial)
{

View file

@ -4,10 +4,7 @@ namespace Server.Items
public class HidePauldrons : BaseArmor
{
[Constructible]
public HidePauldrons() : base(0x2B77)
{
Weight = 4.0;
}
public HidePauldrons() : base(0x2B77) => Weight = 4.0;
public HidePauldrons(Serial serial) : base(serial)
{

Some files were not shown because too many files have changed in this diff Show more