Skip to content

Commit

Permalink
Добавление звуков курице (#13625)
Browse files Browse the repository at this point in the history
* chiken_zvuk

* Update code/modules/mob/living/simple_animal/friendly/farm_animals.dm

Co-authored-by: KIBORG04 <bossmira4@gmail.com>

---------

Co-authored-by: KIBORG04 <bossmira4@gmail.com>
  • Loading branch information
Riverz1 and KIBORG04 authored Nov 12, 2024
1 parent 5d71002 commit 3ecad35
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ var/global/chicken_count = 0
return
if(stat == CONSCIOUS && prob(3) && eggsleft > 0)
visible_message("[src] [pick("откладывает яйца.","поднимает шумиху.","начинает хрипло кудахтать.")]")
playsound(src, 'sound/voice/chiken_egg.ogg', VOL_EFFECTS_MASTER)
eggsleft--
var/obj/item/weapon/reagent_containers/food/snacks/egg/E = new(get_turf(src))
E.pixel_x = rand(-6,6)
Expand All @@ -264,6 +265,8 @@ var/global/chicken_count = 0
if(loc == C.loc)
C.feed(src)
stop_automated_movement = FALSE
if(prob(15))
playsound(src, 'sound/voice/chiken_cluck.ogg', VOL_EFFECTS_MASTER, vary = TRUE, extrarange = -3)

/obj/item/weapon/reagent_containers/food/snacks/egg/var/amount_grown = 0
/obj/item/weapon/reagent_containers/food/snacks/egg/process()
Expand Down
Binary file added sound/voice/chiken_cluck.ogg
Binary file not shown.
Binary file added sound/voice/chiken_egg.ogg
Binary file not shown.

0 comments on commit 3ecad35

Please sign in to comment.