Lockpicks and Lockpicking [StoneKeep Port] #27
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
ported from Darkrp-community/OpenKeep#512 with permission of it's coder Cre77
StoneKeep's changelong
HUGE THANKS TO PAINKILLER/GUNDAMTANAKA!!! This PR wouldn't be possible without his help. Sounds from a game, sprites by me.
evil update. Adds smithable and purchasable lockpicks and lockpickrings, gives them to Rogues, Assassins, and Graverobbers, gives appropriate roles lockpicking. You can lockpick non-latch doors and lockable containers to open or lock them.
Skill affects success chance and speed, Perception and, if it's smithed, pick modifier also give a bonus. Picks take damage if you fail, normally breaking in ten failed attempts. It should be nigh impossible to pick locks without skill with a non-masterwork pick.
Most roles have around 1-2, with only some crime-heavy ones having high enough to go through several doors on a single lockpick.
Sound feedback is extremely low if you're successful, and very audible for failed attempts and broken lockpicks.
Experience gain is on a slightly more generous side, mostly due to picks breaking, failed attempts not giving XP, and picks not being normally available at roundstart or without suppliers.