fix: Localizes specialized books, codegens instruments (#1352)
This commit is contained in:
parent
ac7c3522f4
commit
f2fdc0321c
39 changed files with 1527 additions and 1866 deletions
|
|
@ -1,31 +1,10 @@
|
|||
namespace Server.Items
|
||||
using ModernUO.Serialization;
|
||||
|
||||
namespace Server.Items;
|
||||
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class Harp : BaseInstrument
|
||||
{
|
||||
public class Harp : BaseInstrument
|
||||
{
|
||||
[Constructible]
|
||||
public Harp() : base(0xEB1, 0x43, 0x44) => Weight = 35.0;
|
||||
|
||||
public Harp(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize(IGenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
|
||||
writer.Write(0); // version
|
||||
}
|
||||
|
||||
public override void Deserialize(IGenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
|
||||
var version = reader.ReadInt();
|
||||
|
||||
if (Weight == 3.0)
|
||||
{
|
||||
Weight = 35.0;
|
||||
}
|
||||
}
|
||||
}
|
||||
[Constructible]
|
||||
public Harp() : base(0xEB1, 0x43, 0x44) => Weight = 35.0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue