This commit is contained in:
Fermi
2019-07-29 00:05:26 +01:00
parent d472177a4c
commit 5e5f2fea54
@@ -130,18 +130,19 @@
can_synth = TRUE
/datum/reagent/fermi/furranium/reaction_mob(mob/living/carbon/human/M, method=INJECT, reac_volume)
var/turf/T = get_turf(M)
M.adjustOxyLoss(15)
M.Knockdown(50)
M.Stun(50)
M.emote("cough")
var/obj/item/toy/plush/P = pick(subtypesof(/obj/item/toy/plush))
new P(T)
var/list/seen = viewers(8, T)
for(var/mob/S in seen)
to_chat(S, "<span class='warning'>[M] suddenly coughs up a [P.name]!</b></span>")
var/T2 = get_random_station_turf()
P.throw_at(T2, 8, 1)
if(method == INJECT)
var/turf/T = get_turf(M)
M.adjustOxyLoss(15)
M.Knockdown(50)
M.Stun(50)
M.emote("cough")
var/obj/item/toy/plush/P = pick(subtypesof(/obj/item/toy/plush))
new P(T)
var/list/seen = viewers(8, T)
for(var/mob/S in seen)
to_chat(S, "<span class='warning'>[M] suddenly coughs up a [P.name]!</b></span>")
var/T2 = get_random_station_turf()
P.throw_at(T2, 8, 1)
..()
/datum/reagent/fermi/furranium/on_mob_life(mob/living/carbon/M)