From 54784071e3ed236a24c52326de0f781a924a793b Mon Sep 17 00:00:00 2001 From: forest2001 Date: Sat, 30 Sep 2023 20:33:22 +0100 Subject: [PATCH] changes --- code/modules/cm_phone/phone.dm | 6 ++++++ maps/map_files/USS_Almayer/USS_Almayer.dmm | 21 +++++++-------------- 2 files changed, 13 insertions(+), 14 deletions(-) diff --git a/code/modules/cm_phone/phone.dm b/code/modules/cm_phone/phone.dm index 2ec3f6d56e03..fd9c8aa02d44 100644 --- a/code/modules/cm_phone/phone.dm +++ b/code/modules/cm_phone/phone.dm @@ -569,12 +569,18 @@ GLOBAL_LIST_EMPTY_TYPED(transmitters, /obj/structure/transmitter) UnregisterSignal(attached_to, COMSIG_MOVABLE_MOVED) reset_tether() +/obj/structure/transmitter/no_dnd + do_not_disturb = PHONE_DND_FORBIDDEN + //rotary desk phones (need a touch tone handset at some point) /obj/structure/transmitter/rotary name = "rotary telephone" icon_state = "rotary_phone" desc = "The finger plate is a little stiff." +/obj/structure/transmitter/rotary/no_dnd + do_not_disturb = PHONE_DND_FORBIDDEN + /obj/structure/transmitter/touchtone name = "touch-tone telephone" icon_state = "rotary_phone"//placeholder diff --git a/maps/map_files/USS_Almayer/USS_Almayer.dmm b/maps/map_files/USS_Almayer/USS_Almayer.dmm index a6b57e7909b0..3289466483ed 100644 --- a/maps/map_files/USS_Almayer/USS_Almayer.dmm +++ b/maps/map_files/USS_Almayer/USS_Almayer.dmm @@ -7816,10 +7816,9 @@ pixel_y = 15 }, /obj/structure/machinery/light, -/obj/structure/transmitter/rotary{ +/obj/structure/transmitter/rotary/no_dnd{ name = "Bravo Overwatch Telephone"; phone_category = "Command"; - do_not_disturb = -1; phone_id = "Bravo Overwatch" }, /obj/structure/sign/safety/terminal{ @@ -8505,11 +8504,10 @@ pixel_y = -5; req_one_access_txt = "1;4" }, -/obj/structure/transmitter/rotary{ +/obj/structure/transmitter/rotary/no_dnd{ name = "Combat Information Center Telephone"; phone_category = "Command"; phone_id = "Combat Information Center"; - do_not_disturb = -1; pixel_x = 5; pixel_y = 4 }, @@ -8957,10 +8955,9 @@ /obj/structure/machinery/light{ dir = 1 }, -/obj/structure/transmitter/rotary{ +/obj/structure/transmitter/rotary/no_dnd{ name = "Charlie Overwatch Telephone"; phone_category = "Command"; - do_not_disturb = -1; phone_id = "Charlie Overwatch" }, /obj/structure/sign/safety/terminal{ @@ -34207,10 +34204,9 @@ pixel_x = -17; pixel_y = -17 }, -/obj/structure/transmitter/rotary{ +/obj/structure/transmitter/rotary/no_dnd{ name = "Delta Overwatch Telephone"; phone_category = "Command"; - do_not_disturb = -1; phone_id = "Delta Overwatch" }, /obj/structure/sign/safety/terminal{ @@ -37369,12 +37365,11 @@ "gjL" = ( /obj/structure/surface/table/almayer, /obj/structure/machinery/computer/crew/alt, -/obj/structure/transmitter/rotary{ +/obj/structure/transmitter/rotary/no_dnd{ name = "Brig Cells Telephone"; phone_category = "Almayer"; phone_id = "Brig Cells"; pixel_x = 15; - do_not_disturb = -1 }, /turf/open/floor/almayer, /area/almayer/shipboard/brig/processing) @@ -38382,10 +38377,9 @@ pixel_x = -17; pixel_y = 16 }, -/obj/structure/transmitter/rotary{ +/obj/structure/transmitter/rotary/no_dnd{ name = "Alpha Overwatch Telephone"; phone_category = "Command"; - do_not_disturb = -1; phone_id = "Alpha Overwatch" }, /obj/structure/sign/safety/terminal{ @@ -64480,12 +64474,11 @@ /turf/open/floor/plating/plating_catwalk, /area/almayer/hull/upper_hull/u_f_s) "rTY" = ( -/obj/structure/transmitter{ +/obj/structure/transmitter/no_dnd{ name = "Requisition Telephone"; phone_category = "Almayer"; phone_id = "Requisition"; pixel_y = 30; - do_not_disturb = -1 }, /turf/open/floor/almayer{ dir = 5;