public bool Carve(Mobile from, Item item) { if (!GatheredFur) { var fur = new BouraFur(30); if (from.Backpack == null || !from.Backpack.TryDropItem(from, fur, false)) { from.SendLocalizedMessage(1112352); // You would not be able to place the gathered boura fur in your backpack! fur.Delete(); } else { from.SendLocalizedMessage(1112353); // You place the gathered boura fur into your backpack. GatheredFur = true; return(true); } } else { from.SendLocalizedMessage(1112354); // The boura glares at you and will not let you shear its fur. } return(false); }
public void Carve(Mobile from, Item item) { if (!GatheredFur) { var fur = new BouraFur(30); if (from.Backpack == null || !from.Backpack.TryDropItem(from, fur, false)) { from.SendLocalizedMessage(1112352); // You would not be able to place the gathered boura fur in your backpack! fur.Delete(); } else { from.SendLocalizedMessage(1112353); // You place the gathered boura fur into your backpack. GatheredFur = true; } } else from.SendLocalizedMessage(1112354); // The boura glares at you and will not let you shear its fur. }