Skip to content

Commit

Permalink
now it compiles.
Browse files Browse the repository at this point in the history
  • Loading branch information
ReezeBL committed May 9, 2024
1 parent be2b96e commit ae66c22
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 26 deletions.
10 changes: 2 additions & 8 deletions code/__DEFINES/~ff_defines/__HELPERS/names.dm
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,10 @@
if(1)//1 and 2 can only be selected once each to prevent more than two specific names/places/etc.
switch(rand(1,2))//Mainly to add more options later.
if(1)
if(names.len && prob(70))
if(length(names) && prob(70))
. += pick(names)
else
if(prob(10))
. += pick(lizard_name(MALE),lizard_name(FEMALE))
else
var/new_name = pick(pick(GLOB.first_names_male,GLOB.first_names_female))
new_name += " "
new_name += pick(GLOB.last_names)
. += new_name
. += generate_random_name()
if(2)
var/datum/job/job = pick(SSjob.joinable_occupations)
if(job)
Expand Down
10 changes: 0 additions & 10 deletions code/__HELPERS/global_lists.dm
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
sort_list(GLOB.laugh_types, GLOBAL_PROC_REF(cmp_typepaths_asc))
// NOVA EDIT ADDITION END

<<<<<<< HEAD
//THE FLUFFY FRONTIER EDIT ADDITION BEGIN - Blooper
for(var/sound_blooper_path in subtypesof(/datum/blooper))
var/datum/blooper/B = new sound_blooper_path()
Expand All @@ -63,15 +62,6 @@
GLOB.blooper_random_list[B.id] = sound_blooper_path
//THE FLUFFY FRONTIER EDIT END

/// Inits GLOB.species_list. Not using GLOBAL_LIST_INIT b/c it depends on GLOB.string_lists
/proc/init_species_list()
for(var/species_path in subtypesof(/datum/species))
var/datum/species/species = new species_path()
GLOB.species_list[species.id] = species_path
sort_list(GLOB.species_list, GLOBAL_PROC_REF(cmp_typepaths_asc))

=======
>>>>>>> 7296d5d50b6 ([MIRROR] Random Name Generation refactor, generate random names based on languages (for species without name lists, like Felinids and Podpeople) (#2314))
/// Inits GLOB.surgeries
/proc/init_surgeries()
var/surgeries = list()
Expand Down
8 changes: 0 additions & 8 deletions tff_modular/modules/nabbers/code/_nabbers.dm
Original file line number Diff line number Diff line change
Expand Up @@ -163,14 +163,6 @@

return perk_descriptions

/datum/species/nabber/random_name(gender, unique, lastname)
if(unique)
return random_unique_name(gender)

var/random_name
random_name += (pick("Alpha","Delta","Dzetta","Phi","Epsilon","Gamma","Tau","Omega") + " [rand(1, 199)]")
return random_name

/datum/species/nabber/get_species_description()
return placeholder_description

Expand Down

0 comments on commit ae66c22

Please sign in to comment.