Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
57
Scripts/Items/Tools/RunicMalletAndChisel.cs
Normal file
57
Scripts/Items/Tools/RunicMalletAndChisel.cs
Normal file
@@ -0,0 +1,57 @@
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user