(still using SUO57 with the customs framework etc, with an up-to-date UO client/expansion settings)

One of my favorite things about old UO was the ability to chop up players, and get jerky from their corpse. How would I ago about turning that back on? I know I'd have to edit the body parts to make them carveable, and probably cooking as well, but if anyone can point me in the right direction?

My future "Sweeney Todd" inspired pie shop thanks you in advance :)
 
Wha. Taa
I tried other day. Made a human rib meat using raw ribs as skeleton script changed item I'd to ribs and changed hue.. got it to click on death and make body parts.. just adto human character scripts
Public virtual int torso { get { return 1} }
Etc for all body parts...
My problem was from lack of script knowledge how to dbl click and produce the raw meat.. from torso and other body parts..
 
i love that apparently it's the season for cannibalism!

I remember you could chop everything twice. Meaty parts had jerky, head had a brain, chest had a heart.. I think there was at least liver or kidneys too.
 
EAT EAT! but yeah i see what you wanna do i thought about it and im not sure other then... find the part of the script the turns the body into body parts then (probably on corpse script) and then paste it into each body part and make it create some custom human meats ;) you know what i think ill try to do that as it sounds easy enolugh.
Post automatically merged:

ok so this at the topp
C#:
    public class LeftArm : Food, ICarvable

And this at the bottom... of the body parts...

C#:
        public bool Carve(Mobile from, Item item)
        {
            if (ItemID == 0x1DA1)
            {
                new Blood(0x122D).MoveToWorld(Location, Map);

                new Torso().MoveToWorld(Location, Map);
                new LeftLeg().MoveToWorld(Location, Map);
                new LeftArm().MoveToWorld(Location, Map);
                new RightLeg().MoveToWorld(Location, Map);
                new RightArm().MoveToWorld(Location, Map);
                new Head().MoveToWorld(Location, Map);
            }
            else
            {
                from.SendLocalizedMessage(500485); // You see nothing useful to carve from the corpse.
            }

Delete();
            return true;
        }

You will need to check this out and see how it functions... (unlimited meats cause there is another left arm spawning)

Customize as you wish...

1608147629424.png
Post automatically merged:

crap i regret that image... oh well ! have fun like I will thanks for the idea man!
 
Last edited:
wait, you can just declare anything food? I love this game! thanks for brainstorming with me on this, I was just gonna make a quest where you turn in jerky to the local meat pie shop, but why stop there? ;)

I need to dig through uofiddler and see if i can find the old jerky graphic, the brain and heart is still in there...

thanks again, will report back later when i try it out
 
EAT EAT! but yeah i see what you wanna do i thought about it and im not sure other then... find the part of the script the turns the body into body parts then (probably on corpse script) and then paste it into each body part and make it create some custom human meats ;) you know what i think ill try to do that as it sounds easy enolugh.
Post automatically merged:

ok so this at the topp
C#:
    public class LeftArm : Food, ICarvable

And this at the bottom... of the body parts...

C#:
        public bool Carve(Mobile from, Item item)
        {
            if (ItemID == 0x1DA1)
            {
                new Blood(0x122D).MoveToWorld(Location, Map);

                new Torso().MoveToWorld(Location, Map);
                new LeftLeg().MoveToWorld(Location, Map);
                new LeftArm().MoveToWorld(Location, Map);
                new RightLeg().MoveToWorld(Location, Map);
                new RightArm().MoveToWorld(Location, Map);
                new Head().MoveToWorld(Location, Map);
            }
            else
            {
                from.SendLocalizedMessage(500485); // You see nothing useful to carve from the corpse.
            }

Delete();
            return true;
        }

You will need to check this out and see how it functions... (unlimited meats cause there is another left arm spawning)

Customize as you wish...

View attachment 17249
Post automatically merged:

crap i regret that image... oh well ! have fun like I will thanks for the idea man!
Nice.. spawning body parts for cemetery..
Post automatically merged:

I'm sure some animals would love like to eat human meat.. rotted or not....

Geus's brain and liver and heart should be edible too
Post automatically merged:

Oh and I pretty sure jerky was bacon with another hue
 
Last edited:
food.cs add human jerky
`
C#:
    public class HumanJerky : Food
    {
        [Constructable]
        public HumanJerky()
            : this(1)
        {
        }

        [Constructable]
        public HumanJerky(int amount)
            : base(amount, 0x979)
        {
            Name = "HumanJerky"
            Weight = 1.0;
            FillFactor = 3;
        }

        public HumanJerky(Serial serial)
            : base(serial)
        {
        }
`
cookablefood.cs add
`
C#:
    // ********** RawHumanJerky **********
    public class RawHumanJerky : CookableFood
    {
        [Constructable]
        public RawHumanJerky()
            : this(1)
        {
        }

        [Constructable]
        public RawHumanJerky(int amount)
            : base(0x979, 10)
        {
            Name = "RawHumanJerky"
            Weight = 1.0;
            Stackable = true;
            Amount = amount;
        }

        public RawHumanJerky(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();
        }

        public override Food Cook()
        {
            return new HumanJerky();
        }
    }
`
defcooking.cs add
`
C#:
            index = AddCraft(typeof(HumanJerky), 1044498, "HumanJerky", 0.0, 100.0, typeof(RawHumanJerky), "RawHumanJerky", 1, 1044253);
            SetNeedHeat(index, true);
            SetUseAllRes(index, true);
            ForceNonExceptional(index);


`
and now there is a human jerky to add as loot or for adding to cut corpse.
orcs just love the stuff!
 
Last edited:
for each corpse item torso, leg, arm add this method right after the deserialize method

`
C#:
        public bool Carve(Mobile from, Item item)
        {
            if (ItemID == 0x1DA3)
            {
                new RawHumanJerky(0x979);
            }
            else
            {
                from.SendLocalizedMessage(500485); // You see nothing useful to carve from the corpse.
            }

            Delete();
            return true;
        }
`

add directives at top ot each corpse item
`
C#:
using Server;
using Server.Items
`
 
for each corpse item torso, leg, arm add this method right after the deserialize method

`
C#:
        public bool Carve(Mobile from, Item item)
        {
            if (ItemID == 0x1DA3)
            {
                new RawHumanJerky(0x979);
            }
            else
            {
                from.SendLocalizedMessage(500485); // You see nothing useful to carve from the corpse.
            }

            Delete();
            return true;
        }
`

add directives at top ot each corpse item
`
C#:
using Server;
using Server.Items
`
so just curious were you planning to create a script for human jerky cause you could use mine as a base point and then make it so you have to smoke the body meat cuts to get loads of human jerky lol
 
Back