Fixes R-UT EMP breaking consoles

This commit is contained in:
Michael Gosselin
2018-06-27 19:19:21 -04:00
parent 3279e7d39f
commit a858517c14
2 changed files with 23 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
//
//Patching some things in R-UST for Yawn Wider - Gozulio
//
/obj/machinery/computer/fusion_core_control/emp_act(severity)
..()
timedEmp()
/obj/machinery/computer/fusion_fuel_control/emp_act(severity)
..()
timedEmp()
/obj/machinery/computer/gyrotron_control/emp_act(severity)
..()
timedEmp()
/obj/machinery/computer/proc/timedEmp()
var/emptime = rand(10)
sleep(emptime)
stat &= ~BROKEN
update_icon()

View File

@@ -2453,6 +2453,7 @@
#include "code\modules\power\fusion\fusion_reactions.dm"
#include "code\modules\power\fusion\fusion_reagents.dm"
#include "code\modules\power\fusion\magpower.dm"
#include "code\modules\power\fusion\rust_patch_yw.dm"
#include "code\modules\power\fusion\core\_core.dm"
#include "code\modules\power\fusion\core\core_control.dm"
#include "code\modules\power\fusion\core\core_field.dm"