Files
Bubberstation/code/_onclick
lessthanthree f73b23a9a7 Check for surgery before wounds (#77090)
## About The Pull Request

When trying to use an item on a mob, check for surgery before wounds.

This fixes surgeries (such as compound fracture) that use consumables
such as bone gel being impossible to complete because it tries to use
the item on the wound as the 'quick' treatment instead of the surgery.

Moved the surgery check to its own mob/living proc because it's now used
in two places.

Closes https://github.com/tgstation/tgstation/issues/76832
Closes https://github.com/tgstation/tgstation/issues/76711

## Why It's Good For The Game

Compound fracture surgery completes successfully instead of making the
patient scream in pain and take brute damage.

## Changelog

🆑 LT3
fix: Consumables like bone gel will first be used for surgery before
wounds
/🆑
2023-07-26 09:48:40 +02:00
..