Yea, though I walk through the valley of the shadow of death, I will fear no evil: for thou art with me oranges; thy remie and thy coderbus they comfort me.

This commit is contained in:
Akke
2016-03-01 01:06:59 +00:00
parent 867f3b0d89
commit 9c0bacbd72
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -371,6 +371,9 @@ var/list/blood_splatter_icons = list()
/atom/proc/add_vomit_floor(mob/living/carbon/M, toxvomit = 0)
if(istype(src,/turf/simulated) )
var/obj/effect/decal/cleanable/vomit/V = PoolOrNew(/obj/effect/decal/cleanable/vomit, src)
// Make toxins vomit look different
if(toxvomit)
V.icon_state = "vomittox_[pick(1,4)]"
if(M.reagents)
clear_reagents_to_vomit_pool(M,V)
@@ -380,5 +383,4 @@ var/list/blood_splatter_icons = list()
if(istype(R, /datum/reagent/consumable))
var/datum/reagent/consumable/nutri_check = R
if(nutri_check.nutriment_factor >0)
reagents.add_reagent(R.id,R.volume)
M.reagents.remove_reagent(R.id,R.volume)
@@ -378,7 +378,7 @@ var/regex/lizard_hiSS = new("S+", "g")
var/datum/reagent/consumable/nutri_check = chem
if(nutri_check.nutriment_factor >0)
var/turf/pos = get_turf(H)
H.vomit(0)
H.vomit()
playsound(pos, 'sound/effects/splat.ogg', 50, 1)
H.visible_message("<span class='danger'>[H] vomits on the floor!</span>", \
"<span class='userdanger'>You throw up on the floor!</span>")