cleanup _HELPERS/_lists.dm and all the necessary files (#61827)

Bring _HELPERS/_lists.dm to latest standards by:
-Adding proper documentation and fixing existing one
-Giving vars proper names
-Procs now use snake case as per standard (many files that use those procs will be affected)
This commit is contained in:
Ghilker
2021-10-12 14:48:51 +01:00
committed by GitHub
parent 56d21164d0
commit 95c8e00af7
207 changed files with 551 additions and 522 deletions
+3 -3
View File
@@ -611,8 +611,8 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
..()
/proc/updateallghostimages()
listclearnulls(GLOB.ghost_images_default)
listclearnulls(GLOB.ghost_images_simple)
list_clear_nulls(GLOB.ghost_images_default)
list_clear_nulls(GLOB.ghost_images_simple)
for (var/mob/dead/observer/O in GLOB.player_list)
O.updateghostimages()
@@ -649,7 +649,7 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
if(!(L in GLOB.player_list) && !L.mind)
possessible += L
var/mob/living/target = input("Your new life begins today!", "Possess Mob", null, null) as null|anything in sortNames(possessible)
var/mob/living/target = input("Your new life begins today!", "Possess Mob", null, null) as null|anything in sort_names(possessible)
if(!target)
return FALSE