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:
Poojawa
2017-02-07 10:36:32 -06:00
committed by GitHub
parent cdea2c6766
commit 356abcd2e5
10 changed files with 89 additions and 99 deletions
+5 -1
View File
@@ -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)