Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds new vending machine tooltips. (tgstation#81918)
## About The Pull Request This PR adds tooltips to vending machines. Specifically, the tooltips cover tool interactions (unwrench, toggle panel open/closed, deconstruct), as well as righting a knocked over vending machine with an open hand, and returning items to a vending machine as applicable. ![image](https://github.com/tgstation/tgstation/assets/41715314/2af1eb6a-b357-423b-acd4-f9b6dd913b64) ![image](https://github.com/tgstation/tgstation/assets/41715314/816eb602-4831-41ea-a4b6-ece54cea4665) ![image](https://github.com/tgstation/tgstation/assets/41715314/f4ec55eb-b403-4444-9ae5-ea1978f7f578) ![image](https://github.com/tgstation/tgstation/assets/41715314/371c21b3-a884-4ec0-afa7-531f109c93b1) ![image](https://github.com/tgstation/tgstation/assets/41715314/fac5881e-89f0-482e-b19b-db0440684147) This also provides a context for restock modules, which shows specific text when the vending machine has credit to be claimed when restocked. Tweaks a little bit of speech handling to prevent issues with custom_vendor for determining if an item can be returned to re-use for the tooltip proc. ## Why It's Good For The Game Improves clarity on a high impact economy related piece of content, plus we kinda *like* vending machines, based on how much code we have dedicated to them. 🐛 💥 ## Changelog :cl: qol: Vending machines now have contextual tooltips for interactions with tools/objects/restocking/returns. qol: Vending machines can now be examined to see what type of restock module they need to be refilled. /:cl: --------- Co-authored-by: MrMelbert <[email protected]> Co-authored-by: san7890 <[email protected]>
- Loading branch information