83 lines
1.8 KiB
C#
83 lines
1.8 KiB
C#
using System;
|
|
|
|
namespace Server.Items
|
|
{
|
|
public class TableWithRedClothAddon : BaseAddon
|
|
{
|
|
[Constructable]
|
|
public TableWithRedClothAddon()
|
|
: base()
|
|
{
|
|
this.AddComponent(new LocalizedAddonComponent(0x118D, 1076277), 0, 0, 0);
|
|
}
|
|
|
|
public TableWithRedClothAddon(Serial serial)
|
|
: base(serial)
|
|
{
|
|
}
|
|
|
|
public override BaseAddonDeed Deed
|
|
{
|
|
get
|
|
{
|
|
return new TableWithRedClothDeed();
|
|
}
|
|
}
|
|
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()
|
|
{
|
|
this.LootType = LootType.Blessed;
|
|
}
|
|
|
|
public TableWithRedClothDeed(Serial serial)
|
|
: base(serial)
|
|
{
|
|
}
|
|
|
|
public override BaseAddon Addon
|
|
{
|
|
get
|
|
{
|
|
return new TableWithRedClothAddon();
|
|
}
|
|
}
|
|
public override int LabelNumber
|
|
{
|
|
get
|
|
{
|
|
return 1076277;
|
|
}
|
|
}// Table With A Red Tablecloth
|
|
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();
|
|
}
|
|
}
|
|
} |