Adds an SCC logo to paperwork (#12317)

This commit is contained in:
desven
2021-08-15 23:18:14 -05:00
committed by GitHub
parent 2e8f8d304d
commit 641d25d2f2
5 changed files with 18 additions and 1 deletions
+3 -1
View File
@@ -524,6 +524,7 @@
t = replacetext(t, "\[/grid\]", "</td></tr></table>")
t = replacetext(t, "\[row\]", "</td><tr>")
t = replacetext(t, "\[cell\]", "<td>")
t = replacetext(t, "\[logo_scc\]", "<img src = scclogo.png>")
t = replacetext(t, "\[logo_nt\]", "<img src = ntlogo.png>")
t = replacetext(t, "\[logo_nt_small\]", "<img src = ntlogo_small.png>")
t = replacetext(t, "\[logo_zh\]", "<img src = zhlogo.png>")
@@ -566,6 +567,7 @@
t = replacetext(t, "</font>", "\[/small\]")
if(include_images)
t = replacetext(t, "<img src = scclogo.png>", "\[logo_scc\]")
t = replacetext(t, "<img src = ntlogo.png>", "\[logo_nt\]")
t = replacetext(t, "<img src = ntlogo_small.png>", "\[logo_nt_small\]")
t = replacetext(t, "<img src = zhlogo.png>", "\[logo_zh\]")
@@ -672,4 +674,4 @@
var/limit = reverse ? numSquares - percent*numSquares : percent*numSquares
for (var/i in 1 to numSquares)
loadstring += i <= limit ? "█" : "░"
return "\[[loadstring]\]"
return "\[[loadstring]\]"
+1
View File
@@ -418,6 +418,7 @@ var/list/asset_datums = list()
"barcode1.png" = 'html/images/barcode1.png',
"barcode2.png" = 'html/images/barcode2.png',
"barcode3.png" = 'html/images/barcode3.png',
"scclogo.png" = 'html/images/scclogo.png',
"ntlogo.png" = 'html/images/ntlogo.png',
"ntlogo_small.png" = 'html/images/ntlogo_small.png',
"zhlogo.png" = 'html/images/zhlogo.png',
+1
View File
@@ -310,6 +310,7 @@
t = replacetext(t, "\[/table\]", "")
t = replacetext(t, "\[row\]", "")
t = replacetext(t, "\[cell\]", "")
t = replacetext(t, "\[logo_scc\]", "")
t = replacetext(t, "\[logo_nt\]", "")
t = replacetext(t, "\[logo_nt_small\]", "")
t = replacetext(t, "\[logo_zh\]", "")
+13
View File
@@ -0,0 +1,13 @@
# Your name.
author: Desven
# Optional: Remove this file after generating master changelog. Useful for PR changelogs that won't get used again.
delete-after: True
# Any changes you've made. See valid prefix list above.
# INDENT WITH TWO SPACES. NOT TABS. SPACES.
# SCREW THIS UP AND IT WON'T WORK.
# Also, all entries are changed into a single [] after a master changelog generation. Just remove the brackets when you add new entries.
# Please surround your changes in double quotes ("), as certain characters otherwise screws up compiling. The quotes will not show up in the changelog.
changes:
- rscadd: "Added an SCC logo for paperwork. Simply write [logo_scc] to make it appear."
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB