diff --git a/code/__DEFINES/footsteps.dm b/code/__DEFINES/footsteps.dm index a8a7ad975af..f3f26b66bfe 100644 --- a/code/__DEFINES/footsteps.dm +++ b/code/__DEFINES/footsteps.dm @@ -28,6 +28,7 @@ #define FOOTSTEP_MOB_RUST "footstep_rust" #define FOOTSTEP_OBJ_MACHINE "footstep_machine" #define FOOTSTEP_OBJ_ROBOT "footstep_robot" +#define FOOTSTEP_OBJ_CYBORG_TRACK "footstep_cyborg_track" //priority defines for the footstep_override element #define STEP_SOUND_NO_PRIORITY 0 diff --git a/code/datums/elements/footstep.dm b/code/datums/elements/footstep.dm index a162e58752d..c515a57e1b6 100644 --- a/code/datums/elements/footstep.dm +++ b/code/datums/elements/footstep.dm @@ -48,6 +48,10 @@ footstep_sounds = 'sound/effects/bang.ogg' RegisterSignal(target, COMSIG_MOVABLE_MOVED, PROC_REF(play_simplestep_machine)) return + if(FOOTSTEP_OBJ_CYBORG_TRACK) + footstep_sounds = 'sound/effects/footstep/cyborg_track.ogg' + RegisterSignal(target, COMSIG_MOVABLE_MOVED, PROC_REF(play_simplestep_machine)) + return if(FOOTSTEP_OBJ_ROBOT) footstep_sounds = 'sound/effects/tank_treads.ogg' RegisterSignal(target, COMSIG_MOVABLE_MOVED, PROC_REF(play_simplestep_machine)) diff --git a/code/modules/mob/living/silicon/robot/robot.dm b/code/modules/mob/living/silicon/robot/robot.dm index d3ff4ee9508..4a00b75b3e9 100644 --- a/code/modules/mob/living/silicon/robot/robot.dm +++ b/code/modules/mob/living/silicon/robot/robot.dm @@ -16,6 +16,7 @@ set_wires(new /datum/wires/robot(src)) AddElement(/datum/element/empprotection, EMP_PROTECT_WIRES) + AddElement(/datum/element/footstep, footstep_type = FOOTSTEP_OBJ_CYBORG_TRACK) AddElement(/datum/element/ridable, /datum/component/riding/creature/cyborg) RegisterSignal(src, COMSIG_PROCESS_BORGCHARGER_OCCUPANT, PROC_REF(charge)) RegisterSignal(src, COMSIG_LIGHT_EATER_ACT, PROC_REF(on_light_eater)) diff --git a/sound/attributions.txt b/sound/attributions.txt index be8df17c535..db8dc5cfd5f 100644 --- a/sound/attributions.txt +++ b/sound/attributions.txt @@ -147,3 +147,9 @@ https://freesound.org/people/gynation/sounds/82378/ nightmare_poof.ogg and nightmare_reappear.ogg are comprised of breath_01.wav by Nightflame (CC0) and slide-click.wav by Qat (CC0) https://freesound.org/people/Qat/sounds/108332/ https://freesound.org/people/Nightflame/sounds/368615/ + +cyborg_track.ogg is made by grungussuss From the following sounds: https://freesound.org/people/Ubehag/sounds/235350/ ; https://freesound.org/people/walthamstow_walker/sounds/559491/ ; https://freesound.org/people/Artninja/sounds/701459/ ; https://freesound.org/people/Garuda1982/sounds/541240/ +under this license: https://creativecommons.org/licenses/by/4.0/ + + + diff --git a/sound/effects/footstep/cyborg_track.ogg b/sound/effects/footstep/cyborg_track.ogg new file mode 100644 index 00000000000..4533745e2ae Binary files /dev/null and b/sound/effects/footstep/cyborg_track.ogg differ