Failsafe added to the debug/restart controller verbs.dm

Failsafe now checks the lighting_controller too. It will restart it if it doesn't progress for 5 cycles (same as MC)
datum/failsafe is now datum/controller/failsafe

The probability of lights breaking after spawn was reduced from tube:10 and bulb:25 to tube:2 bulb:5

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4674 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
elly1989@rocketmail.com
2012-09-10 12:53:55 +00:00
parent e1bdd57bf2
commit 9f1362c68d
5 changed files with 85 additions and 283 deletions
+2 -2
View File
@@ -244,11 +244,11 @@
switch(fitting)
if("tube")
brightness = 8
if(prob(10))
if(prob(2))
broken(1)
if("bulb")
brightness = 4
if(prob(25))
if(prob(5))
broken(1)
spawn(1)
update(0)