mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-26 05:27:01 +01:00
IPC - Vomit Tweak (#14542)
* IPC No Vomit No, IPC, no vomit. * Update carbon.dm * Update carbon.dm * Update carbon.dm
This commit is contained in:
@@ -92,10 +92,12 @@
|
||||
|
||||
|
||||
/mob/living/carbon/proc/vomit(var/lost_nutrition = 10, var/blood = 0, var/stun = 1, var/distance = 0, var/message = 1)
|
||||
if(src.is_muzzled())
|
||||
if(ismachineperson(src)) //IPCs do not vomit particulates
|
||||
return FALSE
|
||||
if(is_muzzled())
|
||||
if(message)
|
||||
to_chat(src, "<span class='warning'>The muzzle prevents you from vomiting!</span>")
|
||||
return 0
|
||||
return FALSE
|
||||
if(stun)
|
||||
Stun(4)
|
||||
if(nutrition < 100 && !blood)
|
||||
@@ -125,7 +127,7 @@
|
||||
T = get_step(T, dir)
|
||||
if(is_blocked_turf(T))
|
||||
break
|
||||
return 1
|
||||
return TRUE
|
||||
|
||||
/mob/living/carbon/gib()
|
||||
. = death(1)
|
||||
|
||||
Reference in New Issue
Block a user