mirror of
https://github.com/ServUO/ServUO
synced 2026-08-11 20:23:04 -04:00
- Cleanup of various double calls and simplified code where possible. Co-authored-by: TrueUO <knight.daniel.r@gmail.com>
42 lines
No EOL
866 B
C#
42 lines
No EOL
866 B
C#
using Server.Engines.Craft;
|
|
|
|
namespace Server.Items
|
|
{
|
|
[Flipable(0x1034, 0x1035)]
|
|
public class Saw : BaseTool
|
|
{
|
|
[Constructable]
|
|
public Saw()
|
|
: base(0x1034)
|
|
{
|
|
Weight = 2.0;
|
|
}
|
|
|
|
[Constructable]
|
|
public Saw(int uses)
|
|
: base(uses, 0x1034)
|
|
{
|
|
Weight = 2.0;
|
|
}
|
|
|
|
public Saw(Serial serial)
|
|
: base(serial)
|
|
{
|
|
}
|
|
|
|
public override CraftSystem CraftSystem => DefCarpentry.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();
|
|
}
|
|
}
|
|
} |