diff --git a/code/controllers/Processes/shuttles/supply.dm b/code/controllers/Processes/shuttles/supply.dm index a32ac4a3d0b..0954436247d 100644 --- a/code/controllers/Processes/shuttles/supply.dm +++ b/code/controllers/Processes/shuttles/supply.dm @@ -288,6 +288,7 @@ return var/obj/item/weapon/paper/reqform = new /obj/item/weapon/paper(_loc) + playsound(_loc, "sound/goonstation/machines/printer_thermal.ogg", 50, 1) reqform.name = "Requisition Form - [crates] '[object.name]' for [orderedby]" reqform.info += "

[station_name] Supply Requisition Form


" reqform.info += "INDEX: #[shuttle_master.ordernum]
" diff --git a/code/game/gamemodes/blob/blob_report.dm b/code/game/gamemodes/blob/blob_report.dm index 816dce84008..9ebb20a299f 100644 --- a/code/game/gamemodes/blob/blob_report.dm +++ b/code/game/gamemodes/blob/blob_report.dm @@ -46,6 +46,7 @@ comm.messagetext.Add(intercepttext) if(!(comm.stat & (BROKEN | NOPOWER)) && comm.prints_intercept) var/obj/item/weapon/paper/intercept = new /obj/item/weapon/paper( comm.loc ) + playsound(comm.loc, "sound/goonstation/machines/printer_dotmatrix.ogg", 50, 1) intercept.name = "Classified Central Command Update" intercept.info = intercepttext command_announcement.Announce("A report has been downloaded and printed out at all communications consoles.", "Incoming Classified Message", 'sound/AI/commandreport.ogg') diff --git a/code/game/machinery/adv_med.dm b/code/game/machinery/adv_med.dm index 0b34638ef44..f0df15af4fe 100644 --- a/code/game/machinery/adv_med.dm +++ b/code/game/machinery/adv_med.dm @@ -447,6 +447,7 @@ printing = 1 visible_message("\The [src] rattles and prints out a sheet of paper.") var/obj/item/weapon/paper/P = new /obj/item/weapon/paper(loc) + playsound(loc, "sound/goonstation/machines/printer_dotmatrix.ogg", 50, 1) P.info = "
Body Scan - [href_list["name"]]

" P.info += "Time of scan: [worldtime2text(world.time)]

" P.info += "[printing_text]" diff --git a/code/game/machinery/computer/card.dm b/code/game/machinery/computer/card.dm index 165e30b4ebb..33442e8403e 100644 --- a/code/game/machinery/computer/card.dm +++ b/code/game/machinery/computer/card.dm @@ -358,6 +358,7 @@ var/time_last_changed_position = 0 if ("print") if (!printing) printing = 1 + playsound(loc, "sound/goonstation/machines/printer_dotmatrix.ogg", 50, 1) spawn(50) printing = null nanomanager.update_uis(src) diff --git a/code/game/machinery/computer/medical.dm b/code/game/machinery/computer/medical.dm index 2e1853c598f..ddcff089b81 100644 --- a/code/game/machinery/computer/medical.dm +++ b/code/game/machinery/computer/medical.dm @@ -464,6 +464,7 @@ if (href_list["print_p"]) if (!( src.printing )) src.printing = 1 + playsound(loc, "sound/goonstation/machines/printer_dotmatrix.ogg", 50, 1) sleep(50) var/obj/item/weapon/paper/P = new /obj/item/weapon/paper( src.loc ) P.info = "
Medical Record

" diff --git a/code/game/machinery/computer/message.dm b/code/game/machinery/computer/message.dm index 136abe54100..85d4807b355 100644 --- a/code/game/machinery/computer/message.dm +++ b/code/game/machinery/computer/message.dm @@ -62,6 +62,7 @@ src.spark_system.start() var/obj/item/weapon/paper/monitorkey/MK = new/obj/item/weapon/paper/monitorkey MK.loc = src.loc + playsound(loc, "sound/goonstation/machines/printer_dotmatrix.ogg", 50, 1) // Will help make emagging the console not so easy to get away with. MK.info += "

