Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
50
Scripts/Items/Decorative/Fur.cs
Normal file
50
Scripts/Items/Decorative/Fur.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
using Server.Mobiles;
|
||||
using System;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
[TypeAlias("Server.Items.BouraFur", "Server.Items.KepetchFur")]
|
||||
public class Fur : Item
|
||||
{
|
||||
[Constructable]
|
||||
public Fur()
|
||||
: this(FurType.None, 1)
|
||||
{
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public Fur(FurType type, int amount)
|
||||
: base(0x1875)
|
||||
{
|
||||
Stackable = true;
|
||||
Amount = amount;
|
||||
|
||||
switch (type)
|
||||
{
|
||||
default:
|
||||
case FurType.None: Hue = 0; break;
|
||||
case FurType.Green: Hue = 58; break;
|
||||
case FurType.LightBrown: Hue = 1541; break;
|
||||
case FurType.Yellow: Hue = 153; break;
|
||||
case FurType.Brown: Hue = 343; break;
|
||||
}
|
||||
}
|
||||
|
||||
public Fur(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