Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fax Machine Changes #7678

Open
wants to merge 16 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 13 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
400 changes: 258 additions & 142 deletions code/game/machinery/fax_machine.dm

Large diffs are not rendered by default.

12 changes: 4 additions & 8 deletions code/game/objects/items/devices/radio/encryptionkey.dm
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,6 @@

//MARINE ENCRYPTION KEYS

/obj/item/device/encryptionkey/ai_integrated
name = "AI Integrated Encryption Key"
desc = "Integrated encryption key"
icon_state = "cap_key"
channels = list(RADIO_CHANNEL_ALMAYER = TRUE, RADIO_CHANNEL_COMMAND = TRUE, RADIO_CHANNEL_MP = TRUE, RADIO_CHANNEL_ENGI = TRUE, RADIO_CHANNEL_MEDSCI = TRUE, RADIO_CHANNEL_REQ = TRUE, SQUAD_MARINE_1 = TRUE, SQUAD_MARINE_2 = TRUE, SQUAD_MARINE_3 = TRUE, SQUAD_MARINE_4 = TRUE, SQUAD_MARINE_5 = TRUE, SQUAD_MARINE_CRYO = TRUE, RADIO_CHANNEL_JTAC = TRUE, RADIO_CHANNEL_INTEL = TRUE)

/obj/item/device/encryptionkey/sentry_laptop
name = "Sentry Network Status Encryption Key"
desc = "Automated channel to broadcast sentry gun updates"
Expand Down Expand Up @@ -170,8 +164,10 @@
icon_state = "req_key"
channels = list(RADIO_CHANNEL_REQ = TRUE, RADIO_CHANNEL_COMMAND = FALSE)

/obj/item/device/encryptionkey/mcom/ai //AI only.
channels = list(RADIO_CHANNEL_COMMAND = TRUE, RADIO_CHANNEL_MP = TRUE, SQUAD_MARINE_1 = TRUE, SQUAD_MARINE_2 = TRUE, SQUAD_MARINE_3 = TRUE, SQUAD_MARINE_4 = TRUE, SQUAD_MARINE_5 = TRUE, SQUAD_MARINE_CRYO = TRUE, RADIO_CHANNEL_ENGI = TRUE, RADIO_CHANNEL_MEDSCI = TRUE, RADIO_CHANNEL_REQ = TRUE, RADIO_CHANNEL_JTAC = TRUE, RADIO_CHANNEL_INTEL = TRUE)
/obj/item/device/encryptionkey/cmpcom/synth/ai //AI only.
name = "AI Integrated Radio Encryption Key"
channels = list(RADIO_CHANNEL_COMMAND = TRUE, RADIO_CHANNEL_MP = TRUE, SQUAD_MARINE_1 = TRUE, SQUAD_MARINE_2 = TRUE, SQUAD_MARINE_3 = TRUE, SQUAD_MARINE_4 = TRUE, SQUAD_MARINE_5 = TRUE, SQUAD_MARINE_CRYO = TRUE, RADIO_CHANNEL_ENGI = TRUE, RADIO_CHANNEL_MEDSCI = TRUE, RADIO_CHANNEL_REQ = TRUE, RADIO_CHANNEL_JTAC = TRUE, RADIO_CHANNEL_INTEL = TRUE, RADIO_CHANNEL_WY = TRUE)
translate_apollo = TRUE

// MARINE SQUADS

Expand Down
21 changes: 1 addition & 20 deletions code/game/objects/items/devices/radio/headset.dm
Original file line number Diff line number Diff line change
Expand Up @@ -399,25 +399,6 @@
/obj/item/device/radio/headset/binary
initial_keys = list(/obj/item/device/encryptionkey/binary)

/obj/item/device/radio/headset/ai_integrated //No need to care about icons, it should be hidden inside the AI anyway.
name = "AI Subspace Transceiver"
desc = "Integrated AI radio transceiver."
icon = 'icons/obj/items/robot_component.dmi'
icon_state = "radio"
item_state = "headset"
item_icons = list(
WEAR_L_HAND = 'icons/mob/humans/onmob/inhands/equipment/devices_lefthand.dmi',
WEAR_R_HAND = 'icons/mob/humans/onmob/inhands/equipment/devices_righthand.dmi',
)
initial_keys = list(/obj/item/device/encryptionkey/ai_integrated)
var/myAi = null // Atlantis: Reference back to the AI which has this radio.
var/disabledAi = 0 // Atlantis: Used to manually disable AI's integrated radio via intellicard menu.

/obj/item/device/radio/headset/ai_integrated/receive_range(freq, level)
if (disabledAi)
return -1 //Transceiver Disabled.
return ..(freq, level, 1)

//MARINE HEADSETS

/obj/item/device/radio/headset/almayer
Expand Down Expand Up @@ -640,7 +621,7 @@
)

