From 42e73f0e242d8e35fdb7e5dbfa5bea8018c51ef6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mieszko=20J=C4=99drzejczak?= Date: Thu, 1 Sep 2016 15:32:13 +0200 Subject: [PATCH] Makes TP formatting nicer --- code/datums/mind.dm | 65 ++++++++++++++++++++++----------------------- 1 file changed, 32 insertions(+), 33 deletions(-) diff --git a/code/datums/mind.dm b/code/datums/mind.dm index 127c287ee9a..9600edf62b9 100644 --- a/code/datums/mind.dm +++ b/code/datums/mind.dm @@ -152,7 +152,7 @@ if(istype(current, /mob/living/carbon/human)) /** Impanted**/ if(isloyal(H)) - text = "Mindshield Implant:Remove|Implanted
" + text = "Mindshield Implant:Remove|Implanted
" else text = "Mindshield Implant:No Implant|Implant him!
" sections["implant"] = text @@ -162,9 +162,9 @@ text += uppertext(text) text = "[text]: " if(isloyal(H)) - text += "LOYAL EMPLOYEE|headrev|rev" + text += "NO|headrev|rev" else if(src in ticker.mode.head_revolutionaries) - text = "employee|HEADREV|rev" + text += "no|HEADREV|rev" text += "
Flash: give" var/list/L = current.get_contents() @@ -181,9 +181,9 @@ if(objectives.len==0) text += "
Objectives are empty! Set to kill all heads." else if(src in ticker.mode.revolutionaries) - text += "employee|headrev|REV" + text += "no|headrev|REV" else - text += "EMPLOYEE|headrev|rev" + text += "NO|headrev|rev" if(current && current.client && (ROLE_REV in current.client.prefs.be_special)) text += "|Enabled in Prefs" @@ -198,16 +198,16 @@ text = uppertext(text) text = "[text]: " if(isloyal(H)) - text += "LOYAL EMPLOYEE|cultist" + text += "NO|cultist" else if(src in ticker.mode.cult) - text += "employee|CULTIST" + text += "no|CULTIST" text += "
Give tome|equip." /* if(objectives.len==0) text += "
Objectives are empty! Set to sacrifice and escape or summon." */ else - text += "EMPLOYEE|cultist" + text += "NO|cultist" if(current && current.client && (ROLE_CULTIST in current.client.prefs.be_special)) @@ -223,12 +223,12 @@ text = uppertext(text) text = "[text]: " if(src in ticker.mode.wizards) - text += "YES|no" + text += "WIZARD|no" text += "
To lair, undress, dress up, let choose name." if(objectives.len==0) text += "
Objectives are empty! Randomize!" else - text += "yes|NO" + text += "wizard|NO" if(current && current.client && (ROLE_WIZARD in current.client.prefs.be_special)) text += "|Enabled in Prefs" @@ -243,13 +243,13 @@ text = uppertext(text) text = "[text]: " if(src in ticker.mode.changelings) - text += "YES|no" + text += "CHANGELING|no" if(objectives.len==0) text += "
Objectives are empty! Randomize!" if( changeling && changeling.absorbed_dna.len && (current.real_name != changeling.absorbed_dna[1]) ) text += "
Transform to initial appearance." else - text += "yes|NO" + text += "changeling|NO" if(current && current.client && (ROLE_CHANGELING in current.client.prefs.be_special)) text += "|Enabled in Prefs" @@ -262,25 +262,24 @@ text = "vampire" if(ticker.mode.config_tag=="vampire" || ticker.mode.config_tag=="traitorvamp") text = uppertext(text) - text = "[text]: " + text = "[text]: " if(src in ticker.mode.vampires) - text += "YES|no" + text += "VAMPIRE|no" if(objectives.len==0) text += "
Objectives are empty! Randomize!" else - text += "yes|NO" + text += "vampire|NO" if(current && current.client && (ROLE_VAMPIRE in current.client.prefs.be_special)) - text += "|Enabled in Prefs" + text += "|Enabled in Prefs" else - text += "|Disabled in Prefs" + text += "|Disabled in Prefs" /** Enthralled ***/ - text += "
enthralled" - text = "[text]: " + text += "
enthralled: " if(src in ticker.mode.vampire_enthralled) - text += "YES|no" + text += "THRALL|no" else - text += "yes|NO
" + text += "thrall|NO" sections["vampire"] = text @@ -291,7 +290,7 @@ text = uppertext(text) text = "[text]: " if(src in ticker.mode.syndicates) - text += "OPERATIVE|nanotrasen" + text += "OPERATIVE|no" text += "
To shuttle, undress, dress up." var/code for(var/obj/machinery/nuclearbomb/bombue in machines) @@ -301,7 +300,7 @@ if(code) text += " Code is [code]. tell the code." else - text += "operative|NANOTRASEN" + text += "operative|NO" if(current && current.client && (ROLE_OPERATIVE in current.client.prefs.be_special)) text += "|Enabled in Prefs" @@ -316,11 +315,11 @@ text = uppertext(text) text = "[text]: " if(src in ticker.mode.shadows) - text += "SHADOWLING|thrall|human" + text += "SHADOWLING|thrall|no" else if(src in ticker.mode.shadowling_thralls) - text += "Shadowling|THRALL|human" + text += "Shadowling|THRALL|no" else - text += "shadowling|thrall|HUMAN" + text += "shadowling|thrall|NO" if(current && current.client && (ROLE_SHADOWLING in current.client.prefs.be_special)) text += "|Enabled in Prefs" @@ -331,15 +330,15 @@ /** Abductors **/ - text = "Abductor" + text = "abductor" if(ticker.mode.config_tag == "abductor") text = uppertext(text) text = "[text]: " if(src in ticker.mode.abductors) - text += "Abductor|human" + text += "ABDUCTOR|no" text += "|undress|equip" else - text += "Abductor|human" + text += "abductor|NO" if(current && current.client && (ROLE_ABDUCTOR in current.client.prefs.be_special)) text += "|Enabled in Prefs" @@ -355,11 +354,11 @@ text = uppertext(text) text = "[text]: " if(src in ticker.mode.traitors) - text += "TRAITOR|EMPLOYEE" + text += "TRAITOR|no" if(objectives.len==0) text += "
Objectives are empty! Randomize!" else - text += "traitor|EMPLOYEE" + text += "traitor|NO" if(current && current.client && (ROLE_TRAITOR in current.client.prefs.be_special)) text += "|Enabled in Prefs" @@ -374,7 +373,7 @@ text = "silicon" var/mob/living/silicon/robot/robot = current if(istype(robot) && robot.emagged) - text += "
Cyborg: Is emagged! Unemag!
0th law: [robot.laws.zeroth_law]" + text += "
Cyborg: Is emagged! Unemag!
0th law: [robot.laws.zeroth_law]" var/mob/living/silicon/ai/ai = current if(istype(ai) && ai.connected_robots.len) var/n_e_robots = 0 @@ -443,7 +442,7 @@ out += "Announce objectives

" - usr << browse(out, "window=edit_memory[src]") + usr << browse(out, "window=edit_memory[src];size=400x500") /datum/mind/Topic(href, href_list) if(!check_rights(R_ADMIN)) return