Mass replace

This commit is contained in:
Tigercat2000
2016-07-07 19:34:02 -07:00
parent dc408f090d
commit 71e5344a98
870 changed files with 7679 additions and 7679 deletions
+7 -7
View File
@@ -41,7 +41,7 @@ Notes:
/datum/tooltip/New(client/C)
if (C)
if(C)
owner = C
owner << browse(file2text(file), "window=[control]")
@@ -49,21 +49,21 @@ Notes:
/datum/tooltip/proc/show(atom/movable/thing, params = null, title = null, content = null, theme = "default", special = "none")
if (!thing || !params || (!title && !content) || !owner || !isnum(world.icon_size))
if(!thing || !params || (!title && !content) || !owner || !isnum(world.icon_size))
return 0
if (!init)
if(!init)
//Initialize some vars
init = 1
owner << output(list2params(list(world.icon_size, control)), "[control]:tooltip.init")
showing = 1
if (title && content)
if(title && content)
title = "<h1>[title]</h1>"
content = "<p>[content]</p>"
else if (title && !content)
else if(title && !content)
title = "<p>[title]</p>"
else if (!title && content)
else if(!title && content)
content = "<p>[content]</p>"
//Make our dumb param object
@@ -74,7 +74,7 @@ Notes:
//If a hide() was hit while we were showing, run hide() again to avoid stuck tooltips
showing = 0
if (queueHide)
if(queueHide)
hide()
return 1