This repository has been archived by the owner on Jun 29, 2024. It is now read-only.
Balances thievery around item weight class #1372
Open
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.
About The Pull Request
This is coded as an alternative to removing the ability to steal items in back slots, making the roll for stealing any item more difficult based on the w_class of that item; After beating the target's perception, to successfully steal the item(s) you want, if the item's weight class is Normal or greater, you must beat (targetperception + (item w_class * 2). Any item below Normal size inflicts no penalty if it is the target.
EDIT: As of 6/18/2024, this PR also adds a check for closed eyes and consciousness. If someone has their eyes closed, and is still conscious, their vision cone isn't taken into account and you roll vs perception as normal. If they are unconscious or in crit, you automatically succeed your steal attempt. You may now conk someone on the back of the head and steal any size of item while they're knocked out.
Why It's Good For The Game
Every rank of skill you have in stealing adds 1d6 to your roll vs. enemy perception. Since Perception is pretty much always less than 15, the law of averages means you can steal items without difficulty (such as gorgets, large weapons, backpacks or bevors) that you probably should have increased difficulty in stealing. This makes the system a more realistic, fair, and balanced.