mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-14 20:23:26 +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()
|
||||||
@@ -2453,6 +2453,7 @@
|
|||||||
#include "code\modules\power\fusion\fusion_reactions.dm"
|
#include "code\modules\power\fusion\fusion_reactions.dm"
|
||||||
#include "code\modules\power\fusion\fusion_reagents.dm"
|
#include "code\modules\power\fusion\fusion_reagents.dm"
|
||||||
#include "code\modules\power\fusion\magpower.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.dm"
|
||||||
#include "code\modules\power\fusion\core\core_control.dm"
|
#include "code\modules\power\fusion\core\core_control.dm"
|
||||||
#include "code\modules\power\fusion\core\core_field.dm"
|
#include "code\modules\power\fusion\core\core_field.dm"
|
||||||
|
|||||||
Reference in New Issue
Block a user