July 5th TG sync (#1883)

July 5th TG sync
This commit is contained in:
Poojawa
2017-07-05 22:14:19 -05:00
committed by GitHub
parent 454b9c3d68
commit b1b4826c0c
1264 changed files with 149689 additions and 570309 deletions
+5 -11
View File
@@ -36,13 +36,13 @@
handle_environment(environment)
handle_fire()
// Vore code for belly processes
handle_internal_contents()
//stuff in the stomach
handle_stomach()
// Vore code for belly processes
handle_internal_contents()
update_gravity(mob_has_gravity())
if(machine)
@@ -51,7 +51,7 @@
if(stat != DEAD)
handle_disabilities() // eye, ear, brain damages
if(stat != DEAD)
handle_status_effects() //all special effects, stunned, weakened, jitteryness, hallucination, sleeping, etc
handle_status_effects() //all special effects, stun, knockdown, jitteryness, hallucination, sleeping, etc
if(stat != DEAD)
return 1
@@ -100,14 +100,8 @@
/mob/living/proc/handle_stomach()
return
//this updates all special effects: stunned, sleeping, weakened, druggy, stuttering, etc..
//this updates all special effects: knockdown, druggy, stuttering, etc..
/mob/living/proc/handle_status_effects()
if(paralysis)
AdjustParalysis(-1, 1, 1)
if(stunned)
AdjustStunned(-1, 1, 1)
if(weakened)
AdjustWeakened(-1, 1, 1)
if(confused)
confused = max(0, confused - 1)