drakes can destroy boulders

This commit is contained in:
spookerton
2022-11-11 16:29:29 +00:00
parent b44de129a3
commit 8d71f988c4
@@ -20,6 +20,26 @@
attack_hand(drake)
/obj/structure/boulder/interaction_grafadreka(mob/living/simple_mob/animal/sif/grafadreka/drake)
. = TRUE
drake.visible_message(
SPAN_ITALIC("\The [drake] claws away at \a [src]."),
SPAN_ITALIC("You dig industriously at \the [src]."),
range = 5
)
if (!do_after(drake, 2 SECONDS, src))
return
excavation_level += rand(25, 50)
if (excavation_level < 100)
to_chat(drake, SPAN_WARNING("\The [src] withstands your attempts - this time."))
return
visible_message(
SPAN_WARNING("\The [src] crumbles away to debris."),
range = 5
)
qdel(src)
/obj/item/bikehorn/interaction_grafadreka(mob/living/simple_mob/animal/sif/grafadreka/drake)
. = TRUE
if (drake.a_intent != I_HELP)