#W# Initial Commit: Avatars Conquest
This commit is contained in:
commit
5df497787a
7510 changed files with 416048 additions and 0 deletions
36
Scripts/Items/Skill Items/Instruments/Lute.cs
Normal file
36
Scripts/Items/Skill Items/Instruments/Lute.cs
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
using System;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class Lute : BaseInstrument
|
||||
{
|
||||
[Constructable]
|
||||
public Lute() : base( 0xEB3, 0x4C, 0x4D )
|
||||
{
|
||||
Name = "lute";
|
||||
Weight = 5.0;
|
||||
ItemID = Utility.RandomList( 0xEB3, 0x0EB4 );
|
||||
}
|
||||
|
||||
public Lute( 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 == 3.0 )
|
||||
Weight = 5.0;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue