Files
Bubberstation/code/modules/mob
Hatterhat 6bf5955db2 Ice Cream Vat QoL: Elevated surface, placing in hands, not using usr (#76959)
## About The Pull Request
- Ice cream vats now count as elevated surfaces for preventing germs
from getting on your ice cream cones.
- Ice cream vats now try to dispense cones into your hands first, and
defaulting to regular placement afterwards.
- Put-in-hands behavior for germ-sensitive items has been changed;
instead of looking solely for tables, it checks for any suitably
elevated surface to put things on, which now includes icecream vats.
- Ice cream vats' HTML no longer uses usr. Not player-facing, simple
find-replace. Probably doesn't qualify as code improvement.

Anyways, shoutout to ice cream vats' HTML still using usr. Not sure if
what I did to the put-in-hand code is too expensive or not, but it
should be fine.

## Why It's Good For The Game
It's probably a good thing for ice cream to not fall onto the floor and
become dirty upon being dispensed.
## Changelog

🆑
qol: Ice cream vats now count as elevated surfaces for preventing germs
from getting onto germ-sensitive items (food).
qol: Ice cream vats now dispense cones into your hands first, if
possible.
fix: Germ-sensitive items that fail to be placed in-hand now check for
all elevated surfaces, not just tables.
/🆑

---------

Co-authored-by: Hatterhat <Hatterhat@users.noreply.github.com>
2023-07-23 22:40:17 -06:00
..