Skip to content

Commit

Permalink
add: [april fools] sound for button and mech toys (#6344)
Browse files Browse the repository at this point in the history
Кто сделал игрушку меха с спрайтом, когда игрушки уже были?
  • Loading branch information
FlitchTime authored Jan 16, 2025
1 parent ddfd88b commit 95abf12
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 1 deletion.
2 changes: 1 addition & 1 deletion code/game/machinery/door_control.dm
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@
if(!allowed(user) && !user.can_advanced_admin_interact())
to_chat(user, span_warning("Access Denied."))
flick("[base_icon_state]-denied",src)
playsound(src, pick('sound/machines/button.ogg', 'sound/machines/button_alternate.ogg', 'sound/machines/button_meloboom.ogg'), 20)
playsound(src, pick('sound/machines/button.ogg', 'sound/machines/button_alternate.ogg', 'sound/machines/button_meloboom.ogg', 'sound/aprilShit/buttonBlyat.ogg'), 20)
return

use_power(5)
Expand Down
20 changes: 20 additions & 0 deletions code/game/objects/items/toys.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1553,6 +1553,26 @@
playsound(user, 'sound/items/beaver_plushie.ogg', 50, FALSE)
COOLDOWN_START(src, cooldown, 3 SECONDS)


/obj/item/toy/plushie/mech
name = "small mech toy"
desc = "Маленький мех. Держа его в руках у вас появляется желание оплатить премиум."
icon = 'icons/obj/toy.dmi'
icon_state = "mech"
w_class = WEIGHT_CLASS_SMALL
gender = MALE

/obj/item/toy/plushie/mech/sounded //only adminspawn
desc = "Маленький мех. Кажется тут имеется агресивная реклама прямо с поля боя."
COOLDOWN_DECLARE(cooldown)

/obj/item/toy/plushie/mech/sounded/attack_self(mob/user)
. = ..()
if(. || !COOLDOWN_FINISHED(src, cooldown))
return .
playsound(user, 'sound/aprilShit/WT.ogg', 50, FALSE)
COOLDOWN_START(src, cooldown, 15 SECONDS)

/*
* Foam Armblade
*/
Expand Down
Binary file modified icons/obj/toy.dmi
Binary file not shown.
Binary file added sound/aprilShit/WT.ogg
Binary file not shown.
Binary file added sound/aprilShit/buttonBlyat.ogg
Binary file not shown.

0 comments on commit 95abf12

Please sign in to comment.