£%@%(*$%&(£&?*(%&£/{}" update_icon() diff --git a/code/game/machinery/computer/security.dm b/code/game/machinery/computer/security.dm index f54365c2c05..06ea4dd8702 100644 --- a/code/game/machinery/computer/security.dm +++ b/code/game/machinery/computer/security.dm @@ -322,6 +322,7 @@ What a mess.*/ if ("Print Record") if (!( printing )) printing = 1 + playsound(loc, "sound/goonstation/machines/printer_dotmatrix.ogg", 50, 1) sleep(50) var/obj/item/weapon/paper/P = new /obj/item/weapon/paper( loc ) P.info = "
Security Record

" @@ -344,6 +345,7 @@ What a mess.*/ if ("Print Photo") if(!printing) printing = 1 + playsound(loc, "sound/goonstation/machines/printer_dotmatrix.ogg", 50, 1) sleep(50) if(istype(active1, /datum/data/record) && data_core.general.Find(active1)) create_record_photo(active1) diff --git a/code/game/machinery/computer/skills.dm b/code/game/machinery/computer/skills.dm index 3dc5a599a6e..5ddc91bfa72 100644 --- a/code/game/machinery/computer/skills.dm +++ b/code/game/machinery/computer/skills.dm @@ -255,6 +255,7 @@ What a mess.*/ if ("Print Record") if (!( printing )) printing = 1 + playsound(loc, "sound/goonstation/machines/printer_dotmatrix.ogg", 50, 1) sleep(50) var/obj/item/weapon/paper/P = new /obj/item/weapon/paper( loc ) P.info = "
Employment Record

" diff --git a/code/game/machinery/guestpass.dm b/code/game/machinery/guestpass.dm index 16849268b35..77eed46c4e2 100644 --- a/code/game/machinery/guestpass.dm +++ b/code/game/machinery/guestpass.dm @@ -153,6 +153,7 @@ //usr << "Printing the log, standby..." //sleep(50) var/obj/item/weapon/paper/P = new/obj/item/weapon/paper( loc ) + playsound(loc, "sound/goonstation/machines/printer_dotmatrix.ogg", 50, 1) P.name = "activity log" P.info = dat diff --git a/code/game/objects/items/devices/autopsy.dm b/code/game/objects/items/devices/autopsy.dm index 6f815fee0c9..54056c0942e 100644 --- a/code/game/objects/items/devices/autopsy.dm +++ b/code/game/objects/items/devices/autopsy.dm @@ -151,6 +151,7 @@ for(var/mob/O in viewers(usr)) O.show_message("\red \the [src] rattles and prints out a sheet of paper.", 1) + playsound(loc, "sound/goonstation/machines/printer_thermal.ogg", 50, 1) sleep(10) var/obj/item/weapon/paper/P = new(usr.loc) diff --git a/code/game/objects/items/devices/taperecorder.dm b/code/game/objects/items/devices/taperecorder.dm index ebaff840df5..7b56b34090a 100644 --- a/code/game/objects/items/devices/taperecorder.dm +++ b/code/game/objects/items/devices/taperecorder.dm @@ -93,7 +93,7 @@ mytape.storedinfo += "\[[time2text(mytape.used_capacity * 10,"mm:ss")]\] [M.name] exclaims, \"[msg]\"" return mytape.storedinfo += "\[[time2text(mytape.used_capacity * 10,"mm:ss")]\] [M.name] says, \"[msg]\"" - + /obj/item/device/taperecorder/hear_message(mob/living/M as mob, msg) if(mytape && recording) mytape.timestamp += mytape.used_capacity @@ -221,6 +221,7 @@ return usr << "Transcript printed." + playsound(loc, "sound/goonstation/machines/printer_thermal.ogg", 50, 1) var/obj/item/weapon/paper/P = new /obj/item/weapon/paper(get_turf(src)) var/t1 = "Transcript:

" for(var/i = 1, mytape.storedinfo.len >= i, i++) diff --git a/code/game/sound.dm b/code/game/sound.dm index 0d601c280be..1470bf2be97 100644 --- a/code/game/sound.dm +++ b/code/game/sound.dm @@ -10,6 +10,7 @@ var/list/swing_hit_sound = list('sound/weapons/genhit1.ogg', 'sound/weapons/genh var/list/hiss_sound = list('sound/voice/hiss1.ogg','sound/voice/hiss2.ogg','sound/voice/hiss3.ogg','sound/voice/hiss4.ogg') var/list/page_sound = list('sound/effects/pageturn1.ogg', 'sound/effects/pageturn2.ogg','sound/effects/pageturn3.ogg') //var/list/gun_sound = list('sound/weapons/Gunshot.ogg', 'sound/weapons/Gunshot2.ogg','sound/weapons/Gunshot3.ogg','sound/weapons/Gunshot4.ogg') +var/list/computer_ambience = list('sound/goonstation/machines/ambicomp1.ogg', 'sound/goonstation/machines/ambicomp2.ogg', 'sound/goonstation/machines/ambicomp3.ogg') /proc/playsound(var/atom/source, soundin, vol as num, vary, extrarange as num, falloff, var/is_global) @@ -117,4 +118,5 @@ var/const/FALLOFF_SOUNDS = 0.5 if ("hiss") soundin = pick(hiss_sound) if ("pageturn") soundin = pick(page_sound) //if ("gunshot") soundin = pick(gun_sound) + if("computer_ambience") soundin = pick(computer_ambience) return soundin diff --git a/code/modules/detective_work/scanner.dm b/code/modules/detective_work/scanner.dm index 5aec21ac94e..71d0431a420 100644 --- a/code/modules/detective_work/scanner.dm +++ b/code/modules/detective_work/scanner.dm @@ -18,7 +18,7 @@ if(log.len && !scanning) scanning = 1 user << "Printing report, please wait..." - + playsound(loc, "sound/goonstation/machines/printer_thermal.ogg", 50, 1) spawn(100) // Create our paper diff --git a/code/modules/economy/ATM.dm b/code/modules/economy/ATM.dm index d73e93e782f..2f359cd2a39 100644 --- a/code/modules/economy/ATM.dm +++ b/code/modules/economy/ATM.dm @@ -330,6 +330,7 @@ log transactions usr << "The [src.name] flashes an error on its display." return lastprint = world.timeofday + playsound(loc, "sound/goonstation/machines/printer_thermal.ogg", 50, 1) var/obj/item/weapon/paper/R = new(src.loc) R.name = "Account balance: [authenticated_account.owner_name]" R.info = {"NT Automated Teller Account Statement

diff --git a/code/modules/economy/Accounts.dm b/code/modules/economy/Accounts.dm index 493bfdd1e8a..844c5ca8bbf 100644 --- a/code/modules/economy/Accounts.dm +++ b/code/modules/economy/Accounts.dm @@ -89,6 +89,7 @@ var/global/list/all_money_accounts = list() var/obj/item/smallDelivery/P = new /obj/item/smallDelivery(source_db.loc) var/obj/item/weapon/paper/R = new /obj/item/weapon/paper(P) + playsound(source_db.loc, "sound/goonstation/machines/printer_thermal.ogg", 50, 1) P.wrapped = R R.name = "Account information: [M.owner_name]" diff --git a/code/modules/economy/Accounts_DB.dm b/code/modules/economy/Accounts_DB.dm index 2eb5a487bfd..b5cb77880f6 100644 --- a/code/modules/economy/Accounts_DB.dm +++ b/code/modules/economy/Accounts_DB.dm @@ -12,7 +12,7 @@ var/creating_new_account = 0 var/activated = 1 var/const/fund_cap = 1000000 - + light_color = LIGHT_COLOR_GREEN /obj/machinery/computer/account_database/proc/get_access_level(var/mob/user) @@ -127,11 +127,11 @@ ui = new(user, src, ui_key, "accounts_terminal.tmpl", src.name, 400, 640) ui.set_initial_data(data) ui.open() - + /obj/machinery/computer/account_database/Topic(href, href_list) if(..()) return 1 - + if(href_list["insert_card"]) if(held_card) held_card.forceMove(loc) @@ -146,8 +146,8 @@ var/obj/item/weapon/card/id/C = I usr.drop_item() C.forceMove(src) - held_card = C - + held_card = C + if(!get_access_level(usr)) return 1 @@ -176,10 +176,10 @@ if("finalise_create_account") var/account_name = href_list["holder_name"] var/starting_funds = max(text2num(href_list["starting_funds"]), 0) - + starting_funds = Clamp(starting_funds, 0, station_account.money) // Not authorized to put the station in debt. - starting_funds = min(starting_funds, fund_cap) // Not authorized to give more than the fund cap. - + starting_funds = min(starting_funds, fund_cap) // Not authorized to give more than the fund cap. + create_account(account_name, starting_funds, src) if(starting_funds > 0) //subtract the money @@ -218,6 +218,7 @@ if("print") var/text + playsound(loc, "sound/goonstation/machines/printer_thermal.ogg", 50, 1) var/obj/item/weapon/paper/P = new(loc) if (detailed_account_view) P.name = "account #[detailed_account_view.account_number] details" diff --git a/code/modules/economy/EFTPOS.dm b/code/modules/economy/EFTPOS.dm index 30a1cb82af0..729ae67acce 100644 --- a/code/modules/economy/EFTPOS.dm +++ b/code/modules/economy/EFTPOS.dm @@ -26,6 +26,7 @@ linked_account = station_account /obj/item/device/eftpos/proc/print_reference() + playsound(loc, "sound/goonstation/machines/printer_thermal.ogg", 50, 1) var/obj/item/weapon/paper/R = new(src.loc) R.name = "Reference: [eftpos_name]" diff --git a/code/modules/economy/POS.dm b/code/modules/economy/POS.dm index 8cc707f3b2f..1601956e0a0 100644 --- a/code/modules/economy/POS.dm +++ b/code/modules/economy/POS.dm @@ -201,6 +201,7 @@ var/const/POS_HEADER = {" "} receipt += "" + playsound(loc, "sound/goonstation/machines/printer_thermal.ogg", 50, 1) var/obj/item/weapon/paper/P = new(loc) P.name="Receipt #[id]-[++sales]" P.info=receipt diff --git a/code/modules/hydroponics/trays/tray_tools.dm b/code/modules/hydroponics/trays/tray_tools.dm index 0c08ca44949..a25eaec652b 100644 --- a/code/modules/hydroponics/trays/tray_tools.dm +++ b/code/modules/hydroponics/trays/tray_tools.dm @@ -31,6 +31,7 @@ if(!last_data) user << "There is no scan data to print." return + playsound(loc, "sound/goonstation/machines/printer_thermal.ogg", 50, 1) var/obj/item/weapon/paper/P = new /obj/item/weapon/paper(get_turf(src)) P.name = "paper - [form_title]" P.info = "[last_data]" diff --git a/code/modules/library/lib_machines.dm b/code/modules/library/lib_machines.dm index 76e3bd4dd15..3f93963a796 100644 --- a/code/modules/library/lib_machines.dm +++ b/code/modules/library/lib_machines.dm @@ -277,6 +277,7 @@ datum/borrowbook // Datum used to keep track of who has borrowed what when and f if("6") if(!bibledelay) + playsound(loc, "sound/goonstation/machines/printer_dotmatrix.ogg", 50, 1) var/obj/item/weapon/storage/bible/B = new /obj/item/weapon/storage/bible(src.loc) if(ticker && ( ticker.Bible_icon_state && ticker.Bible_item_state) ) B.icon_state = ticker.Bible_icon_state @@ -375,6 +376,7 @@ datum/borrowbook // Datum used to keep track of who has borrowed what when and f var/author = query.item[2] var/title = query.item[3] var/content = query.item[4] + playsound(loc, "sound/goonstation/machines/printer_dotmatrix.ogg", 50, 1) var/obj/item/weapon/book/B = new(src.loc) B.name = "Book: [title]" B.title = title diff --git a/code/modules/paperwork/faxmachine.dm b/code/modules/paperwork/faxmachine.dm index 80319363248..14e3f0d1343 100644 --- a/code/modules/paperwork/faxmachine.dm +++ b/code/modules/paperwork/faxmachine.dm @@ -203,7 +203,8 @@ var/list/alldepartments = list() return 0 //You can't send faxes to "Unknown" flick("faxreceive", src) - playsound(loc, "sound/items/polaroid1.ogg", 50, 1) + + playsound(loc, "sound/goonstation/machines/printer_dotmatrix.ogg", 50, 1) // give the sprite some time to flick sleep(20) diff --git a/code/modules/paperwork/photocopier.dm b/code/modules/paperwork/photocopier.dm index 39c5442c7e7..6630c24d46c 100644 --- a/code/modules/paperwork/photocopier.dm +++ b/code/modules/paperwork/photocopier.dm @@ -45,6 +45,7 @@ if(stat & (BROKEN|NOPOWER)) return + playsound(loc, "sound/goonstation/machines/printer_dotmatrix.ogg", 50, 1) for(var/i = 0, i < copies, i++) if(toner <= 0) break @@ -99,6 +100,7 @@ if (!selection) return + playsound(loc, "sound/goonstation/machines/printer_dotmatrix.ogg", 50, 1) var/obj/item/weapon/photo/p = new /obj/item/weapon/photo (src.loc) p.construct(selection) if (p.desc == "") diff --git a/code/modules/reagents/Chemistry-Machinery.dm b/code/modules/reagents/Chemistry-Machinery.dm index 5fe33d73b03..f75bae2bb22 100644 --- a/code/modules/reagents/Chemistry-Machinery.dm +++ b/code/modules/reagents/Chemistry-Machinery.dm @@ -478,6 +478,7 @@ src.printing = 1 for(var/mob/O in viewers(usr)) O.show_message("\blue \the [src] rattles and prints out a sheet of paper.", 1) + playsound(loc, "sound/goonstation/machines/printer_dotmatrix.ogg", 50, 1) var/obj/item/weapon/paper/P = new /obj/item/weapon/paper( src.loc ) P.info = "
Chemical Analysis

" P.info += "Time of analysis: [worldtime2text(world.time)]

" diff --git a/code/modules/research/message_server.dm b/code/modules/research/message_server.dm index 9d2c0dd1bb9..9744e726cdc 100644 --- a/code/modules/research/message_server.dm +++ b/code/modules/research/message_server.dm @@ -76,6 +76,8 @@ var/global/list/obj/machinery/message_server/message_servers = list() if(active && (stat & (BROKEN|NOPOWER))) active = 0 return + if(prob(3)) + playsound(loc, "computer_ambience", 50, 1) update_icon() return diff --git a/code/modules/research/server.dm b/code/modules/research/server.dm index c539b0c958f..1bb531051d0 100644 --- a/code/modules/research/server.dm +++ b/code/modules/research/server.dm @@ -13,6 +13,7 @@ var/heating_power = 40000 var/delay = 10 req_access = list(access_rd) //Only the R&D can change server settings. + var/plays_sound = 0 /obj/machinery/r_n_d/server/New() ..() @@ -58,6 +59,9 @@ id_with_download += text2num(N) /obj/machinery/r_n_d/server/process() + if(prob(3) && plays_sound) + playsound(loc, "computer_ambience", 50, 1) + var/datum/gas_mixture/environment = loc.return_air() switch(environment.temperature) if(0 to T0C) @@ -341,6 +345,7 @@ id_with_upload_string = "1;3" id_with_download_string = "1;3" server_id = 1 + plays_sound = 1 /obj/machinery/r_n_d/server/robotics name = "Robotics and Mechanic R&D Server" diff --git a/code/modules/research/xenoarchaeology/machinery/artifact_analyser.dm b/code/modules/research/xenoarchaeology/machinery/artifact_analyser.dm index 130fd8faa05..77b6f688458 100644 --- a/code/modules/research/xenoarchaeology/machinery/artifact_analyser.dm +++ b/code/modules/research/xenoarchaeology/machinery/artifact_analyser.dm @@ -73,6 +73,7 @@ results = get_scan_info(scanned_object) src.visible_message("[name] states, \"Scanning complete.\"") + playsound(loc, "sound/goonstation/machines/printer_dotmatrix.ogg", 50, 1) var/obj/item/weapon/paper/P = new(src.loc) P.name = "[src] report #[++report_num]" P.info = "[src] analysis report #[report_num]
" diff --git a/code/modules/research/xenoarchaeology/machinery/geosample_scanner.dm b/code/modules/research/xenoarchaeology/machinery/geosample_scanner.dm index fc2fe0d2e7a..61915c91e2d 100644 --- a/code/modules/research/xenoarchaeology/machinery/geosample_scanner.dm +++ b/code/modules/research/xenoarchaeology/machinery/geosample_scanner.dm @@ -259,6 +259,7 @@ if(scanned_item) //create report + playsound(loc, "sound/goonstation/machines/printer_dotmatrix.ogg", 50, 1) var/obj/item/weapon/paper/P = new(src) P.name = "[src] report #[++report_num]: [scanned_item.name]" P.stamped = list(/obj/item/weapon/stamp) diff --git a/code/modules/virus2/analyser.dm b/code/modules/virus2/analyser.dm index e68889837c4..770587eee70 100644 --- a/code/modules/virus2/analyser.dm +++ b/code/modules/virus2/analyser.dm @@ -33,6 +33,7 @@ if (dish.virus2.addToDB()) ping("\The [src] pings, \"New pathogen added to data bank.\"") + playsound(loc, "sound/goonstation/machines/printer_dotmatrix.ogg", 50, 1) var/obj/item/weapon/paper/P = new /obj/item/weapon/paper(src.loc) P.name = "paper - [dish.virus2.name()]" diff --git a/code/modules/virus2/centrifuge.dm b/code/modules/virus2/centrifuge.dm index 30805f8c28a..e215e9e6a8c 100644 --- a/code/modules/virus2/centrifuge.dm +++ b/code/modules/virus2/centrifuge.dm @@ -174,6 +174,7 @@ ping("\The [src] pings, \"Pathogen isolated.\"") /obj/machinery/computer/centrifuge/proc/print(var/mob/user) + playsound(loc, "sound/goonstation/machines/printer_dotmatrix.ogg", 50, 1) var/obj/item/weapon/paper/P = new /obj/item/weapon/paper(loc) P.name = "paper - Pathology Report" P.info = {" diff --git a/code/modules/virus2/isolator.dm b/code/modules/virus2/isolator.dm index 41e18e42faa..479b2c7b4d6 100644 --- a/code/modules/virus2/isolator.dm +++ b/code/modules/virus2/isolator.dm @@ -168,6 +168,7 @@ return 1 /obj/machinery/disease2/isolator/proc/print(var/mob/user) + playsound(loc, "sound/goonstation/machines/printer_dotmatrix.ogg", 50, 1) var/obj/item/weapon/paper/P = new /obj/item/weapon/paper(loc) switch (state) diff --git a/sound/goonstation/machines/ambicomp1.ogg b/sound/goonstation/machines/ambicomp1.ogg new file mode 100644 index 00000000000..524aaa432a3 Binary files /dev/null and b/sound/goonstation/machines/ambicomp1.ogg differ diff --git a/sound/goonstation/machines/ambicomp2.ogg b/sound/goonstation/machines/ambicomp2.ogg new file mode 100644 index 00000000000..66fc1e918f8 Binary files /dev/null and b/sound/goonstation/machines/ambicomp2.ogg differ diff --git a/sound/goonstation/machines/ambicomp3.ogg b/sound/goonstation/machines/ambicomp3.ogg new file mode 100644 index 00000000000..6c59e0e0d26 Binary files /dev/null and b/sound/goonstation/machines/ambicomp3.ogg differ diff --git a/sound/goonstation/machines/printer_dotmatrix.ogg b/sound/goonstation/machines/printer_dotmatrix.ogg new file mode 100644 index 00000000000..272a2dab226 Binary files /dev/null and b/sound/goonstation/machines/printer_dotmatrix.ogg differ diff --git a/sound/goonstation/machines/printer_thermal.ogg b/sound/goonstation/machines/printer_thermal.ogg new file mode 100644 index 00000000000..ca12dffa6f3 Binary files /dev/null and b/sound/goonstation/machines/printer_thermal.ogg differ