From d14efe65fbe3eff1621c1a0b0b9aa3461ebb3263 Mon Sep 17 00:00:00 2001 From: Tom <8881105+tf-4@users.noreply.github.com> Date: Wed, 3 Aug 2022 01:36:13 +0100 Subject: [PATCH] Locks *flip to freerunning quirk (#15050) * locks *flip to freerunning quirk * quirk description * remove non modular edit --- modular_skyrat/modules/emotes/code/emotes.dm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/modular_skyrat/modules/emotes/code/emotes.dm b/modular_skyrat/modules/emotes/code/emotes.dm index 9daed0d2b75..d37956cc9d7 100644 --- a/modular_skyrat/modules/emotes/code/emotes.dm +++ b/modular_skyrat/modules/emotes/code/emotes.dm @@ -52,6 +52,12 @@ return 'modular_skyrat/modules/emotes/sound/emotes/female/female_sneeze.ogg' return +/datum/emote/flip/can_run_emote(mob/user, status_check, intentional) + if(!HAS_TRAIT(user, TRAIT_FREERUNNING)) + user.balloon_alert(user, "not nimble enough!") + return FALSE + return ..() + /datum/emote/living/peep key = "peep" key_third_person = "peeps" @@ -504,7 +510,7 @@ emote_type = EMOTE_AUDIBLE vary = TRUE sound = 'modular_skyrat/modules/emotes/sound/voice/goose_honk.ogg' - + /datum/emote/living/gnash key = "gnash" key_third_person = "gnashes"