diff --git a/code/__DEFINES/sound.dm b/code/__DEFINES/sound.dm index b1b536a7133..9593c951e29 100644 --- a/code/__DEFINES/sound.dm +++ b/code/__DEFINES/sound.dm @@ -310,6 +310,8 @@ GLOBAL_LIST_EMPTY(sfx_datum_by_key) #define SFX_ROLLING_PIN_DROP "rolling_pin_drop" #define SFX_ROLLING_PIN_ROLLING "rolling_pin_rolling" #define SFX_FIRE_MODE_SWITCH "fire_mode_switch" +#define SFX_REMOTE_MODE_SWITCH "remote_mode_switch" +#define SFX_REMOTE_ACTION "remote_action" // Standard is 44.1khz #define MIN_EMOTE_PITCH 40000 diff --git a/code/game/objects/items/control_wand.dm b/code/game/objects/items/control_wand.dm index 5188bbb0d34..cea7044427e 100644 --- a/code/game/objects/items/control_wand.dm +++ b/code/game/objects/items/control_wand.dm @@ -14,6 +14,8 @@ name = "control wand" desc = "A remote for controlling a set of airlocks." w_class = WEIGHT_CLASS_TINY + drop_sound = 'sound/items/door_remote/door_remote_drop1.ogg' + pickup_sound = 'sound/items/door_remote/door_remote_pick_up1.ogg' var/department = "civilian" var/mode = WAND_OPEN @@ -34,6 +36,10 @@ /area/station/ai_monitored/turret_protected/ai_upload, // their doors with our several dozen access helpers ) COOLDOWN_DECLARE(shock_cooldown) + /// sound played when mode is switched + var/mode_switch_sound = SFX_REMOTE_MODE_SWITCH + /// sound played when an action is done + var/action_sound = SFX_REMOTE_ACTION /obj/item/door_remote/Initialize(mapload) . = ..() @@ -80,6 +86,8 @@ mode = WAND_OPEN update_icon_state() balloon_alert(user, "mode: [ops[mode]]") + if(mode_switch_sound) + playsound(src, mode_switch_sound, 50, TRUE) /obj/item/door_remote/interact_with_atom(atom/interacting_with, mob/living/user, list/modifiers) if(!istype(interacting_with, /obj/machinery/door) && !isturf(interacting_with)) @@ -159,6 +167,8 @@ /obj/item/door_remote/ranged_interact_with_atom(atom/interacting_with, mob/living/user, list/modifiers) var/obj/machinery/door/door + if(action_sound) + playsound(src, action_sound, 50, TRUE) if (istype(interacting_with, /obj/machinery/door)) door = interacting_with diff --git a/code/game/sound/sound_keys/sound_keys.dm b/code/game/sound/sound_keys/sound_keys.dm index c88f073ccf2..b9df8821c1d 100644 --- a/code/game/sound/sound_keys/sound_keys.dm +++ b/code/game/sound/sound_keys/sound_keys.dm @@ -1049,3 +1049,19 @@ 'sound/items/weapons/gun_mode_switch1.ogg', ) + +/datum/sound_effect/remote_mode_switch + key = SFX_REMOTE_MODE_SWITCH + file_paths = list( + 'sound/items/door_remote/door_remote_switch1.ogg', + 'sound/items/door_remote/door_remote_switch2.ogg', + 'sound/items/door_remote/door_remote_switch3.ogg', + ) + +/datum/sound_effect/remote_action + key = SFX_REMOTE_ACTION + file_paths = list( + 'sound/items/door_remote/door_remote_action1.ogg', + 'sound/items/door_remote/door_remote_action2.ogg', + ) + diff --git a/sound/items/door_remote/attribution.txt b/sound/items/door_remote/attribution.txt new file mode 100644 index 00000000000..ceb5e3f219d --- /dev/null +++ b/sound/items/door_remote/attribution.txt @@ -0,0 +1 @@ +door_remote sounds made by grungussuss, license: CC-BY-SA \ No newline at end of file diff --git a/sound/items/door_remote/door_remote_action1.ogg b/sound/items/door_remote/door_remote_action1.ogg new file mode 100644 index 00000000000..6cd569e9c36 Binary files /dev/null and b/sound/items/door_remote/door_remote_action1.ogg differ diff --git a/sound/items/door_remote/door_remote_action2.ogg b/sound/items/door_remote/door_remote_action2.ogg new file mode 100644 index 00000000000..7f8b97b6b76 Binary files /dev/null and b/sound/items/door_remote/door_remote_action2.ogg differ diff --git a/sound/items/door_remote/door_remote_drop1.ogg b/sound/items/door_remote/door_remote_drop1.ogg new file mode 100644 index 00000000000..7286edb89ad Binary files /dev/null and b/sound/items/door_remote/door_remote_drop1.ogg differ diff --git a/sound/items/door_remote/door_remote_pick_up1.ogg b/sound/items/door_remote/door_remote_pick_up1.ogg new file mode 100644 index 00000000000..906ec4bcc79 Binary files /dev/null and b/sound/items/door_remote/door_remote_pick_up1.ogg differ diff --git a/sound/items/door_remote/door_remote_switch1.ogg b/sound/items/door_remote/door_remote_switch1.ogg new file mode 100644 index 00000000000..044674113e5 Binary files /dev/null and b/sound/items/door_remote/door_remote_switch1.ogg differ diff --git a/sound/items/door_remote/door_remote_switch2.ogg b/sound/items/door_remote/door_remote_switch2.ogg new file mode 100644 index 00000000000..e8bc9c11196 Binary files /dev/null and b/sound/items/door_remote/door_remote_switch2.ogg differ diff --git a/sound/items/door_remote/door_remote_switch3.ogg b/sound/items/door_remote/door_remote_switch3.ogg new file mode 100644 index 00000000000..c8311ad8b27 Binary files /dev/null and b/sound/items/door_remote/door_remote_switch3.ogg differ