From 41f25c7eca9ef8de77b752c329e3c7eecb3c5fe1 Mon Sep 17 00:00:00 2001 From: Doxxmedearly <38594443+Doxxmedearly@users.noreply.github.com> Date: Fri, 4 Aug 2023 10:30:04 -0400 Subject: [PATCH] Allows drones to enter robotic storage (#16992) --- code/controllers/subsystems/job.dm | 5 +++-- code/game/machinery/cryopod.dm | 1 - html/changelogs/doxxmedearly-drone_storage.yml | 4 ++++ 3 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 html/changelogs/doxxmedearly-drone_storage.yml diff --git a/code/controllers/subsystems/job.dm b/code/controllers/subsystems/job.dm index 24233e74eca..10f81ab5892 100644 --- a/code/controllers/subsystems/job.dm +++ b/code/controllers/subsystems/job.dm @@ -489,8 +489,9 @@ H.visible_message("[H.name] makes their way to the [current_map.dock_short]'s cryostorage, and departs.", "You make your way into [current_map.dock_short]'s cryostorage, and depart.", range = 3) DespawnMob(H) else - global_announcer.autosay("[H.real_name], [H.mind.role_alt_title], has entered robotic storage.", "[current_map.dock_name] Robotic Oversight") - H.visible_message("[H.name] makes their way to the [current_map.dock_short]'s robotic storage, and departs.", "You make your way into [current_map.dock_short]'s robotic storage, and depart.", range = 3) + if(!isDrone(H)) + global_announcer.autosay("[H.real_name], [H.mind.role_alt_title], has entered robotic storage.", "[current_map.dock_name] Robotic Oversight") + H.visible_message("[H.name] makes their way to the [current_map.dock_short]'s robotic storage, and departs.", "You make your way into [current_map.dock_short]'s robotic storage, and depart.", range = 3) DespawnMob(H) /datum/controller/subsystem/jobs/proc/LoadJobs(jobsfile) diff --git a/code/game/machinery/cryopod.dm b/code/game/machinery/cryopod.dm index 9c03a863180..38aaca23764 100644 --- a/code/game/machinery/cryopod.dm +++ b/code/game/machinery/cryopod.dm @@ -247,7 +247,6 @@ var/global/list/frozen_crew = list() on_exit_sound = 'sound/machines/cryopod/lift_exit.ogg' on_enter_occupant_message = "The storage unit broadcasts a sleep signal to you. Your systems start to shut down, and you enter low-power mode." allow_occupant_types = list(/mob/living/silicon/robot) - disallow_occupant_types = list(/mob/living/silicon/robot/drone) /obj/machinery/cryopod/living_quarters name = "living quarters lift" diff --git a/html/changelogs/doxxmedearly-drone_storage.yml b/html/changelogs/doxxmedearly-drone_storage.yml new file mode 100644 index 00000000000..0537358cf7b --- /dev/null +++ b/html/changelogs/doxxmedearly-drone_storage.yml @@ -0,0 +1,4 @@ +author: Doxxmedearly +delete-after: True +changes: + - bugfix: "Drones can now enter robotic storage."