26 lines
523 B
C#
26 lines
523 B
C#
using ModernUO.Serialization;
|
|
|
|
namespace Server.Items;
|
|
|
|
[SerializationGenerator(0, false)]
|
|
public partial class TailorStone : Item
|
|
{
|
|
[Constructible]
|
|
public TailorStone() : base(0xED4)
|
|
{
|
|
Movable = false;
|
|
Hue = 0x315;
|
|
}
|
|
|
|
public override string DefaultName => "a Tailor Supply Stone";
|
|
|
|
public override void OnDoubleClick(Mobile from)
|
|
{
|
|
var tailorBag = new TailorBag();
|
|
|
|
if (!from.AddToBackpack(tailorBag))
|
|
{
|
|
tailorBag.Delete();
|
|
}
|
|
}
|
|
}
|