Skip to content

Commit

Permalink
drakes can eat soap
Browse files Browse the repository at this point in the history
  • Loading branch information
Spookerton committed Jan 1, 2024
1 parent 0b48fc4 commit d249aeb
Showing 1 changed file with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,19 @@
return TRUE


/obj/item/soap/interaction_grafadreka(mob/living/simple_mob/animal/sif/grafadreka/trained/drake)
if (drake.trained_drake && drake.a_intent != I_GRAB)
playsound(src,'sound/items/eatfood.ogg', rand(10, 50), TRUE)
drake.visible_message(
SPAN_ITALIC("\The [drake] eats \a [src]."),
SPAN_ITALIC("You eat \the [src]."),
SPAN_ITALIC("You hear an odd gooey chewing sound.")
)
qdel(src)
return TRUE
return ..()


/obj/machinery/button/interaction_grafadreka(mob/living/simple_mob/animal/sif/grafadreka/trained/drake)
. = TRUE
if (!drake.trained_drake || drake.a_intent == I_HURT)
Expand Down

0 comments on commit d249aeb

Please sign in to comment.