Merge pull request #15626 from SandPoot/emotes

Minor touches on emotes
This commit is contained in:
Lin
2022-05-18 03:27:08 +00:00
committed by GitHub
4 changed files with 37 additions and 17 deletions
+2
View File
@@ -518,6 +518,8 @@
/datum/emote/living/circle/run_emote(mob/user, params)
. = ..()
if(!.)
return
var/obj/item/circlegame/N = new(user)
if(user.put_in_hands(N))
to_chat(user, "<span class='notice'>You make a circle with your hand.</span>")
@@ -8,7 +8,7 @@
var/unrestricted = TRUE
/datum/emote/sound/silicon/run_emote(mob/user, params)
if(!unrestricted && !(issilicon(user) || isipcperson(user)))
if(!unrestricted && !(issilicon(user) || isrobotic(user)))
return
return ..()
@@ -27,6 +27,8 @@
/datum/emote/slime/mood/run_emote(mob/user, params)
. = ..()
if(!.)
return
var/mob/living/simple_animal/slime/S = user
S.mood = mood
S.regenerate_icons()
+32 -16
View File
@@ -77,7 +77,8 @@
restraint_check = TRUE
/datum/emote/living/snap/run_emote(mob/living/user, params)
if(!(. = ..()))
. = ..()
if(!.)
return
if(user.nextsoundemote >= world.time)
return
@@ -93,7 +94,8 @@
restraint_check = TRUE
/datum/emote/living/snap2/run_emote(mob/living/user, params)
if(!(. = ..()))
. = ..()
if(!.)
return
if(user.nextsoundemote >= world.time)
return
@@ -109,7 +111,8 @@
restraint_check = TRUE
/datum/emote/living/snap3/run_emote(mob/living/user, params)
if(!(. = ..()))
. = ..()
if(!.)
return
if(user.nextsoundemote >= world.time)
return
@@ -125,7 +128,8 @@
restraint_check = FALSE
/datum/emote/living/awoo/run_emote(mob/living/user, params)
if(!(. = ..()))
. = ..()
if(!.)
return
if(user.nextsoundemote >= world.time)
return
@@ -141,7 +145,8 @@
restraint_check = FALSE
/datum/emote/living/hiss/run_emote(mob/living/user, params)
if(!(. = ..()))
. = ..()
if(!.)
return
if(user.nextsoundemote >= world.time)
return
@@ -157,7 +162,8 @@
restraint_check = FALSE
/datum/emote/living/meow/run_emote(mob/living/user, params)
if(!(. = ..()))
. = ..()
if(!.)
return
if(user.nextsoundemote >= world.time)
return
@@ -173,7 +179,8 @@
restraint_check = FALSE
/datum/emote/living/purr/run_emote(mob/living/user, params)
if(!(. = ..()))
. = ..()
if(!.)
return
if(user.nextsoundemote >= world.time)
return
@@ -189,7 +196,8 @@
restraint_check = FALSE
/datum/emote/living/nya/run_emote(mob/living/user, params)
if(!(. = ..()))
. = ..()
if(!.)
return
if(user.nextsoundemote >= world.time)
return
@@ -205,7 +213,8 @@
restraint_check = FALSE
/datum/emote/living/weh/run_emote(mob/living/user, params)
if(!(. = ..()))
. = ..()
if(!.)
return
if(user.nextsoundemote >= world.time)
return
@@ -221,7 +230,8 @@
restraint_check = FALSE
/datum/emote/living/peep/run_emote(mob/living/user, params)
if(!(. = ..()))
. = ..()
if(!.)
return
if(user.nextsoundemote >= world.time)
return
@@ -244,7 +254,8 @@
restraint_check = FALSE
/datum/emote/living/mothsqueak/run_emote(mob/living/user, params)
if(!(. = ..()))
. = ..()
if(!.)
return
if(user.nextsoundemote >= world.time)
return
@@ -260,7 +271,8 @@
restraint_check = FALSE
/datum/emote/living/merp/run_emote(mob/living/user, params)
if(!(. = ..()))
. = ..()
if(!.)
return
if(user.nextsoundemote >= world.time)
return
@@ -276,7 +288,8 @@
restraint_check = FALSE
/datum/emote/living/bark/run_emote(mob/living/user, params)
if(!(. = ..()))
. = ..()
if(!.)
return
if(user.nextsoundemote >= world.time)
return
@@ -293,7 +306,8 @@
restraint_check = FALSE
/datum/emote/living/squish/run_emote(mob/living/user, params)
if(!(. = ..()))
. = ..()
if(!.)
return
if(user.nextsoundemote >= world.time)
return
@@ -310,7 +324,8 @@
restraint_check = FALSE
/datum/emote/living/pain/run_emote(mob/living/user, params)
if(!(. = ..()))
. = ..()
if(!.)
return
if(user.nextsoundemote >= world.time)
return
@@ -331,6 +346,7 @@
restraint_check = TRUE
/datum/emote/living/clap1/run_emote(mob/living/user, params)
if(!(. = ..()))
. = ..()
if(!.)
return
playsound(user, 'modular_citadel/sound/voice/clap.ogg', 50, 1, -1)