mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-28 11:11:52 +00:00
Ports the salute emote sound from CM-SS13 (#22017)
* Ports the salute emote sound from CM-SS13 * valid_shoes list * funny shoes sounds * Update code/modules/mob/living/carbon/human/human_emote.dm Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com> * Update code/modules/mob/living/carbon/human/human_emote.dm --------- Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
This commit is contained in:
@@ -220,6 +220,18 @@
|
||||
message = "salutes."
|
||||
message_param = "salutes to %t."
|
||||
hands_use_check = TRUE
|
||||
audio_cooldown = 3 SECONDS
|
||||
var/list/serious_shoes = list(/obj/item/clothing/shoes/jackboots, /obj/item/clothing/shoes/combat,
|
||||
/obj/item/clothing/shoes/centcom, /obj/item/clothing/shoes/laceup)
|
||||
var/list/funny_shoes = list(/obj/item/clothing/shoes/magboots/clown, /obj/item/clothing/shoes/clown_shoes,
|
||||
/obj/item/clothing/shoes/cursedclown, /obj/item/clothing/shoes/ducky)
|
||||
|
||||
/datum/emote/living/carbon/human/salute/get_sound(mob/living/user)
|
||||
var/mob/living/carbon/human/H = user
|
||||
if(is_type_in_list(H.shoes, serious_shoes))
|
||||
return 'sound/effects/salute.ogg'
|
||||
if(is_type_in_list(H.shoes, funny_shoes))
|
||||
return 'sound/items/toysqueak1.ogg'
|
||||
|
||||
/datum/emote/living/carbon/human/shrug
|
||||
key = "shrug"
|
||||
|
||||
Reference in New Issue
Block a user