Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
451
Scripts/Items/Equipment/Clothing/Pants.cs
Normal file
451
Scripts/Items/Equipment/Clothing/Pants.cs
Normal file
@@ -0,0 +1,451 @@
|
||||
using System;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
#region Reward Clothing
|
||||
public class LibraryFriendSkirt : Kilt
|
||||
{
|
||||
public override int LabelNumber { get { return 1073352; } }// Friends of the Library Kilt
|
||||
|
||||
[Constructable]
|
||||
public LibraryFriendSkirt()
|
||||
: this(0)
|
||||
{
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public LibraryFriendSkirt(int hue)
|
||||
: base(hue)
|
||||
{
|
||||
}
|
||||
|
||||
public LibraryFriendSkirt(Serial serial)
|
||||
: base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
writer.Write((int)0); // version
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
|
||||
public class LibraryFriendPants : LongPants
|
||||
{
|
||||
public override int LabelNumber { get { return 1073349; } }// Friends of the Library Pants
|
||||
|
||||
[Constructable]
|
||||
public LibraryFriendPants()
|
||||
: this(0)
|
||||
{
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public LibraryFriendPants(int hue)
|
||||
: base(hue)
|
||||
{
|
||||
}
|
||||
|
||||
public LibraryFriendPants(Serial serial)
|
||||
: base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
writer.Write((int)0); // version
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
|
||||
public class MalabellesDress : Skirt
|
||||
{
|
||||
public override int LabelNumber { get { return 1073251; } }// Malabelle's Dress - Museum of Vesper Replica
|
||||
|
||||
[Constructable]
|
||||
public MalabellesDress()
|
||||
: this(0)
|
||||
{
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public MalabellesDress(int hue)
|
||||
: base(hue)
|
||||
{
|
||||
}
|
||||
|
||||
public MalabellesDress(Serial serial)
|
||||
: base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
|
||||
writer.Write((int)0); // version
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
public abstract class BasePants : BaseClothing
|
||||
{
|
||||
public BasePants(int itemID)
|
||||
: this(itemID, 0)
|
||||
{
|
||||
}
|
||||
|
||||
public BasePants(int itemID, int hue)
|
||||
: base(itemID, Layer.Pants, hue)
|
||||
{
|
||||
}
|
||||
|
||||
public BasePants(Serial serial)
|
||||
: base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
|
||||
writer.Write((int)0); // version
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
|
||||
[FlipableAttribute(0x152e, 0x152f)]
|
||||
public class ShortPants : BasePants
|
||||
{
|
||||
[Constructable]
|
||||
public ShortPants()
|
||||
: this(0)
|
||||
{
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public ShortPants(int hue)
|
||||
: base(0x152E, hue)
|
||||
{
|
||||
this.Weight = 2.0;
|
||||
}
|
||||
|
||||
public ShortPants(Serial serial)
|
||||
: base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
|
||||
writer.Write((int)0); // version
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
|
||||
[FlipableAttribute(0x1539, 0x153a)]
|
||||
public class LongPants : BasePants
|
||||
{
|
||||
[Constructable]
|
||||
public LongPants()
|
||||
: this(0)
|
||||
{
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public LongPants(int hue)
|
||||
: base(0x1539, hue)
|
||||
{
|
||||
this.Weight = 2.0;
|
||||
}
|
||||
|
||||
public LongPants(Serial serial)
|
||||
: base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
|
||||
writer.Write((int)0); // version
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
|
||||
[Flipable(0x279B, 0x27E6)]
|
||||
public class TattsukeHakama : BasePants
|
||||
{
|
||||
[Constructable]
|
||||
public TattsukeHakama()
|
||||
: this(0)
|
||||
{
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public TattsukeHakama(int hue)
|
||||
: base(0x279B, hue)
|
||||
{
|
||||
this.Weight = 2.0;
|
||||
}
|
||||
|
||||
public TattsukeHakama(Serial serial)
|
||||
: base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
|
||||
writer.Write((int)0); // version
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
|
||||
[FlipableAttribute(0x2FC3, 0x3179)]
|
||||
public class ElvenPants : BasePants
|
||||
{
|
||||
public override Race RequiredRace
|
||||
{
|
||||
get
|
||||
{
|
||||
return Race.Elf;
|
||||
}
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public ElvenPants()
|
||||
: this(0)
|
||||
{
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public ElvenPants(int hue)
|
||||
: base(0x2FC3, hue)
|
||||
{
|
||||
this.Weight = 2.0;
|
||||
}
|
||||
|
||||
public ElvenPants(Serial serial)
|
||||
: base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
|
||||
writer.WriteEncodedInt(0); // version
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
|
||||
int version = reader.ReadEncodedInt();
|
||||
}
|
||||
}
|
||||
|
||||
public class GargishClothLegs : BaseClothing
|
||||
{
|
||||
public override Race RequiredRace
|
||||
{
|
||||
get
|
||||
{
|
||||
return Race.Gargoyle;
|
||||
}
|
||||
}
|
||||
public override bool CanBeWornByGargoyles
|
||||
{
|
||||
get
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public GargishClothLegs()
|
||||
: this(0)
|
||||
{
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public GargishClothLegs(int hue)
|
||||
: base(0x040A, Layer.Pants, hue)
|
||||
{
|
||||
this.Weight = 2.0;
|
||||
}
|
||||
|
||||
public override void OnAdded(object parent)
|
||||
{
|
||||
base.OnAdded(parent);
|
||||
|
||||
if (parent is Mobile)
|
||||
{
|
||||
if (((Mobile)parent).Female)
|
||||
this.ItemID = 0x0409;
|
||||
else
|
||||
this.ItemID = 0x040A;
|
||||
}
|
||||
}
|
||||
|
||||
public GargishClothLegs(Serial serial)
|
||||
: base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
writer.Write((int)0); // version
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
|
||||
public class FemaleGargishClothLegs : BaseClothing
|
||||
{
|
||||
public override Race RequiredRace
|
||||
{
|
||||
get
|
||||
{
|
||||
return Race.Gargoyle;
|
||||
}
|
||||
}
|
||||
public override bool CanBeWornByGargoyles
|
||||
{
|
||||
get
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public FemaleGargishClothLegs()
|
||||
: this(0)
|
||||
{
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public FemaleGargishClothLegs(int hue)
|
||||
: base(0x0409, Layer.Pants, hue)
|
||||
{
|
||||
this.Weight = 2.0;
|
||||
}
|
||||
|
||||
public FemaleGargishClothLegs(Serial serial)
|
||||
: base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
writer.Write((int)0); // version
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
|
||||
public class MaleGargishClothLegs : BaseClothing
|
||||
{
|
||||
public override Race RequiredRace
|
||||
{
|
||||
get
|
||||
{
|
||||
return Race.Gargoyle;
|
||||
}
|
||||
}
|
||||
public override bool CanBeWornByGargoyles
|
||||
{
|
||||
get
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public MaleGargishClothLegs()
|
||||
: this(0)
|
||||
{
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public MaleGargishClothLegs(int hue)
|
||||
: base(0x040A, Layer.Pants, hue)
|
||||
{
|
||||
this.Weight = 2.0;
|
||||
}
|
||||
|
||||
public MaleGargishClothLegs(Serial serial)
|
||||
: base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
writer.Write((int)0); // version
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user