mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 08:08:49 +01:00
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:
+3
-1
@@ -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>")
|
||||
|
||||
Reference in New Issue
Block a user