mirror of
https://github.com/ServUO/ServUO
synced 2026-08-11 20:23:04 -04:00
- Added Mallet and Chisel runics to scroll boxes (Imbuing Quest) - Added various fixes to Peerless Altars to prevent the instance being hung up, as well as players being teleported after they leave the encounter. - Insane dryads should no longer attack other monsters - Added (Uncommented) circlets in blacksmith menu - Added Gingerbread Cookie/recipe to DefCooking menu - Added Rings/Bracelet (human/garg), gargish necklace and gargish earrings to tinkering menu - Removed Chaos shield from Clean Up Britannia until we can get some clarification, as currently is a huge exploit - Removed DeepSeaSerpent and WhippingVines from spawner defs - you will still need to removel them from spawners on existing shards
57 lines
No EOL
1.2 KiB
C#
57 lines
No EOL
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();
|
|
}
|
|
}
|
|
} |