Tweaks. Also, eating human pies makes them chestburst you a'la monkey cubes.

This commit is contained in:
Useroth
2019-05-29 23:45:25 +02:00
parent 16826eba66
commit d8d9d6efeb
2 changed files with 23 additions and 4 deletions
@@ -57,14 +57,33 @@
H.add_overlay(creamoverlay)
H.creamed = TRUE
SEND_SIGNAL(H, COMSIG_ADD_MOOD_EVENT, "creampie", /datum/mood_event/creampie)
for(var/atom/movable/A in contents)
A.forceMove(T)
A.throw_at(hit_atom, 1, 1)
qdel(src)
/obj/item/reagent_containers/food/snacks/pie/cream/nostun
stunning = FALSE
/obj/item/reagent_containers/food/snacks/pie/cream/body
/obj/item/reagent_containers/food/snacks/pie/cream/body/Destroy()
var/turf/T = get_turf(src)
for(var/atom/movable/A in contents)
A.forceMove(T)
A.throw_at(T, 1, 1)
. = ..()
/obj/item/reagent_containers/food/snacks/pie/cream/body/On_Consume(mob/living/carbon/M)
if(!reagents.total_volume) //so that it happens on the last bite
if(iscarbon(M) && contents.len)
var/turf/T = get_turf(src)
for(var/atom/movable/A in contents)
A.forceMove(T)
A.throw_at(T, 1, 1)
M.visible_message("[src] bursts out of [M]!</span>")
M.emote("scream")
M.Knockdown(40)
M.adjustBruteLoss(60)
return ..()
/obj/item/reagent_containers/food/snacks/pie/berryclafoutis
name = "berry clafoutis"
desc = "No black birds, this is a good sign."
+1 -1
View File
@@ -160,7 +160,7 @@
user.visible_message("<span class='warning'>[user] is trying to stuff [M]\s body into \the [src]!</span>")
if(do_mob(user, M, 250))
var/name = M.real_name
var/obj/item/reagent_containers/food/snacks/pie/cream/pie = new(get_turf(M))
var/obj/item/reagent_containers/food/snacks/pie/cream/body/pie = new(get_turf(M))
pie.name = "\improper [name] [pie.name]"
playsound(get_turf(target), on_use_sound, 50, 1)