Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
57
Scripts/Scripts-master/Addons2/WheelbarrowVanilla2.cs
Normal file
57
Scripts/Scripts-master/Addons2/WheelbarrowVanilla2.cs
Normal file
@@ -0,0 +1,57 @@
|
||||
using System;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class WheelbarrowVanilla2 : Item, IDyable
|
||||
{
|
||||
[Constructable]
|
||||
public WheelbarrowVanilla2()
|
||||
: this(1)
|
||||
{
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public WheelbarrowVanilla2(int amount)
|
||||
: base(0xA0E0)
|
||||
{
|
||||
this.Stackable = false;
|
||||
this.Amount = amount;
|
||||
}
|
||||
|
||||
public WheelbarrowVanilla2(Serial serial)
|
||||
: base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override int LabelNumber
|
||||
{
|
||||
get
|
||||
{
|
||||
return 1125270;
|
||||
}
|
||||
}// decorative plant
|
||||
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();
|
||||
}
|
||||
#region IDyable
|
||||
public virtual bool Dye(Mobile from, DyeTub sender)
|
||||
{
|
||||
if (this.Deleted)
|
||||
return false;
|
||||
|
||||
this.Hue = sender.DyedHue;
|
||||
return true;
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user