context: using System;
  
  namespace Server.Items
  {
      [Furniture]
      [Flipable(0x280B, 0x280C)]
      public class PlainWoodenChest : LockableContainer, IEngravable
      {
          [Constructable]
          public PlainWoodenChest()
              : base(0x280B)
          {
          }
  
          public PlainWoodenChest(Serial serial)
              : base(serial)
          {
          }
  
          public override void Serialize(GenericWriter writer)
          {
              base.Serialize(writer);
  
              writer.Write((int)1); // version
          }
  
          public override void Deserialize(GenericReader reader)
          {
              base.Deserialize(reader);
  
              int version = reader.ReadInt();
  
              if (version == 0 && this.Weight == 15)
                  this.Weight = -1;
          }
      }
  
      [Furniture]
      [Flipable(0x280D, 0x280E)]
      public class OrnateWoodenChest : LockableContainer, IEngravable
      {
          [Constructable]
          public OrnateWoodenChest()
              : base(0x280D)
          {
          }
  
          public OrnateWoodenChest(Serial serial)
              : base(serial)
          {
          }
  
          public override void Serialize(GenericWriter writer)
          {
              base.Serialize(writer);
  
              writer.Write((int)1); // version
          }
  
          public override void Deserialize(GenericReader reader)
          {
              base.Deserialize(reader);
  
              int version = reader.ReadInt();
  
              if (version == 0 && this.Weight == 15)
                  this.Weight = -1;
          }
      }
  
      [Furniture]
      [Flipable(0x280F, 0x2810)]
      public class GildedWoodenChest : LockableContainer, IEngravable
      {
          [Constructable]
          public GildedWoodenChest()
              : base(0x280F)
          {
          }
  
          public GildedWoodenChest(Serial serial)
              : base(serial)
          {
          }
  
          public override void Serialize(GenericWriter writer)
          {
              base.Serialize(writer);
  
              writer.Write((int)1); // version
          }
  
          public override void Deserialize(GenericReader reader)
          {
              base.Deserialize(reader);
  
              int version = reader.ReadInt();
  
              if (version == 0 && this.Weight == 15)
                  this.Weight = -1;
          }
      }
  
      [Furniture]
      [Flipable(0x2811, 0x2812)]
      public class WoodenFootLocker : LockableContainer, IEngravable
      {
          [Constructable]
          public WoodenFootLocker()
              : base(0x2811)
          {
              this.GumpID = 0x10B;
          }
  
          public WoodenFootLocker(Serial serial)
              : base(serial)
          {
          }
  
          public override void Serialize(GenericWriter writer)
          {
              base.Serialize(writer);
  
              writer.Write((int)2); // version
          }
  
          public override void Deserialize(GenericReader reader)
          {
              base.Deserialize(reader);
  
              int version = reader.ReadInt();
  
              if (version == 0 && this.Weight == 15)
                  this.Weight = -1;
  			
              if (version < 2)
                  this.GumpID = 0x10B;
          }
      }
  
      [Furniture]
      [Flipable(0x2813, 0x2814)]
      public class FinishedWoodenChest : LockableContainer, IEngravable
      {
          [Constructable]
          public FinishedWoodenChest()
              : base(0x2813)
          {
          }
  
          public FinishedWoodenChest(Serial serial)
              : base(serial)
          {
          }
  
          public override void Serialize(GenericWriter writer)
          {
              base.Serialize(writer);
  
              writer.Write((int)1); // version
          }
  
          public override void Deserialize(GenericReader reader)
          {
              base.Deserialize(reader);
  
              int version = reader.ReadInt();
  
              if (version == 0 && this.Weight == 15)
                  this.Weight = -1;
          }
      }
  
      [Furniture]
      [Flipable(0x285D, 0x285E)]
      public class CherryArmoire : BaseContainer, IEngravable
      {
          [Constructable]
          public CherryArmoire()
              : base(0x285D)
          {
              this.Weight = 1.0;
          }
  
          public CherryArmoire(Serial serial)
              : base(serial)
          {
          }
  
          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();
          }
      }
  
      [Furniture]
      [Flipable(0x285B, 0x285C)]
      public class MapleArmoire : BaseContainer, IEngravable
      {
          [Constructable]
          public MapleArmoire()
              : base(0x285B)
          {
              this.Weight = 1.0;
          }
  
          public MapleArmoire(Serial serial)
              : base(serial)
          {
          }
  
          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();
          }
      }
  
      [Furniture]
      [Flipable(0x2859, 0x285A)]
      public class ElegantArmoire : BaseContainer, IEngravable
      {
          [Constructable]
          public ElegantArmoire()
              : base(0x2859)
          {
              this.Weight = 1.0;
          }
  
          public ElegantArmoire(Serial serial)
              : base(serial)
          {
          }
  
          public override void Serialize(GenericWriter writer)
          {
              base.Serialize(writer);
              writer.Write((int)0); // version
          }
  
          public override void Deserialize(GenericReader reader)
          {
              base.Deserialize(reader);
  
gt:             int version = reader.ReadInt();