Found a new problem with the above code. Permanent items with charges do not delete off of player corpses. They remain on the player, AND also appear on the corpse. The charges of the items that remain on the player do seem to be depleted, as even unlimited items say the item is out of charges when used. Deleting those items, and looting the ones of their corpse works fine.
Edit: I should mention this bug only effects those who enable player corpses with items!
Last edited by cavedude; 01-13-2009 at 08:12 PM..
|