ModernUO/Scripts/Items/Skill Items/Tools/Blowpipe.cs
Kamron Batman 20ae1b3989
Fixes lots more spelling errors (#5)
* Renames constructable to constructible
* Fixes project references.
* Fixes BaseEquippableLight file name
* Replaces payed with paid.
* Fixes various other spelling errors
2018-02-20 16:01:41 -08:00

49 lines
No EOL
955 B
C#

using System;
using Server;
using Server.Engines.Craft;
namespace Server.Items
{
[FlippableAttribute( 0xE8A, 0xE89 )]
public class Blowpipe : BaseTool
{
public override CraftSystem CraftSystem { get { return DefGlassblowing.CraftSystem; } }
public override int LabelNumber{ get{ return 1044608; } } // blow pipe
[Constructible]
public Blowpipe() : base( 0xE8A )
{
Weight = 4.0;
Hue = 0x3B9;
}
[Constructible]
public Blowpipe( int uses ) : base( uses, 0xE8A )
{
Weight = 4.0;
Hue = 0x3B9;
}
public Blowpipe( 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();
if ( Weight == 2.0 )
Weight = 4.0;
}
}
}