- Changed all "male" and "female" assignments to use the constants MALE and FEMALE.

- Added a message_admins() message which is sent if a character setup mismatch is detected to help diagnose the problem.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4496 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
baloh.matevz
2012-08-19 17:56:51 +00:00
parent 94111f5255
commit 44fb70ffd4
12 changed files with 27 additions and 19 deletions
+2 -2
View File
@@ -360,9 +360,9 @@
/proc/NukeNameAssign(var/lastname,var/list/syndicates)
for(var/datum/mind/synd_mind in syndicates)
switch(synd_mind.current.gender)
if("male")
if(MALE)
synd_mind.name = "[pick(first_names_male)] [lastname]"
if("female")
if(FEMALE)
synd_mind.name = "[pick(first_names_female)] [lastname]"
synd_mind.current.real_name = synd_mind.name
return
+3 -1
View File
@@ -906,7 +906,9 @@ obj/machinery/hydroponics/attackby(var/obj/item/O as obj, var/mob/user as mob)
// -- End mode specific stuff
podman.gender = gender
podman.gender = ghost.gender
if(podman.gender in list(NEUTER, PLURAL)) //Sanity check, which should never actually happen.
podman.gender = pick(MALE,FEMALE)
if(!podman.dna)
podman.dna = new /datum/dna()
+1 -1
View File
@@ -29,7 +29,7 @@
dat += "<TT>Connection severed.</TT><BR>"
else
var/honorific = "Mr."
if(user.gender == "female")
if(user.gender == FEMALE)
honorific = "Ms."
dat += "<font color=red><i>Identity not found in operative database. What can the Syndicate do for you today, [honorific] [user.name]?</i></font><br>"
if(!selfdestructing)