mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
Enforce minimum age limit across all characters
Synths could be any age.
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user