Replacing civilian with support department. Still need to make changes on MySQL schema.

This commit is contained in:
ZomgPonies
2014-06-26 19:42:14 -04:00
parent 7ab91efdff
commit cb9b6fca4d
20 changed files with 142 additions and 142 deletions
+13 -13
View File
@@ -99,7 +99,7 @@
var/list/eng = new()
var/list/med = new()
var/list/sci = new()
var/list/civ = new()
var/list/supp = new()
var/list/bot = new()
var/list/misc = new()
var/list/isactive = new()
@@ -148,8 +148,8 @@
if(real_rank in science_positions)
sci[name] = rank
department = 1
if(real_rank in civilian_positions)
civ[name] = rank
if(real_rank in support_positions)
supp[name] = rank
department = 1
if(real_rank in nonhuman_positions)
bot[name] = rank
@@ -181,10 +181,10 @@
for(name in sci)
dat += "<tr[even ? " class='alt'" : ""]><td>[name]</td><td>[sci[name]]</td><td>[isactive[name]]</td></tr>"
even = !even
if(civ.len > 0)
dat += "<tr><th colspan=3>Civilian</th></tr>"
for(name in civ)
dat += "<tr[even ? " class='alt'" : ""]><td>[name]</td><td>[civ[name]]</td><td>[isactive[name]]</td></tr>"
if(supp.len > 0)
dat += "<tr><th colspan=3>Support</th></tr>"
for(name in supp)
dat += "<tr[even ? " class='alt'" : ""]><td>[name]</td><td>[supp[name]]</td><td>[isactive[name]]</td></tr>"
even = !even
// in case somebody is insane and added them to the manifest, why not
if(bot.len > 0)
@@ -222,7 +222,7 @@ var/global/list/PDA_Manifest = list()
var/eng[0]
var/med[0]
var/sci[0]
var/civ[0]
var/supp[0]
var/bot[0]
var/misc[0]
for(var/datum/data/record/t in data_core.general)
@@ -263,11 +263,11 @@ var/global/list/PDA_Manifest = list()
if(depthead && sci.len != 1)
sci.Swap(1,sci.len)
if(real_rank in civilian_positions)
civ[++civ.len] = list("name" = name, "rank" = rank, "active" = isactive)
if(real_rank in support_positions)
supp[++supp.len] = list("name" = name, "rank" = rank, "active" = isactive)
department = 1
if(depthead && civ.len != 1)
civ.Swap(1,civ.len)
if(depthead && supp.len != 1)
supp.Swap(1,supp.len)
if(real_rank in nonhuman_positions)
bot[++bot.len] = list("name" = name, "rank" = rank, "active" = isactive)
@@ -283,7 +283,7 @@ var/global/list/PDA_Manifest = list()
"eng" = eng,\
"med" = med,\
"sci" = sci,\
"civ" = civ,\
"supp" = supp,\
"bot" = bot,\
"misc" = misc\
)