Misc fixes (#1370)

changes:

bugfix: "Fixed formatting of forms when held up to a security camera."
spellcheck: "Fixed grammar error in IA and CE's headsets."
Fixes #1196.
Fixes #1358.
Fixes #1376.
Fixes #1347.
Replaces some BYOND text macros with spans.

Issues:

M'sai's preview image does not work (missing image).
This commit is contained in:
Lohikar
2017-01-03 01:54:30 +02:00
committed by skull132
parent 33c44ad093
commit cef746cd6d
22 changed files with 73 additions and 63 deletions
+7 -3
View File
@@ -42,8 +42,12 @@
/obj/item/weapon/paper/proc/set_content(text,title)
if(title)
name = title
info = html_encode(text)
info = parsepencode(text)
if (text && length(text))
info = html_encode(text)
info = parsepencode(text)
else
info = ""
update_icon()
update_space(info)
updateinfolinks()
@@ -51,7 +55,7 @@
/obj/item/weapon/paper/update_icon()
if(icon_state == "paper_talisman")
return
else if(info)
else if (info && length(trim(info)))
icon_state = "paper_words"
else
icon_state = "paper"