Cyborg Footsteps (#19564)

* Cyborg Footsteps

* edits

* Update footstep.dm

* Apply suggestion from @Cameron-The-Raven

---------

Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
Zerum
2026-07-02 23:00:47 -04:00
committed by GitHub
co-authored by Cameron Lennox
parent cf14d3206d
commit f6529f0eb4
4 changed files with 48 additions and 11 deletions
@@ -523,6 +523,14 @@
to_chat(src, span_filter_notice("You harmlessly spark."))
spark_system.start()
/mob/living/silicon/robot/verb/set_footstep() //Verb for borgs to change their footstep sound.
set category = "Abilities.Settings"
set name = "Adjust Footstep Sound"
var/selected_footstep = tgui_input_list(src, "Select a footstep sound.", "Footstep Sound", GLOB.selectable_footstep)
if(!(selected_footstep in GLOB.selectable_footstep))
return
custom_footstep = GLOB.selectable_footstep[selected_footstep]
///Essentially, a Activate Held Object mode for borgs that acts just like pressing Z in hotkey mode but also works well with multibelts.
/mob/living/silicon/robot/verb/alt_mode()
set name = "Robot Activate Held Object"
+1 -1
View File
@@ -39,7 +39,7 @@
apply_default_language(GLOB.all_languages[LANGUAGE_GALCOM])
init_subsystems()
AddElement(/datum/element/footstep, FOOTSTEP_MOB_SHOE, 1, -6)
AddElement(/datum/element/footstep, custom_footstep, 1, -6)
/mob/living/silicon/Destroy()
common_radio = null // same ref as radio, deleted by child
+1
View File
@@ -184,6 +184,7 @@
O.resize(B.size_multiplier, animate = TRUE, ignore_prefs = TRUE)
O.fuzzy = B.fuzzy
O.custom_speech_bubble = B.custom_speech_bubble
O.custom_footstep = B.custom_footstep
SEND_GLOBAL_SIGNAL(COMSIG_GLOB_BORGIFY, O)