mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-05-14 10:51:29 +01:00
c6f10bfeb3
* First test batch bulk change * remove desync'd old file * Small change
9 lines
305 B
Plaintext
9 lines
305 B
Plaintext
//Minimum limit is 18
|
|
/datum/category_item/player_setup_item/get_min_age()
|
|
var/min_age = 18
|
|
var/pref_species = pref.read_preference(/datum/preference/choiced/species) || "Human"
|
|
var/datum/species/S = GLOB.all_species[pref_species]
|
|
if(!is_FBP() && S.min_age > 18)
|
|
min_age = S.min_age
|
|
return min_age
|