mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-21 04:57:57 +01:00
whoops
This commit is contained in:
@@ -397,15 +397,15 @@
|
||||
|
||||
/obj/item/toy/crayon/attack(mob/M, mob/user)
|
||||
if(edible && (M == user))
|
||||
if(iscarbon(eater))
|
||||
var/mob/living/carbon/C = eater
|
||||
if(iscarbon(M))
|
||||
var/mob/living/carbon/C = M
|
||||
var/covered = ""
|
||||
if(C.is_mouth_covered(head_only = 1))
|
||||
covered = "headgear"
|
||||
else if(C.is_mouth_covered(mask_only = 1))
|
||||
covered = "mask"
|
||||
if(covered)
|
||||
to_chat(user, "<span class='warning'>You have to remove your [covered] first!</span>")
|
||||
to_chat(C, "<span class='warning'>You have to remove your [covered] first!</span>")
|
||||
return
|
||||
to_chat(user, "You take a bite of the [src.name]. Delicious!")
|
||||
var/eaten = use_charges(user, 5, FALSE)
|
||||
|
||||
Reference in New Issue
Block a user