Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
50
Scripts/Items/StoreBought/AbyssalHairDye.cs
Normal file
50
Scripts/Items/StoreBought/AbyssalHairDye.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
using System;
|
||||
using Server.Gumps;
|
||||
using Server.Mobiles;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class AbyssalHairDye : Item
|
||||
{
|
||||
[Constructable]
|
||||
public AbyssalHairDye()
|
||||
: base(0xEFE)
|
||||
{
|
||||
Hue = 2075;
|
||||
LootType = LootType.Blessed;
|
||||
}
|
||||
|
||||
public AbyssalHairDye(Serial serial)
|
||||
: base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override void OnDoubleClick(Mobile m)
|
||||
{
|
||||
if (IsChildOf(m.Backpack))
|
||||
{
|
||||
BaseGump.SendGump(new HairDyeConfirmGump(m as PlayerMobile, Hue, this));
|
||||
}
|
||||
else
|
||||
{
|
||||
m.SendLocalizedMessage(1042010); //You must have the object in your backpack to use it.
|
||||
}
|
||||
}
|
||||
|
||||
public override int LabelNumber { get { return 1149822; } } // Abyssal Hair Dye
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
|
||||
writer.Write((int)0);
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user