mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-18 18:44:48 +01:00
[Goonchem] Few New Reagents
This commit is contained in:
@@ -1441,11 +1441,15 @@ mob/proc/yank_out_object()
|
||||
break
|
||||
|
||||
|
||||
/mob/proc/fakevomit() //for aesthetic vomits that need to be instant and do not stun. -Fox
|
||||
/mob/proc/fakevomit(green=0) //for aesthetic vomits that need to be instant and do not stun. -Fox
|
||||
if(stat==DEAD)
|
||||
return
|
||||
src.visible_message("<span class='warning'>[src] pukes all over \himself!</span>","<span class='warning'>You puke all over yourself!</span>")
|
||||
var/turf/location = loc
|
||||
if (istype(location, /turf/simulated))
|
||||
playsound(location, 'sound/effects/splat.ogg', 50, 1)
|
||||
location.add_vomit_floor(src, 1)
|
||||
if(green)
|
||||
src.visible_message("<span class='warning'>[src] vomits up some green goo!</span>","<span class='warning'>You vomit up some green goo!</span>")
|
||||
new /obj/effect/decal/cleanable/vomit/green(location)
|
||||
else
|
||||
src.visible_message("<span class='warning'>[src] pukes all over \himself!</span>","<span class='warning'>You puke all over yourself!</span>")
|
||||
location.add_vomit_floor(src, 1)
|
||||
playsound(location, 'sound/effects/splat.ogg', 50, 1)
|
||||
Reference in New Issue
Block a user