From ea74866f03b5901d6f05bdbba8a2e88df6295b6f Mon Sep 17 00:00:00 2001 From: Markolie Date: Thu, 26 Jan 2017 15:11:48 +0100 Subject: [PATCH] Move print_command_report proc --- code/defines/procs/orphaned.dm | 9 --------- code/game/machinery/computer/communications.dm | 10 ++++++++++ paradise.dme | 1 - 3 files changed, 10 insertions(+), 10 deletions(-) delete mode 100644 code/defines/procs/orphaned.dm diff --git a/code/defines/procs/orphaned.dm b/code/defines/procs/orphaned.dm deleted file mode 100644 index 5ceafcf0031..00000000000 --- a/code/defines/procs/orphaned.dm +++ /dev/null @@ -1,9 +0,0 @@ -/proc/print_command_report(text = "", title = "Central Command Update") - for(var/obj/machinery/computer/communications/C in machines) - if(!(C.stat & (BROKEN|NOPOWER)) && is_station_contact(C.z)) - var/obj/item/weapon/paper/P = new /obj/item/weapon/paper(C.loc) - P.name = "paper- '[title]'" - P.info = text - C.messagetitle.Add("[title]") - C.messagetext.Add(text) - P.update_icon() \ No newline at end of file diff --git a/code/game/machinery/computer/communications.dm b/code/game/machinery/computer/communications.dm index 3cf2600aa48..6087bc68d08 100644 --- a/code/game/machinery/computer/communications.dm +++ b/code/game/machinery/computer/communications.dm @@ -549,3 +549,13 @@ message_admins("All the AI's, communication consoles and boards are destroyed. Shuttle called.", 1) return ..() + +/proc/print_command_report(text = "", title = "Central Command Update") + for(var/obj/machinery/computer/communications/C in machines) + if(!(C.stat & (BROKEN|NOPOWER)) && is_station_contact(C.z)) + var/obj/item/weapon/paper/P = new /obj/item/weapon/paper(C.loc) + P.name = "paper- '[title]'" + P.info = text + C.messagetitle.Add("[title]") + C.messagetext.Add(text) + P.update_icon() \ No newline at end of file diff --git a/paradise.dme b/paradise.dme index 961f9bead81..632626ec09c 100644 --- a/paradise.dme +++ b/paradise.dme @@ -331,7 +331,6 @@ #include "code\defines\procs\announce.dm" #include "code\defines\procs\AStar.dm" #include "code\defines\procs\dbcore.dm" -#include "code\defines\procs\orphaned.dm" #include "code\defines\procs\radio.dm" #include "code\defines\procs\records.dm" #include "code\defines\procs\statistics.dm"