if (hides != 0)
{
Item holding = from.Weapon as Item;
if (Core.AOS && (holding is SkinningKnife || with is ButchersWarCleaver))
{
Item leather = null;
switch (HideType)
{
case HideType.Regular:
leather = new Leather(hides);
break;
case HideType.Spined:
leather = new SpinedLeather(hides);
break;
case HideType.Horned:
leather = new HornedLeather(hides);
break;
case HideType.Barbed:
leather = new BarbedLeather(hides);
break;
}
if (leather != null)
{
if (!from.PlaceInBackpack(leather))
{
corpse.DropItem(leather);
from.SendLocalizedMessage(500471); // You skin it, and the hides are now in the corpse.
}
else
{
from.SendLocalizedMessage(1073555); // You skin it and place the cut-up hides in your backpack.
}
}
}
if (hides != 0)
{
Item leather = null;
switch (HideType)
{
default:
case HideType.Regular: leather = new Leather(hides); break;
case HideType.Spined: leather = new SpinedLeather(hides); break;
case HideType.Horned: leather = new HornedLeather(hides); break;
case HideType.Barbed: leather = new BarbedLeather(hides); break;
}
if (!Core.AOS || (!special && !(with is ButchersWarCleaver)) || !from.AddToBackpack(leather))
{
corpse.AddCarvedItem(leather, from);
from.SendLocalizedMessage(500471); // You skin it, and the hides are now in the corpse.
}
else
{
from.SendLocalizedMessage(1073555); // You skin it and place the cut-up hides in your backpack.
}
There are two weapons that are greatly favoured for leather gathering because they cut the leather as it is gathered, thus giving cut leather instead of hides.
A skinning knife, if equipped will do this. You would need to have your paperdoll open in order to double click the item before targetting the corpse to use this. A butcher’s war cleaver need not be equipped and can be double clicked in your back pack. Both these items will place the leather directly into your packpack within certain restrictions. If the leather (as hides) would put you over the default container weight limit of 400 stones, the cut leather will stay in the corpse. It is therefore advisable, if using either of these items, to check the corpse to be sure that you have actually received the leather you carved.
Skinning knives can be bought from a tinker or tanner npc or made using the tinkering skill. Butcher’s war cleavers can not be bought from NPCs, they are made by a Blacksmith who has read the appropriate recipe from Heartwood.