mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-18 02:25:06 +01:00
Makes food/drink code easier to read (#18673)
* Change * Container drank, for beakers too * Fimx * oops
This commit is contained in:
@@ -118,6 +118,7 @@
|
||||
return FALSE
|
||||
|
||||
user.setClickCooldown(user.get_attack_speed(src)) //puts a limit on how fast people can eat/drink things
|
||||
SEND_SIGNAL(src, COMSIG_CONTAINER_DRANK, target, user)
|
||||
if(user == target)
|
||||
self_feed_message(user)
|
||||
reagents.trans_to_mob(user, issmall(user) ? CEILING(amount_per_transfer_from_this/2, 1) : amount_per_transfer_from_this, CHEM_INGEST)
|
||||
|
||||
Reference in New Issue
Block a user