Change various global species lists to GLOB versions.

This commit is contained in:
Mechoid
2019-12-05 23:55:22 -08:00
parent 777a158b00
commit 58e2ce2fb4
51 changed files with 131 additions and 121 deletions
+2 -2
View File
@@ -192,8 +192,8 @@ proc/admin_notice(var/message, var/rights)
// language toggles
body += "<br><br><b>Languages:</b><br>"
var/f = 1
for(var/k in all_languages)
var/datum/language/L = all_languages[k]
for(var/k in GLOB.all_languages)
var/datum/language/L = GLOB.all_languages[k]
if(!(L.flags & INNATE))
if(!f) body += " | "
else f = 0
@@ -6,8 +6,8 @@
if(!.)
return
for(var/species in all_species)
var/datum/species/S = all_species[species]
for(var/species in GLOB.all_species)
var/datum/species/S = GLOB.all_species[species]
S.blood_color = "rainbow"
for(var/obj/effect/decal/cleanable/blood/B in world)
B.basecolor = "rainbow"
+1 -1
View File
@@ -1844,7 +1844,7 @@
usr << "[M] is illegal type, must be /mob!"
return
var/lang2toggle = href_list["lang"]
var/datum/language/L = all_languages[lang2toggle]
var/datum/language/L = GLOB.all_languages[lang2toggle]
if(L in M.languages)
if(!M.remove_language(lang2toggle))
+2 -2
View File
@@ -289,7 +289,7 @@
usr << "This can only be done to instances of type /mob/living/carbon/human"
return
var/new_species = input("Please choose a new species.","Species",null) as null|anything in all_species
var/new_species = input("Please choose a new species.","Species",null) as null|anything in GLOB.all_species
if(!H)
usr << "Mob doesn't exist anymore"
@@ -308,7 +308,7 @@
usr << "This can only be done to instances of type /mob"
return
var/new_language = input("Please choose a language to add.","Language",null) as null|anything in all_languages
var/new_language = input("Please choose a language to add.","Language",null) as null|anything in GLOB.all_languages
if(!new_language)
return