From f10836e7e47f16e0ba4d7f0c795b71efe4e6cd2b Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Sun, 9 Jul 2023 22:00:01 +0200 Subject: [PATCH] [MIRROR] Job age restriction reason [MDB IGNORE] (#22263) * Job age restriction reason (#76540) Just adds a reason to know why are you cant join on this job. * Job age restriction reason --------- Co-authored-by: Yaroslav Nurkov <78199449+AnywayFarus@users.noreply.github.com> Co-authored-by: lessthanthree <83487515+lessthnthree@users.noreply.github.com> --- code/modules/mob/dead/new_player/new_player.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/modules/mob/dead/new_player/new_player.dm b/code/modules/mob/dead/new_player/new_player.dm index 848848fa795..16e22f8795f 100644 --- a/code/modules/mob/dead/new_player/new_player.dm +++ b/code/modules/mob/dead/new_player/new_player.dm @@ -131,6 +131,8 @@ //SKYRAT EDIT END if(JOB_UNAVAILABLE_ANTAG_INCOMPAT) return "[jobtitle] is not compatible with some antagonist role assigned to you." + if(JOB_UNAVAILABLE_AGE) + return "Your character is not old enough for [jobtitle]." return GENERIC_JOB_UNAVAILABLE_ERROR