mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
Removes the panic writer messages.
This commit is contained in:
@@ -42,7 +42,6 @@ minus the pound (#) symbol.
|
||||
//COLOUR2HTML PROC
|
||||
|
||||
proc/colour2html(colour)
|
||||
//writepanic("[__FILE__].[__LINE__] \\/proc/colour2html() called tick#: [world.time]")
|
||||
var/T
|
||||
for(T in html_colours)
|
||||
if(ckey(T) == ckey(colour)) break
|
||||
@@ -57,7 +56,6 @@ proc/colour2html(colour)
|
||||
//HTMLASSOCIATE PROC
|
||||
|
||||
proc/HTMLAssociate(colour, html)
|
||||
//writepanic("[__FILE__].[__LINE__] \\/proc/HTMLAssociate() called tick#: [world.time]")
|
||||
if(html_colours.Find(colour))
|
||||
world.log << "Changing [colour] from [html_colours[colour]] to [html]!"
|
||||
html_colours[colour] = html
|
||||
@@ -78,7 +76,6 @@ world
|
||||
var/html_colours[0]
|
||||
|
||||
proc/LoadHTMLAssociations()
|
||||
//writepanic("[__FILE__].[__LINE__] \\/proc/LoadHTMLAssociations() called tick#: [world.time]")
|
||||
var/savefile/F = new ("s_html.sav")
|
||||
F["html_colours"] >> html_colours
|
||||
if(!html_colours) html_colours = list()
|
||||
@@ -234,6 +231,5 @@ proc/LoadHTMLAssociations()
|
||||
|
||||
|
||||
proc/SaveHTMLAssociations()
|
||||
//writepanic("[__FILE__].[__LINE__] \\/proc/SaveHTMLAssociations() called tick#: [world.time]")
|
||||
var/savefile/F = new ("s_html.sav")
|
||||
F["html_colours"] << html_colours
|
||||
@@ -13,7 +13,6 @@ encompasses a larger field.
|
||||
**************************************/
|
||||
|
||||
proc/hex2num(hex)
|
||||
//writepanic("[__FILE__].[__LINE__] \\/proc/hex2num() called tick#: [world.time]")
|
||||
//Converts a hexadecimal string (eg. "9F") into a numeral (eg. 159).
|
||||
|
||||
if(!istext(hex))
|
||||
@@ -50,7 +49,6 @@ proc/hex2num(hex)
|
||||
|
||||
|
||||
proc/num2hex(num, placeholder=2)
|
||||
//writepanic("[__FILE__].[__LINE__] \\/proc/num2hex() called tick#: [world.time]")
|
||||
//Converts a numeral (eg. 255) into a hexadecimal string (eg. "FF")
|
||||
//The 'placeholder' argument inserts zeroes in front of the string
|
||||
// until the string is that length -- eg. 15 in hexadecimal is "F",
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
// form "#XXXXXX". Nothing else will work!
|
||||
|
||||
proc/invertHTML(HTMLstring)
|
||||
//writepanic("[__FILE__].[__LINE__] \\/proc/invertHTML() called tick#: [world.time]")
|
||||
if(!istext(HTMLstring))
|
||||
CRASH("Given non-text argument!")
|
||||
return
|
||||
@@ -34,7 +33,6 @@ proc/invertHTML(HTMLstring)
|
||||
/*
|
||||
//Testing code/sample implementation
|
||||
mob/verb/test_invertHTML()
|
||||
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\mob/verb/test_invertHTML() called tick#: [world.time]")
|
||||
usr << "#CC9933"
|
||||
usr << invertHTML("#CC9933")
|
||||
*/
|
||||
Reference in New Issue
Block a user