FIXED Hides

MrChumly

Novice III
Supporter
When skinning WW, greater dragons, dragons, cows, and bulls with a katana there are no hides just cut leather.
 

RedBeard

Journeyman II
The Legend
Benefactor
Supporter
>Find attached: older version of Basecreature.cs
The problem is in Basecreature.cs

older version of Basecreature.cs specifies the skinning knife and butchers war cleaver cut up hides to leather [Line 1968]
Code:
 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.
                            }
                        }
                    }

Latest version allows all bladed weapons to render hides to leather [Line 2205]
Code:
 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.
                    }
 

Attachments

  • BaseCreature.cs
    236.4 KB · Views: 0

Dan

Staff Member
Administrator
Game Master
Alright, looking into why this was changed. Making sure it was not due to a recent UO change.
 

RedBeard

Journeyman II
The Legend
Benefactor
Supporter
According to UO.com the skinning knife must be equipped to cut hides into leather, whereas the butcher's war cleaver can simply be in your pack.
It also states that either method will place the cut leather directly in your pack.


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.
 

PLAY NOW

Heritage

Address
play.trueuo.com
Port
2593
Uptime
14 hours
Players Online
14
Houses
852
Vendors
297
Gold
5,020,673,794gp
Top Bottom