Adds chugging, knocking on a table and slamming your hand on a table. (#15501)

This commit is contained in:
Matt Atlas
2023-01-10 20:44:44 +01:00
committed by GitHub
parent 576a609483
commit 9e54d75b03
8 changed files with 132 additions and 13 deletions
+15 -6
View File
@@ -1756,15 +1756,24 @@
return 1
return 0
/mob/living/carbon/human/proc/can_drink(var/obj/item/I)
if(!check_has_mouth())
to_chat(src, SPAN_NOTICE("Where do you intend to put \the [I]? You don't have a mouth!"))
return FALSE
var/obj/item/blocked = check_mouth_coverage()
if(blocked)
to_chat(src, SPAN_WARNING("\The [blocked] is in the way!"))
return FALSE
return TRUE
/mob/living/carbon/human/MouseDrop(var/atom/over_object)
var/mob/living/carbon/human/H = over_object
if(holder_type && istype(H) && H.a_intent == I_HELP && !H.lying && !issmall(H) && Adjacent(H))
get_scooped(H, (usr == src))
return
if(ishuman(over_object))
var/mob/living/carbon/human/H = over_object
if(holder_type && istype(H) && H.a_intent == I_HELP && !H.lying && !issmall(H) && Adjacent(H))
get_scooped(H, (usr == src))
return
return ..()
/mob/living/carbon/human/AltClickOn(var/atom/A)
var/doClickAction = 1
if (istype(get_active_hand(), /obj/item))