diff --git a/code/modules/emotes/definitions/exertion.dm b/code/modules/emotes/definitions/exertion.dm index 9d85bbb39a5..ac0061cca32 100644 --- a/code/modules/emotes/definitions/exertion.dm +++ b/code/modules/emotes/definitions/exertion.dm @@ -5,7 +5,7 @@ emote_message_3p = "is sweating heavily." /decl/emote/exertion/biological/check_user(mob/living/user) - if(istype(user) && !user.isSynthetic(skip_emote_update = TRUE)) + if(istype(user) && !user.isSynthetic()) return ..() return FALSE @@ -30,7 +30,7 @@ emote_message_3p = "USER's actuators whine with strain." /decl/emote/exertion/synthetic/check_user(mob/living/user) - if(istype(user) && user.isSynthetic(skip_emote_update = TRUE)) + if(istype(user) && user.isSynthetic()) return ..() return FALSE diff --git a/code/modules/emotes/definitions/human.dm b/code/modules/emotes/definitions/human.dm index 182e8df51ab..982e472c5f2 100644 --- a/code/modules/emotes/definitions/human.dm +++ b/code/modules/emotes/definitions/human.dm @@ -1,5 +1,11 @@ +/decl/emote/human + key = "vomit" + /decl/emote/human/check_user(var/mob/living/carbon/human/user) - return istype(user) + return (istype(user))//VOREStation Edit - What does a mouth have to do with wagging?? && user.check_has_mouth() && !user.isSynthetic()) + +/decl/emote/human/do_emote(var/mob/living/carbon/human/user) + user.vomit() /decl/emote/human/deathgasp key = "deathgasp" diff --git a/code/modules/emotes/definitions/synthetics.dm b/code/modules/emotes/definitions/synthetics.dm index 659a1eff442..2e31a07f8fd 100644 --- a/code/modules/emotes/definitions/synthetics.dm +++ b/code/modules/emotes/definitions/synthetics.dm @@ -4,7 +4,7 @@ emote_sound = 'sound/machines/twobeep.ogg' /decl/emote/audible/synth/check_user(var/mob/living/user) - if(istype(user) && user.isSynthetic(skip_emote_update = TRUE)) + if(istype(user) && user.isSynthetic()) return ..() return FALSE diff --git a/code/modules/emotes/definitions/visible_vomit.dm b/code/modules/emotes/definitions/visible_vomit.dm index f60522eeeba..1ec79dea6a9 100644 --- a/code/modules/emotes/definitions/visible_vomit.dm +++ b/code/modules/emotes/definitions/visible_vomit.dm @@ -4,7 +4,7 @@ /decl/emote/visible/vomit/do_emote(var/atom/user, var/extra_params) if(isliving(user)) var/mob/living/M = user - if(!M.isSynthetic(skip_emote_update = TRUE)) + if(!M.isSynthetic()) M.vomit() return to_chat(src, SPAN_WARNING("You are unable to vomit.")) diff --git a/code/modules/emotes/emote_define.dm b/code/modules/emotes/emote_define.dm index 2d311f2ceb6..845a5202d31 100644 --- a/code/modules/emotes/emote_define.dm +++ b/code/modules/emotes/emote_define.dm @@ -172,7 +172,7 @@ return key /decl/emote/proc/check_synthetic(var/mob/living/user) - . = istype(user) && user.isSynthetic(skip_emote_update = TRUE) + . = istype(user) && user.isSynthetic() if(!. && ishuman(user) && message_type == AUDIBLE_MESSAGE) var/mob/living/carbon/human/H = user if(H.should_have_organ(O_LUNGS)) diff --git a/code/modules/mob/living/bot/bot.dm b/code/modules/mob/living/bot/bot.dm index 12b3856df5d..30ff2c1d2c4 100644 --- a/code/modules/mob/living/bot/bot.dm +++ b/code/modules/mob/living/bot/bot.dm @@ -441,5 +441,5 @@ return 0 -/mob/living/bot/isSynthetic(var/skip_emote_update) //Robots are synthetic, no? +/mob/living/bot/isSynthetic() //Robots are synthetic, no? return 1 diff --git a/code/modules/mob/living/carbon/brain/brain.dm b/code/modules/mob/living/carbon/brain/brain.dm index fff4159f9b1..89ff4151fb9 100644 --- a/code/modules/mob/living/carbon/brain/brain.dm +++ b/code/modules/mob/living/carbon/brain/brain.dm @@ -42,7 +42,7 @@ canmove = 0 return canmove -/mob/living/carbon/brain/isSynthetic(var/skip_emote_update) +/mob/living/carbon/brain/isSynthetic() return istype(loc, /obj/item/device/mmi) /mob/living/carbon/brain/set_typing_indicator(var/state) diff --git a/code/modules/mob/living/carbon/human/emote.dm b/code/modules/mob/living/carbon/human/emote.dm index 794f0f13084..a705f034506 100644 --- a/code/modules/mob/living/carbon/human/emote.dm +++ b/code/modules/mob/living/carbon/human/emote.dm @@ -33,6 +33,7 @@ var/list/_human_default_emotes = list( /decl/emote/audible/grunt, /decl/emote/audible/slap, /decl/emote/audible/crack, + /decl/emote/human, /decl/emote/human/deathgasp, /decl/emote/audible/giggle, /decl/emote/audible/scream, diff --git a/code/modules/mob/living/carbon/human/human_helpers.dm b/code/modules/mob/living/carbon/human/human_helpers.dm index ca924ee3789..c0360d3297a 100644 --- a/code/modules/mob/living/carbon/human/human_helpers.dm +++ b/code/modules/mob/living/carbon/human/human_helpers.dm @@ -97,7 +97,7 @@ // This is the 'mechanical' check for synthetic-ness, not appearance // Returns the company that made the synthetic -/mob/living/carbon/human/isSynthetic(var/skip_emote_update) +/mob/living/carbon/human/isSynthetic() if(synthetic) return synthetic //Your synthetic-ness is not going away var/obj/item/organ/external/T = organs_by_name[BP_TORSO] @@ -107,8 +107,7 @@ src.verbs += /mob/living/carbon/human/proc/setmonitor_state var/datum/robolimb/R = all_robolimbs[T.model] synthetic = R - if(!skip_emote_update) - update_emotes() + update_emotes() return synthetic return FALSE diff --git a/code/modules/mob/living/simple_mob/subtypes/mechanical/mechanical.dm b/code/modules/mob/living/simple_mob/subtypes/mechanical/mechanical.dm index beba4b35fc2..f61212ba758 100644 --- a/code/modules/mob/living/simple_mob/subtypes/mechanical/mechanical.dm +++ b/code/modules/mob/living/simple_mob/subtypes/mechanical/mechanical.dm @@ -18,7 +18,7 @@ poison_resist = 1.0 shock_resist = -0.5 -/mob/living/simple_mob/mechanical/isSynthetic(var/skip_emote_update) +/mob/living/simple_mob/mechanical/isSynthetic() return TRUE /mob/living/simple_mob/mechanical/speech_bubble_appearance() diff --git a/code/modules/mob/mob.dm b/code/modules/mob/mob.dm index 177f4fb1294..c41691a8575 100644 --- a/code/modules/mob/mob.dm +++ b/code/modules/mob/mob.dm @@ -1072,7 +1072,7 @@ mob/verb/shifteast() if(src.throw_icon) src.throw_icon.icon_state = "act_throw_on" -/mob/proc/isSynthetic(var/skip_emote_update) +/mob/proc/isSynthetic() return 0 /mob/proc/is_muzzled() diff --git a/code/modules/mob/mob_helpers.dm b/code/modules/mob/mob_helpers.dm index 025bcafef76..7c1034a77d1 100644 --- a/code/modules/mob/mob_helpers.dm +++ b/code/modules/mob/mob_helpers.dm @@ -33,7 +33,7 @@ return L.mob_size <= MOB_MINISCULE return 0 -/mob/living/silicon/isSynthetic(var/skip_emote_update) +/mob/living/silicon/isSynthetic() return 1 /mob/proc/isMonkey()