Species whitelist (#206)
* Body markings General Species because I give up trying to make each of them species-specific. * SAVE FILE UPDATE * whitelist work * updated sprites to reflect new species settings * It's just whitelist stuff broke as shit now * additional sprite work
This commit is contained in:
@@ -1062,7 +1062,11 @@ var/list/preferences_datums = list()
|
||||
eye_color = sanitize_hexcolor(new_eyes)
|
||||
|
||||
if("species")
|
||||
|
||||
/* for(var/spath in subtypesof(/datum/species))
|
||||
var/datum/species/S = new spath()
|
||||
var/list/wlist = S.whitelist
|
||||
if(S.whitelisted && (wlist.Find(user.ckey) || wlist.Find(user.key) || user.client.holder)) //If your ckey is on the species whitelist or you're an admin:)
|
||||
roundstart_species[S.id] = S */
|
||||
var/result = input(user, "Select a species", "Species Selection") as null|anything in roundstart_species
|
||||
|
||||
if(result)
|
||||
|
||||
Reference in New Issue
Block a user