View Single Post
Old 08-02-2008, 11:35 PM   #86 (permalink)
loscheider
Lurker
 
Join Date: May 2006
Posts: 6
Default

ok i am having a problem with a basic robe script to show my simple dress art i added in. the gound tile works but i cant wear it it is marked wearable and a here is mt script for it can someone tell me what i am doing wrong?
using System;
using Server;

namespace Server.Items
{
[Flipable( 0x3ffc, 0x3ffc )]
public class simpledress : BaseClothing
{


[Constructable]
public simpledress() : this( 0 )
{
}

[Constructable]
public simpledress( int hue ) : base( 0x3FFC, Layer.OuterTorso, hue )
{

Name = "Simple Dress";
Weight = 1.0;
}

public simpledress( 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();
}
}
}
loscheider is offline   Reply With Quote