mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-28 22:47:59 +01:00
Implements PDA Beeping (#15616)
This commit is contained in:
@@ -16,6 +16,9 @@
|
||||
if(..())
|
||||
return
|
||||
|
||||
if(!pda.silent)
|
||||
playsound(pda, 'sound/machines/terminal_select.ogg', 15, TRUE)
|
||||
|
||||
. = TRUE
|
||||
switch(action)
|
||||
if("Status")
|
||||
@@ -78,6 +81,9 @@
|
||||
|
||||
. = TRUE
|
||||
|
||||
if(!pda.silent)
|
||||
playsound(pda, 'sound/machines/terminal_select.ogg', 15, TRUE)
|
||||
|
||||
if(pda.cartridge && istype(pda.cartridge.radio, /obj/item/integrated_radio/signal))
|
||||
var/obj/item/integrated_radio/signal/R = pda.cartridge.radio
|
||||
|
||||
@@ -110,6 +116,9 @@
|
||||
if(..())
|
||||
return
|
||||
|
||||
if(!pda.silent)
|
||||
playsound(pda, 'sound/machines/terminal_select.ogg', 15, TRUE)
|
||||
|
||||
. = TRUE
|
||||
// Observe
|
||||
pm.ui_act(action, params, ui, state)
|
||||
@@ -139,6 +148,9 @@
|
||||
|
||||
. = TRUE
|
||||
|
||||
if(!pda.silent)
|
||||
playsound(pda, 'sound/machines/terminal_select.ogg', 15, TRUE)
|
||||
|
||||
switch(action)
|
||||
if("Records")
|
||||
var/datum/data/record/R = locateUID(params["target"])
|
||||
@@ -252,6 +264,9 @@
|
||||
if(..())
|
||||
return
|
||||
|
||||
if(!pda.silent)
|
||||
playsound(pda, 'sound/machines/terminal_select.ogg', 15, TRUE)
|
||||
|
||||
. = TRUE
|
||||
|
||||
// Aight listen up. Its time for a comment rant again.
|
||||
@@ -333,6 +348,9 @@
|
||||
if(..())
|
||||
return
|
||||
|
||||
if(!pda.silent)
|
||||
playsound(pda, 'sound/machines/terminal_select.ogg', 15, TRUE)
|
||||
|
||||
. = TRUE
|
||||
|
||||
// Heres the exact same shit as before, but worse
|
||||
|
||||
Reference in New Issue
Block a user