mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 19:44:09 +01:00
- 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:
@@ -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
|
||||
@@ -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()
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user