mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-24 09:03:05 +00:00
The infinite cells return proc has been set to return 1 rather than null.
Communications.dm works once again. Updated a few admin commands that I missed to work with the job datums. Fixed a type path issue in the cult talismans. Assembly remote signalers now iterate though their for loop properly. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2347 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -122,15 +122,18 @@
|
||||
var/header = "<b>Pick Job to ban this guy from.<br>"
|
||||
var/body
|
||||
var/jobs = ""
|
||||
for(var/job in uniquelist(occupations + assistant_occupations))
|
||||
if(job == "Tourist")
|
||||
if(!job_master)
|
||||
usr << "Job Master has not been setup!"
|
||||
return
|
||||
for(var/datum/job/job in job_master.occupations)
|
||||
if(job.title == "Tourist")
|
||||
continue
|
||||
if(jobban_isbanned(M, job))
|
||||
jobs += "<a href='?src=\ref[src];jobban3=[job];jobban4=\ref[M]'><font color=red>[dd_replacetext(job, " ", " ")]</font></a> "
|
||||
if(jobban_isbanned(M, job.title))
|
||||
jobs += "<a href='?src=\ref[src];jobban3=[job.title];jobban4=\ref[M]'><font color=red>[dd_replacetext(job.title, " ", " ")]</font></a> "
|
||||
else
|
||||
jobs += "<a href='?src=\ref[src];jobban3=[job];jobban4=\ref[M]'>[dd_replacetext(job, " ", " ")]</a> "
|
||||
jobs += "<a href='?src=\ref[src];jobban3=[job.title];jobban4=\ref[M]'>[dd_replacetext(job.title, " ", " ")]</a> "
|
||||
|
||||
if(jobban_isbanned(M, "Captain"))
|
||||
/* if(jobban_isbanned(M, "Captain")) These two are now jobs in the datums and should show up in the above code
|
||||
jobs += "<a href='?src=\ref[src];jobban3=Captain;jobban4=\ref[M]'><font color=red>Captain</font></a> "
|
||||
else
|
||||
jobs += "<a href='?src=\ref[src];jobban3=Captain;jobban4=\ref[M]'>Captain</a> "
|
||||
@@ -139,7 +142,7 @@
|
||||
jobs += "<a href='?src=\ref[src];jobban3=AI;jobban4=\ref[M]'><font color=red>AI</font></a> "
|
||||
else
|
||||
jobs += "<a href='?src=\ref[src];jobban3=AI;jobban4=\ref[M]'>AI</a> "
|
||||
|
||||
*/
|
||||
if(jobban_isbanned(M, "Syndicate"))
|
||||
jobs += "<BR><a href='?src=\ref[src];jobban3=Syndicate;jobban4=\ref[M]'><font color=red>[dd_replacetext("Syndicate", " ", " ")]</font></a> "
|
||||
else
|
||||
@@ -272,18 +275,19 @@
|
||||
jobs += "<a href='?src=\ref[src];newjobban2=Scientist_RD;jobban4=\ref[M]'>Scientist+RD</a> <br>"
|
||||
jobs += "<a href='?src=\ref[src];newjobban2=AI_Cyborg;jobban4=\ref[M]'>AI+Cyborg</a> <br>"
|
||||
jobs += "<a href='?src=\ref[src];newjobban2=Detective_HoS;jobban4=\ref[M]'>Detective+HoS</a> <br><br>"
|
||||
for(var/job in uniquelist(occupations + assistant_occupations))
|
||||
if(job == "Tourist")
|
||||
for(var/datum/job/job in job_master.occupations)
|
||||
if(job.title == "Tourist")
|
||||
continue
|
||||
if(jobban_isbanned(M, job))
|
||||
jobs += "<a href='?src=\ref[src];newjobban2=[job];jobban4=\ref[M]'><font color=red>[dd_replacetext(job, " ", " ")]</font></a> "
|
||||
if(jobban_isbanned(M, job.title))
|
||||
jobs += "<a href='?src=\ref[src];newjobban2=[job.title];jobban4=\ref[M]'><font color=red>[dd_replacetext(job.title, " ", " ")]</font></a> "
|
||||
else
|
||||
jobs += "<a href='?src=\ref[src];newjobban2=[job];jobban4=\ref[M]'>[dd_replacetext(job, " ", " ")]</a> " //why doesn't this work the stupid cunt
|
||||
jobs += "<a href='?src=\ref[src];newjobban2=[job.title];jobban4=\ref[M]'>[dd_replacetext(job.title, " ", " ")]</a> " //why doesn't this work the stupid cunt
|
||||
|
||||
if(jobban_isbanned(M, "Captain"))
|
||||
/* if(jobban_isbanned(M, "Captain"))
|
||||
jobs += "<a href='?src=\ref[src];newjobban2=Captain;jobban4=\ref[M]'><font color=red>Captain</font></a> "
|
||||
else
|
||||
jobs += "<a href='?src=\ref[src];newjobban2=Captain;jobban4=\ref[M]'>Captain</a> " //why doesn't this work the stupid cunt
|
||||
*/
|
||||
if(jobban_isbanned(M, "Syndicate"))
|
||||
jobs += "<BR><a href='?src=\ref[src];newjobban2=Syndicate;jobban4=\ref[M]'><font color=red>[dd_replacetext("Syndicate", " ", " ")]</font></a> "
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user