#W# Initial Commit: Avatars Conquest
This commit is contained in:
commit
8eae46895e
7512 changed files with 416187 additions and 0 deletions
36
Scripts/Items/Skill Items/Instruments/LapHarp.cs
Normal file
36
Scripts/Items/Skill Items/Instruments/LapHarp.cs
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
using System;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class LapHarp : BaseInstrument
|
||||
{
|
||||
[Constructable]
|
||||
public LapHarp() : base( 0xEB2, 0x45, 0x46 )
|
||||
{
|
||||
Name = "harp";
|
||||
Weight = 10.0;
|
||||
ItemID = Utility.RandomList( 0xEB2, 0x13F3 );
|
||||
}
|
||||
|
||||
public LapHarp( 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 = 10.0;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue