bryant
Member
- ServUO Version
- Publish Unknown
- Ultima Expansion
- Age Of Shadows
Two different color stocking containers green/red.
The red stocking takes the cords just fine but the green wont work it puts all items I add to the container in one horizontal line. any thoughts on what might cause this considering they are both set to the same settings?
The red stocking takes the cords just fine but the green wont work it puts all items I add to the container in one horizontal line. any thoughts on what might cause this considering they are both set to the same settings?
stocking containers:
using System;
using System.Collections;
using Server;
using Server.Multis;
using Server.Mobiles;
using Server.Network;
namespace Server.Items
{
[Flipable( 0x2BD9, 0x2BDA )]
public class GreenStocking : BaseContainer
{
public override int DefaultGumpID{ get{ return 0x103; } }
public override int DefaultDropSound{ get{ return 0x42; } }
public override Rectangle2D Bounds
{
get{ return new Rectangle2D( 25, 90, 68, 78 ); }
}
[Constructable]
public GreenStocking() : base ( 0x2BD9 )
{
ItemID = Utility.RandomList( 0x2BD9, 0x2BDA );
Name = "A Green Stocking";
Hue = 0;
Weight = 1.0;
}
public GreenStocking( 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();
}
}
[Flipable( 0x2BDB, 0x2BDC )]
public class RedStocking : BaseContainer
{
public override int DefaultGumpID{ get{ return 0x1D; } }
public override int DefaultDropSound{ get{ return 0x42; } }
public override Rectangle2D Bounds
{
get{ return new Rectangle2D( 25, 108, 118, 78 ); }
}
[Constructable]
public RedStocking() : base ( 0x2BDB )
{
ItemID = Utility.RandomList( 0x2BDB, 0x2BDC );
Name = "A Red Stocking";
Hue = 0;
Weight = 1.0;
}
public RedStocking( 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();
}
}