public override void OnCarve( Mobile from, Corpse corpse, Item item )
{
if (from is PlayerMobile)
{
Item butcher = from.FindItemOnLayer(Layer.OneHanded);
if (from.Player && butcher != null && butcher is ButcherKnife )
//{
if ( corpse.Carved )
base.OnCarve( from, corpse, item );
else if ( !corpse.Carved )
{
corpse.DropItem( new WyrmsHeart() );
from.SendMessage( "You carve into the corpse and find a WyrmHeart." );
corpse.Carved = true;
}
}
}
public override void OnCarve( Mobile from, Corpse corpse, Item item )
{
if (from is PlayerMobile)
{
Item butcher = from.FindItemOnLayer(Layer.OneHanded);
if (butcher != null && butcher is ButcherKnife)
{
if (corpse.Carved)
{
base.OnCarve( from, corpse, item );
return;
}
corpse.DropItem( new WyrmsHeart() );
from.SendMessage( "You carve into the corpse and find a Wyrm heart." );
corpse.Carved = true;
}
else
{
from.SendMessage("You try to carve into the corpse but your blade doesn't get through.");
}
}
}
public override void OnCarve( Mobile from, Corpse corpse, Item item )
{
if (from is PlayerMobile)
{
Item butcher = from.FindItemOnLayer(Layer.OneHanded);
if (butcher != null && butcher is trinchadordragones)
{
if (corpse.Carved)
{
base.OnCarve( from, corpse, item );
return;
}
if (from.Mounted)
from.Animate(28, 5, 1, true, false, 1);
else
from.Animate(32, 5, 1, true, false, 1);
if (Utility.RandomDouble() <= 0.4)
{
corpse.Carved = true;
from.SendMessage("You find nothing.");
if (Utility.RandomDouble() <= 0.5)
{
corpse.DropItem( new WhiteScales{Amount = 10} );
from.SendMessage( "You cut the Whitewyrm corpse." );
from.PublicOverheadMessage(MessageType.Regular, 906, true, "*Chic chic");
corpse.Carved = true;
}
else
{
from.SendMessage("You need to equip a Special knife in order to cut that corpse!.");
}
}
}
}
}
We use essential cookies to make this site work, and optional cookies to enhance your experience.