using Server;
namespace Server.Items
{
public class CustomBox: Container
{
[Constructable]
public CustomBox() : base(0x0000) //ItemID for the container goes here
{
Name = "Your Custom Name";
Hue = 0; //Custom Hue?
}
public CustomBox(Serial serial) : base(serial)
{
}
public override int DefaultGumpID
{
get
{
return 0x0000; //GumpID goes here for when you open container
}
}
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();
}
}
}
We use essential cookies to make this site work, and optional cookies to enhance your experience.