From 044a1e12e6a1b1ffbc1fb2b8feb6fb0fc78f043f Mon Sep 17 00:00:00 2001 From: Geatish <130587823+Geatish@users.noreply.github.com> Date: Wed, 22 May 2024 13:27:40 +0200 Subject: [PATCH] Adds the alarm app to the atmos, engi and CE job disks (#10945) * Update job_disk.dm added the alarm app to engi and atmos job disks * I picked the wrong app lol Added CE to the list now too, because why doesn't they have it???? Also had to make a flag for the alarm app because why doesn't it exist???????? * I swear to god i have no idea what im doing i just want this to work I HOPE I fixed it * Should "work" now idk if it will "work work" The CE might not get the app * Trying make it only show station alerts this is way more complicated than it should be * I swear if this doesnt work i will cry * Was this the problem? I really dont know what im doing, im just praying * will this work? * Pulling at my hair * I have no idea why shit doesnt work * Reverts to working commit The problem with this commit is that the alarm app on the job disk will detect alarms that are not on the station. --- code/modules/modular_computers/hardware/job_disk.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/modules/modular_computers/hardware/job_disk.dm b/code/modules/modular_computers/hardware/job_disk.dm index 8612f2fe9042f..4419288d1c905 100644 --- a/code/modules/modular_computers/hardware/job_disk.dm +++ b/code/modules/modular_computers/hardware/job_disk.dm @@ -30,9 +30,11 @@ if(disk_flags & DISK_POWER) progs_to_store += new /datum/computer_file/program/power_monitor(src) progs_to_store += new /datum/computer_file/program/supermatter_monitor(src) + progs_to_store += new /datum/computer_file/program/alarm_monitor(src) if(disk_flags & DISK_ATMOS) progs_to_store += new /datum/computer_file/program/atmosscan(src) + progs_to_store += new /datum/computer_file/program/alarm_monitor(src) if(disk_flags & DISK_SEC) progs_to_store += new /datum/computer_file/program/records/security(src)