blows up pancakes with mind (#20615)

* blows up pancakes with mind

* Update code/modules/food_and_drinks/food/foods/baked_goods.dm

Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>

* more polish

---------

Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
This commit is contained in:
GDN
2023-03-23 06:32:37 -05:00
committed by GitHub
parent 22efb88e45
commit 6b3c0493b2
@@ -450,6 +450,21 @@
bitesize = 2
list_reagents = list("nutriment" = 3, "sugar" = 3)
/obj/item/reagent_containers/food/snacks/pancake/attack_tk(mob/user)
if(src in user.tkgrabbed_objects)
to_chat(user, "<span class='notice'>You start channeling psychic energy into [src].</span>")
visible_message("<span class='danger'>The syrup on [src] starts to boil...</span>")
if(do_after_once(user, 4 SECONDS, target = src))
visible_message("<span class='danger'>[src] suddenly combust!</span>")
to_chat(user, "<span class='warning'>You combust [src] with your mind!</span>")
explosion(get_turf(src), light_impact_range = 2, flash_range = 2)
add_attack_logs(user, src, "blew up [src] with TK", ATKLOG_ALL)
qdel(src)
return
to_chat(user, "<span class='notice'>You decide against the destruction of [src].</span>")
return
return ..()
/obj/item/reagent_containers/food/snacks/pancake/berry_pancake
name = "berry pancake"
desc = "A pancake loaded with berries."