branchwiseguys/main/Working/Prisoncancel
7 Commits over 0 Days - ∞cph!
Added fines for crimes, but they won't take effect until we can arrest without killing players. Refactored taking cash in general, making code to take cash MUCH simpler in general. Some old code was even calculating change, which is unnecessary now that everything is $1 notes.
Tweaked how fists are selected when items are removed. Also removed the ability to press a belt slot again to deselect an item. It was never particularly robust and caused issues with this new system (and I don't think it was needed - you can still select fists or an empty slot to put your gun away).
Tweaked how fists are selected when items are removed. Also removed the ability to press a belt slot again to deselect an item. It was never particularly robust and caused issues with this new system (and I don't think it was needed - you can still select fists or an empty slot to put your gun away).
When confiscated items are returned, they now go back to the correct slots in the correct item containers. Also changed how fists are auto-selected.
Auto-select fists when prison takes your items
Going to prison now temporarily confiscates all your inventory items, and PERMANENTLY confiscates anything illegal (drugs). Needs some improvements, but it's working.