Reduce lines by removing blank lines added by PJ's script

This commit is contained in:
Tigercat2000
2016-04-05 08:25:57 -07:00
parent 9d430844c3
commit 78f53553f8
1049 changed files with 3 additions and 8630 deletions
-15
View File
@@ -64,30 +64,21 @@ datum/announcement/proc/Message(message as text, message_title as text)
for(var/mob/M in player_list)
if(!istype(M,/mob/new_player) && !isdeaf(M))
to_chat(M, "<h2 class='alert'>[title]</h2>")
to_chat(M, "<span class='alert'>[message]</span>")
if (announcer)
to_chat(M, "<span class='alert'> -[html_encode(announcer)]</span>")
/datum/announcement/minor/Message(message as text, message_title as text)
to_chat(world, "<b><font size=3><font color=red>[message_title]</font color></font></b>")
to_chat(world, "<b><font size=3>[message]</font size></font></b>")
datum/announcement/priority/Message(message as text, message_title as text)
to_chat(world, "<h1 class='alert'>[message_title]</h1>")
to_chat(world, "<span class='alert'>[message]</span>")
if(announcer)
to_chat(world, "<span class='alert'> -[html_encode(announcer)]</span>")
to_chat(world, "<br>")
datum/announcement/priority/command/Message(message as text, message_title as text)
var/command
command += "<h1 class='alert'>[command_name()] Update</h1>"
@@ -100,7 +91,6 @@ datum/announcement/priority/command/Message(message as text, message_title as te
if(!istype(M,/mob/new_player) && !isdeaf(M))
to_chat(M, command)
datum/announcement/priority/enemy/Message(message as text, message_title as text, from as text)
var/command
command += "<h1 class='alert'>[from]</h1>"
@@ -113,13 +103,10 @@ datum/announcement/priority/enemy/Message(message as text, message_title as text
if(!istype(M,/mob/new_player) && !isdeaf(M))
to_chat(M, command)
datum/announcement/priority/security/Message(message as text, message_title as text)
to_chat(world, "<font size=4 color='red'>[message_title]</font>")
to_chat(world, "<font color='red'>[message]</font>")
datum/announcement/proc/NewsCast(message as text, message_title as text)
if(disable_newscasts)
return
@@ -141,7 +128,6 @@ datum/announcement/proc/PlaySound(var/message_sound)
if(!istype(M,/mob/new_player) && !isdeaf(M))
to_chat(M, message_sound)
datum/announcement/proc/Sound(var/message_sound)
PlaySound(message_sound)
@@ -149,7 +135,6 @@ datum/announcement/priority/Sound(var/message_sound)
if(sound)
to_chat(world, sound)
datum/announcement/priority/command/Sound(var/message_sound)
PlaySound(message_sound)
-2
View File
@@ -66,7 +66,6 @@
var/sqltime = time2text(world.realtime, "YYYY-MM-DD hh:mm:ss")
var/coord = "[H.x], [H.y], [H.z]"
// to_chat(world, "INSERT INTO death (name, byondkey, job, special, pod, tod, laname, lakey, gender, bruteloss, fireloss, brainloss, oxyloss) VALUES ('[sqlname]', '[sqlkey]', '[sqljob]', '[sqlspecial]', '[sqlpod]', '[sqltime]', '[laname]', '[lakey]', '[H.gender]', [H.bruteloss], [H.getFireLoss()], [H.brainloss], [H.getOxyLoss()])")
establish_db_connection()
if(!dbcon.IsConnected())
log_game("SQL ERROR during death reporting. Failed to connect.")
@@ -102,7 +101,6 @@
var/sqltime = time2text(world.realtime, "YYYY-MM-DD hh:mm:ss")
var/coord = "[H.x], [H.y], [H.z]"
// to_chat(world, "INSERT INTO death (name, byondkey, job, special, pod, tod, laname, lakey, gender, bruteloss, fireloss, brainloss, oxyloss) VALUES ('[sqlname]', '[sqlkey]', '[sqljob]', '[sqlspecial]', '[sqlpod]', '[sqltime]', '[laname]', '[lakey]', '[H.gender]', [H.bruteloss], [H.getFireLoss()], [H.brainloss], [H.getOxyLoss()])")
establish_db_connection()
if(!dbcon.IsConnected())
log_game("SQL ERROR during death reporting. Failed to connect.")