mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-14 12:13:06 +00:00
Fixes R-UT EMP breaking consoles
This commit is contained in:
22
code/modules/power/fusion/rust_patch_yw.dm
Normal file
22
code/modules/power/fusion/rust_patch_yw.dm
Normal 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()
|
||||
Reference in New Issue
Block a user