ModernUO/Projects/UOContent/Special Systems/Items/Stones/IngotStone.cs
2023-10-09 22:06:09 -07:00

26 lines
513 B
C#

using ModernUO.Serialization;
namespace Server.Items;
[SerializationGenerator(0, false)]
public partial class IngotStone : Item
{
[Constructible]
public IngotStone() : base(0xED4)
{
Movable = false;
Hue = 0x480;
}
public override string DefaultName => "an Ingot stone";
public override void OnDoubleClick(Mobile from)
{
var ingotBag = new BagOfingots();
if (!from.AddToBackpack(ingotBag))
{
ingotBag.Delete();
}
}
}