mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user