Random Names for Lizards

Lizards now have their own list of names to pull from when randomizing their names.
This commit is contained in:
Ikarrus
2015-07-05 18:35:56 -06:00
parent e55c665c43
commit b0cfaf401f
16 changed files with 489 additions and 34 deletions
+12 -3
View File
@@ -111,7 +111,10 @@ var/global/list/special_roles = list( //keep synced with the defines BE_* in set
return
//we couldn't load character data so just randomize the character appearance + name
random_character() //let's create a random character then - rather than a fat, bald and naked man.
real_name = random_name(gender)
if(pref_species.id == "lizard")
real_name = random_lizard_name(gender)
else
real_name = random_name(gender)
if(!loaded_preferences_successfully)
save_preferences()
save_character() //let's save this new random character so it doesn't keep generating new ones.
@@ -674,7 +677,10 @@ var/global/list/special_roles = list( //keep synced with the defines BE_* in set
if("random")
switch(href_list["preference"])
if("name")
real_name = random_name(gender)
if(pref_species.id == "lizard")
real_name = random_lizard_name(gender)
else
real_name = random_name(gender)
if("age")
age = rand(AGE_MIN, AGE_MAX)
if("hair")
@@ -1029,7 +1035,10 @@ var/global/list/special_roles = list( //keep synced with the defines BE_* in set
proc/copy_to(mob/living/carbon/human/character)
if(be_random_name)
real_name = random_name(gender)
if(pref_species.id == "lizard")
real_name = random_lizard_name(gender)
else
real_name = random_name(gender)
if(be_random_body)
random_character(gender)