Skip to content
This repository has been archived by the owner on Dec 5, 2020. It is now read-only.

IDcolours #70

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
12 changes: 6 additions & 6 deletions code/obj/machinery/computer/card.dm
Original file line number Diff line number Diff line change
Expand Up @@ -89,23 +89,23 @@
body += "<br><br><u>Jobs</u>"
body += "<br>Civilian:"
for(var/job in civilianjobs)
body += " <a href='?src=\ref[src];assign=[job]'>[replacetext(job, " ", "&nbsp")]</a>" //make sure there isn't a line break in the middle of a job
body += " <a href='?src=\ref[src];assign=[job];colour=blue'>[replacetext(job, " ", "&nbsp")]</a>" //make sure there isn't a line break in the middle of a job

body += "<br>Supply and Maintainence:"
for(var/job in maintainencejobs)
body += " <a href='?src=\ref[src];assign=[job]'>[replacetext(job, " ", "&nbsp")]</a>"
body += " <a href='?src=\ref[src];assign=[job];colour=yellow'>[replacetext(job, " ", "&nbsp")]</a>"

body += "<br>Research and Medical:"
for(var/job in researchjobs)
body += " <a href='?src=\ref[src];assign=[job]'>[replacetext(job, " ", "&nbsp")]</a>"
body += " <a href='?src=\ref[src];assign=[job];colour=purple'>[replacetext(job, " ", "&nbsp")]</a>"

body += "<br>Security:"
for(var/job in securityjobs)
body += " <a href='?src=\ref[src];assign=[job]'>[replacetext(job, " ", "&nbsp")]</a>"
body += " <a href='?src=\ref[src];assign=[job];colour=red'>[replacetext(job, " ", "&nbsp")]</a>"

body += "<br>Command:"
for(var/job in commandjobs)
body += " <a href='?src=\ref[src];assign=[job]'>[replacetext(job, " ", "&nbsp")]</a>"
body += " <a href='?src=\ref[src];assign=[job];colour=green'>[replacetext(job, " ", "&nbsp")]</a>"

//Change access to individual areas
body += "<br><br><u>Access</u>"
Expand Down Expand Up @@ -418,4 +418,4 @@
else if (istype(I, /obj/item/implant/access)) //accept access implant - get their ID
src.eject = I
return I:access
return I
return I