2013-10-28 07:09:42 +00:00
|
|
|
namespace Server.Items
|
|
|
|
|
{
|
|
|
|
|
public class TableWithRedClothAddon : BaseAddon
|
|
|
|
|
{
|
|
|
|
|
[Constructable]
|
|
|
|
|
public TableWithRedClothAddon()
|
|
|
|
|
: base()
|
|
|
|
|
{
|
2020-04-16 21:29:55 -04:00
|
|
|
AddComponent(new LocalizedAddonComponent(0x118D, 1076277), 0, 0, 0);
|
2013-10-28 07:09:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public TableWithRedClothAddon(Serial serial)
|
|
|
|
|
: base(serial)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2020-04-16 20:21:33 -04:00
|
|
|
public override BaseAddonDeed Deed => new TableWithRedClothDeed();
|
2013-10-28 07:09:42 +00:00
|
|
|
public override void Serialize(GenericWriter writer)
|
|
|
|
|
{
|
|
|
|
|
base.Serialize(writer);
|
|
|
|
|
|
|
|
|
|
writer.WriteEncodedInt(0); // version
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override void Deserialize(GenericReader reader)
|
|
|
|
|
{
|
|
|
|
|
base.Deserialize(reader);
|
|
|
|
|
|
|
|
|
|
int version = reader.ReadEncodedInt();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class TableWithRedClothDeed : BaseAddonDeed
|
|
|
|
|
{
|
|
|
|
|
[Constructable]
|
|
|
|
|
public TableWithRedClothDeed()
|
|
|
|
|
: base()
|
|
|
|
|
{
|
2020-04-16 21:29:55 -04:00
|
|
|
LootType = LootType.Blessed;
|
2013-10-28 07:09:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public TableWithRedClothDeed(Serial serial)
|
|
|
|
|
: base(serial)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2020-04-16 20:21:33 -04:00
|
|
|
public override BaseAddon Addon => new TableWithRedClothAddon();
|
|
|
|
|
public override int LabelNumber => 1076277;// Table With A Red Tablecloth
|
2013-10-28 07:09:42 +00:00
|
|
|
public override void Serialize(GenericWriter writer)
|
|
|
|
|
{
|
|
|
|
|
base.Serialize(writer);
|
|
|
|
|
|
|
|
|
|
writer.WriteEncodedInt(0); // version
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override void Deserialize(GenericReader reader)
|
|
|
|
|
{
|
|
|
|
|
base.Deserialize(reader);
|
|
|
|
|
|
|
|
|
|
int version = reader.ReadEncodedInt();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|