mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-30 16:38:22 +01:00
Adds chugging, knocking on a table and slamming your hand on a table. (#15501)
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user