diff --git a/code/modules/mob/living/carbon/carbon_emote.dm b/code/modules/mob/living/carbon/carbon_emote.dm index 798459b90ca..364a08bc701 100644 --- a/code/modules/mob/living/carbon/carbon_emote.dm +++ b/code/modules/mob/living/carbon/carbon_emote.dm @@ -140,8 +140,6 @@ message = "signs." message_param = "signs the number %t." param_desc = "number(0-10)" - // Humans get their own proc since they have fingers - mob_type_blacklist_typecache = list(/mob/living/carbon/human) hands_use_check = TRUE target_behavior = EMOTE_TARGET_BHVR_NUM diff --git a/code/modules/mob/living/carbon/human/human_emote.dm b/code/modules/mob/living/carbon/human/human_emote.dm index 39c02b505d7..1c1c9cd5240 100644 --- a/code/modules/mob/living/carbon/human/human_emote.dm +++ b/code/modules/mob/living/carbon/human/human_emote.dm @@ -513,6 +513,19 @@ message_param = "raises %t fingers." mob_type_allowed_typecache = list(/mob/living/carbon/human) +/datum/emote/living/carbon/sign/signal/run_emote(mob/user, params, type_override, intentional) + var/fingers = round(text2num(params), 1) + + if(fingers > 10) + to_chat(user, "You don't have enough fingers!") + return TRUE + else if(fingers < 0) + to_chat(user, "You're not entirely sure how to raise negative fingers.") + return TRUE + + params = fingers + return ..() + ///////// // Species-specific emotes