Hi fellow modders. Fairly new to SKYRIM modding, but veteran from other games. I'm trying to work without SKSE (for now) and was attempting to get a specific function out of the vanilla AI packages.
I want certain NPCs to loot valuable items from corpses they notice. I'm trying to use a dead body override, based on the acquire package, and believe this is the best way. I've set it up to search the corpse that triggered the interrupt, for items based on a link referenced keyword. But this would mean serious incompatibility, and eons going through the item list applying the keyword to the items I want the script to loot, and even if using a FormList helps with compatibility, that would also mean tedious work.
I was reading through the list of procedures, and even item conditions, to hopefully find some way for the acquire package to use "take item if value(in gold) => X". But I found nothing obvious.
Basically, I would want to command the acquire script to take any items off a dead body that are greater than SOME GOLD VALUE (or something similar). I just haven't been around all the functions enough to know if/where one exists, and thought I'd come here to ask if anyone knew before I spend the next few days creating form lists and sifting through all the items. Or perhaps I'm doing this inefficiently, and you know a better method! Any help appreciated, thanks!