[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>
This commit is contained in:
SkyratBot
2023-07-09 13:00:01 -07:00
committed by GitHub
co-authored by Yaroslav Nurkov lessthanthree
parent 48a36a1e37
commit f10836e7e4
@@ -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