Enforce minimum age limit across all characters

Synths could be any age.
This commit is contained in:
Arokha Sieyes
2018-06-12 19:34:31 -04:00
parent d669d8a97f
commit c60738b330
2 changed files with 8 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
//Minimum limit is 18
/datum/category_item/player_setup_item/get_min_age()
var/min_age = 18
var/datum/species/S = all_species[pref.species ? pref.species : "Human"]
if(!is_FBP() && S.min_age > 18)
min_age = S.min_age
return min_age