diff --git a/code/modules/power/fusion/rust_patch_yw.dm b/code/modules/power/fusion/rust_patch_yw.dm new file mode 100644 index 0000000000..790cf9054b --- /dev/null +++ b/code/modules/power/fusion/rust_patch_yw.dm @@ -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() \ No newline at end of file diff --git a/vorestation.dme b/vorestation.dme index 644cbb9154..c13519ef39 100644 --- a/vorestation.dme +++ b/vorestation.dme @@ -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"