Skip to content

Commit

Permalink
Добавлены звуки при ремонте боргов (#13624)
Browse files Browse the repository at this point in the history
* Host

* Host

* Revert "Host"

This reverts commit 4324e44.

* Revert "Host"

This reverts commit ee6ffb0.

* zvuk_robot
  • Loading branch information
Riverz1 authored Nov 12, 2024
1 parent 3ecad35 commit 0133169
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/modules/mob/living/silicon/robot/robot.dm
Original file line number Diff line number Diff line change
Expand Up @@ -621,6 +621,7 @@
C.electronics_damage = WC.burn

to_chat(usr, "<span class='notice'>You install the [W.name].</span>")
playsound(src, 'sound/items/insert_key.ogg', VOL_EFFECTS_MASTER, 35)

return

Expand Down Expand Up @@ -696,6 +697,7 @@
var/datum/robot_component/C = components[remove]
var/obj/item/robot_parts/robot_component/I = C.wrapped
to_chat(user, "You remove \the [I].")
playsound(src, 'sound/items/remove.ogg', VOL_EFFECTS_MASTER, 75)
if(istype(I))
I.brute = C.brute_damage
I.burn = C.electronics_damage
Expand Down
Binary file added sound/items/remove.ogg
Binary file not shown.

0 comments on commit 0133169

Please sign in to comment.