Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
36
Scripts/Items/Equipment/Instruments/LapHarp.cs
Normal file
36
Scripts/Items/Equipment/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)
|
||||
{
|
||||
this.Weight = 10.0;
|
||||
}
|
||||
|
||||
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 (this.Weight == 3.0)
|
||||
this.Weight = 10.0;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user