Looking for advice regarding picking player's pockets

Discuss modding questions and implementation details.
Post Reply
User avatar
DunnyOfPenwick
Posts: 275
Joined: Wed Apr 14, 2021 1:58 am
Location: Southeast US

Looking for advice regarding picking player's pockets

Post by DunnyOfPenwick »

In the Delver Compass mod, there's code in there to allow a cutpurse to potentially steal some gold from the player's purse (virtually speaking, I mean).

I'm in the process of updating the mod, and was considering stealing an item from the player if their purse is empty, but this is a bit of a tricky area.

Currently the logic ignores the following items:
  • Items marked IsQuestItem
  • Items marked IsArtifact
  • Items marked IsEquipped
  • Items that weigh more than half a kilo
  • Items with item.value greater than 1000

I'd be interested in other's thoughts on this.

User avatar
DunnyOfPenwick
Posts: 275
Joined: Wed Apr 14, 2021 1:58 am
Location: Southeast US

Re: Looking for advice regarding picking player's pockets

Post by DunnyOfPenwick »

I've thought about it some more, and might just limit pickpocketing to certain specific item types. Books, religious items, potions, etc.

Post Reply