mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-21 19:17:50 +01:00
Makes puking less common. Corpses can no longer puke...
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2965 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -1026,24 +1026,25 @@
|
||||
*/
|
||||
|
||||
// Puke if toxloss is too high
|
||||
if (prob(50) && getToxLoss() >= 45 && nutrition > 20)
|
||||
lastpuke ++
|
||||
if(lastpuke >= 5)
|
||||
Stun(rand(4,6))
|
||||
if(!stat)
|
||||
if (prob(50) && getToxLoss() >= 45 && nutrition > 20)
|
||||
lastpuke ++
|
||||
if(lastpuke >= rand(15,20))
|
||||
Stun(rand(4,6))
|
||||
|
||||
for(var/mob/O in viewers(world.view, src))
|
||||
O.show_message(text("<b>\red [] throws up!</b>", src), 1)
|
||||
playsound(src.loc, 'splat.ogg', 50, 1)
|
||||
for(var/mob/O in viewers(world.view, src))
|
||||
O.show_message(text("<b>\red [] throws up!</b>", src), 1)
|
||||
playsound(src.loc, 'splat.ogg', 50, 1)
|
||||
|
||||
var/turf/location = loc
|
||||
if (istype(location, /turf/simulated))
|
||||
location.add_vomit_floor(src, 1)
|
||||
var/turf/location = loc
|
||||
if (istype(location, /turf/simulated))
|
||||
location.add_vomit_floor(src, 1)
|
||||
|
||||
nutrition -= rand(10,20)
|
||||
adjustToxLoss(-rand(1,10))
|
||||
nutrition -= rand(10,20)
|
||||
adjustToxLoss(-rand(1,10))
|
||||
|
||||
// make it so you can only puke so fast
|
||||
lastpuke = 0
|
||||
// make it so you can only puke so fast
|
||||
lastpuke = 0
|
||||
|
||||
handle_virus_updates()
|
||||
if(bodytemperature > 406)
|
||||
|
||||
Reference in New Issue
Block a user