Replaces a bunch of mob loops with hopefully better ones

This commit is contained in:
vuonojenmustaturska
2017-11-17 00:08:40 +02:00
committed by CitadelStationBot
parent 0e0eb351b3
commit 6ce69fb2c8
84 changed files with 405 additions and 154 deletions
+20
View File
@@ -1,3 +1,4 @@
<<<<<<< HEAD
/obj/effect/manifest
name = "manifest"
icon = 'icons/mob/screen_gen.dmi'
@@ -15,3 +16,22 @@
P.name = "paper- 'Crew Manifest'"
//SN src = null
qdel(src)
=======
/obj/effect/manifest
name = "manifest"
icon = 'icons/mob/screen_gen.dmi'
icon_state = "x"
/obj/effect/manifest/New()
src.invisibility = INVISIBILITY_ABSTRACT
/obj/effect/manifest/proc/manifest()
var/dat = "<B>Crew Manifest</B>:<BR>"
for(var/mob/living/carbon/human/M in GLOB.carbon_list)
dat += text(" <B>[]</B> - []<BR>", M.name, M.get_assignment())
var/obj/item/paper/P = new /obj/item/paper( src.loc )
P.info = dat
P.name = "paper- 'Crew Manifest'"
//SN src = null
qdel(src)
>>>>>>> 39375d5... Replaces a bunch of mob loops with hopefully better ones (#32786)