/obj/item/device/radio/headset/almayer/mcom/ai
initial_keys = list(/obj/item/device/encryptionkey/mcom/ai)
initial_keys = list(/obj/item/device/encryptionkey/cmpcom/synth/ai)
volume = RADIO_VOLUME_CRITICAL

/obj/item/device/radio/headset/almayer/marine
Expand Down
465 changes: 149 additions & 316 deletions code/modules/admin/topic/topic.dm

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -22613,7 +22613,7 @@
/area/lv522/indoors/a_block/corpo/glass)
"mhn" = (
/obj/structure/surface/table/almayer,
/obj/structure/machinery/faxmachine/uscm/brig,
/obj/structure/machinery/faxmachine/uscm,
/obj/structure/machinery/light{
dir = 1
},
Expand Down
2 changes: 1 addition & 1 deletion maps/map_files/LV624/standalone/clfship.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -1639,7 +1639,7 @@
/area/lv624/lazarus/crashed_ship)
"Yz" = (
/obj/structure/surface/table/reinforced/prison,
/obj/structure/machinery/faxmachine{
/obj/structure/machinery/faxmachine/clf{
department = "CLF - Cell 42"
},
/obj/item/paper/prison_station/pirate_note/clfship,
Expand Down
59 changes: 39 additions & 20 deletions maps/map_files/USS_Almayer/USS_Almayer.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -1299,7 +1299,10 @@
/turf/open/floor/plating/almayer/no_build,
/area/almayer/stair_clone/upper)
"aiQ" = (
/obj/structure/machinery/faxmachine,
/obj/structure/machinery/faxmachine{
sub_name = "Combat Correspondent";
department = "USS Almayer"
},
/obj/structure/surface/table/almayer,
/obj/structure/machinery/light/small,
/turf/open/floor/almayer/plate,
Expand Down Expand Up @@ -3326,7 +3329,10 @@
/area/almayer/command/cic)
"awH" = (
/obj/structure/surface/table/reinforced/almayer_B,
/obj/structure/machinery/faxmachine/uscm/command,
/obj/structure/machinery/faxmachine/uscm/almayer/command{
sub_name = "CIC";
radio_alert_tag = ":V"
},
/obj/item/device/megaphone,
/obj/structure/machinery/computer/cameras/almayer_brig{
desc = "Used to access the various cameras in the security brig.";
Expand Down Expand Up @@ -9046,7 +9052,9 @@
"blw" = (
/obj/structure/surface/table/almayer,
/obj/item/tool/lighter,
/obj/structure/machinery/faxmachine/uscm,
/obj/structure/machinery/faxmachine/uscm/almayer{
sub_name = "Conference Room"
},
/obj/structure/machinery/light{
dir = 1
},
Expand Down Expand Up @@ -20627,10 +20635,11 @@
/obj/item/paper_bin/uscm{
pixel_y = -16
},
/obj/structure/machinery/faxmachine/uscm{
/obj/structure/machinery/faxmachine/uscm/almayer{
desc = "The beloved fax machine of the Requisitions department for all your equipment-requesting needs";
department = "Requisitions";
gender = "female"
sub_name = "Requisitions";
gender = "female";
radio_alert_tag = ":U"
},
/turf/open/floor/almayer/plate,
/area/almayer/squads/req)
Expand Down Expand Up @@ -20947,7 +20956,9 @@
/area/almayer/squads/req)
"eHx" = (
/obj/structure/surface/table/reinforced/almayer_B,
/obj/structure/machinery/faxmachine/uscm/command,
/obj/structure/machinery/faxmachine/uscm/almayer/command{
sub_name = "Conference Room"
},
/turf/open/floor/almayer/bluefull,
/area/almayer/command/cichallway)
"eHy" = (
Expand Down Expand Up @@ -24045,8 +24056,8 @@
/area/almayer/command/cichallway)
"gba" = (
/obj/structure/surface/table/reinforced/almayer_B,
/obj/structure/machinery/faxmachine/uscm/command{
department = "AI Core";
/obj/structure/machinery/faxmachine/uscm/almayer/ai_core{
sub_name = "AI Core";
pixel_y = 8
},
/obj/structure/transmitter/rotary{
Expand Down Expand Up @@ -25951,7 +25962,7 @@
/obj/structure/sign/safety/terminal{
pixel_x = -17
},
/obj/structure/machinery/faxmachine/corporate/liaison,
/obj/structure/machinery/faxmachine/corporate/liaison/almayer,
/obj/item/paper/liaison_brief{
pixel_y = 8;
pixel_x = -4
Expand Down Expand Up @@ -32854,7 +32865,7 @@
/area/almayer/maint/hull/lower/l_f_s)
"jIT" = (
/obj/structure/surface/table/almayer,
/obj/structure/machinery/faxmachine/uscm/brig/chief,
/obj/structure/machinery/faxmachine/uscm/almayer/brig/chief,
/turf/open/floor/wood/ship,
/area/almayer/shipboard/brig/chief_mp_office)
"jIV" = (
Expand Down Expand Up @@ -39325,10 +39336,11 @@
/area/almayer/engineering/lower)
"muV" = (
/obj/structure/surface/table/woodentable/fancy,
/obj/structure/machinery/faxmachine/uscm/command/capt{
/obj/structure/machinery/faxmachine/uscm/almayer/command/capt{
name = "Commanding Officer's Fax Machine";
pixel_x = -4;
pixel_y = 3
pixel_y = 3;
radio_alert_tag = ":P"
},
/obj/structure/machinery/light{
dir = 1
Expand Down Expand Up @@ -47998,7 +48010,9 @@
/area/almayer/living/briefing)
"pUD" = (
/obj/structure/surface/table/almayer,
/obj/structure/machinery/faxmachine/uscm/brig,
/obj/structure/machinery/faxmachine/uscm/almayer/brig{
sub_name = "Processing"
},
/obj/structure/machinery/status_display{
pixel_y = 30
},
Expand Down Expand Up @@ -48913,7 +48927,10 @@
/area/almayer/shipboard/panic)
"qmP" = (
/obj/structure/surface/table/almayer,
/obj/structure/machinery/faxmachine/uscm,
/obj/structure/machinery/faxmachine/uscm/almayer{
sub_name = "Intel Office";
radio_alert_tag = ":T"
},
/turf/open/floor/almayer,
/area/almayer/command/computerlab)
"qmR" = (
Expand Down Expand Up @@ -54324,7 +54341,9 @@
/area/almayer/maint/hull/upper/u_a_p)
"stO" = (
/obj/structure/surface/table/almayer,
/obj/structure/machinery/faxmachine/uscm/brig,
/obj/structure/machinery/faxmachine/uscm/almayer/brig{
sub_name = "Permanent Confinement"
},
/obj/structure/machinery/camera/autoname/almayer{
dir = 1;
name = "ship-grade camera"
Expand Down Expand Up @@ -62987,8 +63006,8 @@
/obj/structure/sign/prop3{
pixel_x = -32
},
/obj/structure/machinery/faxmachine/uscm{
department = "SEA"
/obj/structure/machinery/faxmachine/uscm/almayer{
sub_name = "SEA"
},
/turf/open/floor/strata/faux_metal,
/area/almayer/shipboard/sea_office)
Expand Down Expand Up @@ -66234,9 +66253,9 @@
density = 0;
pixel_y = 16
},
/obj/structure/machinery/faxmachine/uscm/command{
/obj/structure/machinery/faxmachine/uscm/almayer/ai_core{
density = 0;
department = "AI Core";
sub_name = "Reception";
pixel_y = 32
},
/turf/open/floor/almayer/aicore/no_build,
Expand Down
2 changes: 1 addition & 1 deletion maps/templates/Chinook.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -3442,7 +3442,7 @@
/obj/structure/sign/prop2{
pixel_y = 30
},
/obj/structure/machinery/faxmachine/uscm/command/highcom{
/obj/structure/machinery/faxmachine/uscm/highcom{
name = "Chinook Fax Machine";
department = "Chinook 91 GSO Station";
pixel_y = 5
Expand Down
4 changes: 2 additions & 2 deletions maps/templates/lazy_templates/fax_responder_base.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
/area/adminlevel/ert_station/fax_response_station)
"ov" = (
/obj/structure/surface/table/woodentable/fancy,
/obj/structure/machinery/faxmachine/uscm/command/highcom{
/obj/structure/machinery/faxmachine/uscm/highcom{
pixel_y = 8
},
/turf/open/floor/wood/ship,
Expand Down Expand Up @@ -558,7 +558,7 @@
/area/adminlevel/ert_station/fax_response_station)
"UB" = (
/obj/structure/surface/table/woodentable/fancy,
/obj/structure/machinery/faxmachine/uscm/brig/provost{
/obj/structure/machinery/faxmachine/uscm/provost{
pixel_y = 8
},
/turf/open/floor/wood/ship,
Expand Down
2 changes: 1 addition & 1 deletion maps/templates/lazy_templates/twe_ert_station.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -2008,7 +2008,7 @@
"VA" = (
/obj/structure/surface/table/almayer,
/obj/effect/decal/cleanable/dirt,
/obj/structure/machinery/faxmachine/uscm/brig,
/obj/structure/machinery/faxmachine/uscm,
/turf/open/floor/almayer/plate,
/area/adminlevel/ert_station/royal_marines_station)
"VG" = (
Expand Down
Loading
Loading