Reorganizes Project (#41)
This commit is contained in:
parent
08bf44af9a
commit
3614a66aee
3499 changed files with 79 additions and 55 deletions
43
Projects/Scripts/Items/Skill Items/Tools/FletcherTools.cs
Normal file
43
Projects/Scripts/Items/Skill Items/Tools/FletcherTools.cs
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
using Server.Engines.Craft;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
[Flippable(0x1022, 0x1023)]
|
||||
public class FletcherTools : BaseTool
|
||||
{
|
||||
[Constructible]
|
||||
public FletcherTools() : base(0x1022)
|
||||
{
|
||||
Weight = 2.0;
|
||||
}
|
||||
|
||||
[Constructible]
|
||||
public FletcherTools(int uses) : base(uses, 0x1022)
|
||||
{
|
||||
Weight = 2.0;
|
||||
}
|
||||
|
||||
public FletcherTools(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override CraftSystem CraftSystem => DefBowFletching.CraftSystem;
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
|
||||
writer.Write(0); // version
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
|
||||
int version = reader.ReadInt();
|
||||
|
||||
if (Weight == 1.0)
|
||||
Weight = 2.0;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue