Roboconsole gives loc and health, Drones now flash right

- Adds health and location readings to the robot control console

- Drones now update status effects, so that flashes don't last forever
This commit is contained in:
Crazylemon64
2015-12-08 14:29:56 -08:00
parent f71c68739a
commit 289d54661c
4 changed files with 30 additions and 7 deletions
@@ -211,12 +211,12 @@
//Drones killed by damage will gib.
/mob/living/silicon/robot/drone/handle_regular_status_updates()
if(health <= -35 && src.stat != 2)
if(health <= -35 && src.stat != DEAD)
timeofdeath = world.time
death() //Possibly redundant, having trouble making death() cooperate.
gib()
return
..()
return ..() // If you don't return anything here, you won't update status effects, like weakening
/mob/living/silicon/robot/drone/death(gibbed)