Files
abysmal-isle/Scripts/Items/Tools/RunicMalletAndChisel.cs
Unstable Kitsune b918192e4e Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
2023-11-28 23:20:26 -05:00

57 lines
1.2 KiB
C#

using System;
using Server;
using Server.Engines.Craft;
namespace Server.Items
{
public class RunicMalletAndChisel : BaseRunicTool
{
public override CraftSystem CraftSystem{ get{ return DefMasonry.CraftSystem; } }
public override int LabelNumber
{
get
{
int index = CraftResources.GetIndex(Resource);
if (index >= 1 && index <= 8)
return 1111795 + index;
return 1045128; // mallet and chisel
}
}
[Constructable]
public RunicMalletAndChisel( CraftResource resource ) : base( resource, 4787 )
{
Weight = 2.0;
Hue = CraftResources.GetHue( resource );
}
[Constructable]
public RunicMalletAndChisel( CraftResource resource, int uses ) : base( resource, uses, 4787 )
{
Weight = 2.0;
Hue = CraftResources.GetHue( resource );
}
public RunicMalletAndChisel(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();
}
}
}