Page 1 of 1

having problems with corpses providing items when cut...

Posted: Fri Feb 17, 2006 7:45 pm
by mijimoe
Recently I noticed that when an animals corpse is cut (with a knife for instance) the blood will appear but on the body but there will be no items to retrieve. I have looked at the corpse.cfg file and it seems to be in order but again nothing seems to work. Are there any other places in the code that I should be looking to ensure that this is working? I will include a piece of what is in the corpses.cfg file to ensure that it is in the proper format:


corpse 0x06
{
# name bird
item1 0x9b9
amount1 1
item2 feather
amount2 20
}

corpse 0xcd
{
# name rabbit
item1 0x9f1
amount1 2
item2 0x1078
amount2 1
}


Any help would be greatly appreciated.

Thanks!

Posted: Fri Feb 17, 2006 9:25 pm
by MuadDib
If you are using the newer (095+) distro scripts, the corpse stuff for when carved was moved to the npctemplate file within the npc's actual template. Check that for making your changes mate.

Posted: Sat Feb 18, 2006 12:31 pm
by mijimoe
You sir are great!...I made those changes that you said to the npcdesc.cfg as well as the cooresponding nlootgroup.cfg and it works awesome now.

Thanks a bunch!

Mijimoe