mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-20 20:45:28 +01:00
Random Names for Lizards
Lizards now have their own list of names to pull from when randomizing their names.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user