Small Variants of Flags and Corporate Logos (#14911)

This commit is contained in:
Benedict
2022-10-13 13:23:23 -04:00
committed by GitHub
parent 23bcc1dd48
commit e82ba91ece
32 changed files with 76 additions and 8 deletions
+29 -4
View File
@@ -537,27 +537,46 @@
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_scc_small\]", "<img src = scclogo_small.png>")
t = replacetext(t, "\[logo_nt\]", "<img src = nanotrasenlogo.png>")
t = replacetext(t, "\[logo_nt_small\]", "<img src = nanotrasenlogo_small.png>")
t = replacetext(t, "\[logo_zh\]", "<img src = zhlogo.png>")
t = replacetext(t, "\[logo_zh_small\]", "<img src = zhlogo_small.png>")
t = replacetext(t, "\[logo_idris\]", "<img src = idrislogo.png>")
t = replacetext(t, "\[logo_idris_small\]", "<img src = idrislogo_small.png>")
t = replacetext(t, "\[logo_eridani\]", "<img src = eridanilogo.png>")
t = replacetext(t, "\[logo_eridani_small\]", "<img src = eridanilogo_small.png>")
t = replacetext(t, "\[logo_zavod\]", "<img src = zavodlogo.png>")
t = replacetext(t, "\[logo_zavod_small\]", "<img src = zavodlogo_small.png>")
t = replacetext(t, "\[logo_hp_large\]", "<img src = hplogolarge.png>")
t = replacetext(t, "\[logo_hp\]", "<img src = hplogo.png>")
t = replacetext(t, "\[logo_hp_small\]", "<img src = hplogo_small.png>")
t = replacetext(t, "\[logo_orion\]", "<img src = orionlogo.png>")
t = replacetext(t, "\[logo_orion_small\]", "<img src = orionlogo_small.png>")
t = replacetext(t, "\[logo_pmcg\]", "<img src = pmcglogo.png>")
t = replacetext(t, "\[logo_pmcg_small\]", "<img src = pmcglogo_small.png>")
t = replacetext(t, "\[flag_be\]", "<img src = beflag.png>")
t = replacetext(t, "\[flag_be_small\]", "<img src = beflag_small.png>")
t = replacetext(t, "\[flag_elyra\]", "<img src = elyraflag.png>")
t = replacetext(t, "\[flag_elyra_small\]", "<img src = elyraflag_small.png>")
t = replacetext(t, "\[flag_sol\]", "<img src = solflag.png>")
t = replacetext(t, "\[flag_sol_small\]", "<img src = solflag_small.png>")
t = replacetext(t, "\[flag_coc\]", "<img src = cocflag.png>")
t = replacetext(t, "\[flag_coc_small\]", "<img src = cocflag_small.png>")
t = replacetext(t, "\[flag_dom\]", "<img src = domflag.png>")
t = replacetext(t, "\[flag_dom_small\]", "<img src = domflag_small.png>")
t = replacetext(t, "\[flag_nralakk\]", "<img src = nralakkflag.png>")
t = replacetext(t, "\[flag_nralakk_small\]", "<img src = nralakkflag_small.png>")
t = replacetext(t, "\[flag_pra\]", "<img src = praflag.png>")
t = replacetext(t, "\[flag_pra_small\]", "<img src = praflag_small.png>")
t = replacetext(t, "\[flag_dpra\]", "<img src = dpraflag.png>")
t = replacetext(t, "\[flag_dpra_small\]", "<img src = dpraflag_small.png>")
t = replacetext(t, "\[flag_nka\]", "<img src = nkaflag.png>")
t = replacetext(t, "\[flag_nka_small\]", "<img src = nkaflag_small.png>")
t = replacetext(t, "\[flag_izweski\]", "<img src = izweskiflag.png>")
t = replacetext(t, "\[flag_izweski_small\]", "<img src = izweskiflag_small.png>")
t = replacetext(t, "\[logo_golden\]", "<img src = goldenlogo.png>")
t = replacetext(t, "\[logo_golden_small\]", "<img src = goldenlogo_small.png>")
t = replacetext(t, "\[barcode\]", "<img src = barcode[rand(0, 3)].png>")
t = replacetext(t, "\[time\]", "[worldtime2text()]")
t = replacetext(t, "\[date\]", "[worlddate2text()]")
@@ -601,14 +620,20 @@
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 = scclogo_small.png>", "\[logo_scc_small\]")
t = replacetext(t, "<img src = nanotrasenlogo.png>", "\[logo_nt\]")
t = replacetext(t, "<img src = nanotrasenlogo_small.png>", "\[logo_nt_small\]")
t = replacetext(t, "<img src = zhlogo.png>", "\[logo_zh\]")
t = replacetext(t, "<img src = zhlogo_small.png>", "\[logo_zh_small\]")
t = replacetext(t, "<img src = idrislogo.png>", "\[logo_idris\]")
t = replacetext(t, "<img src = idrislogo_small.png>", "\[logo_idris_small\]")
t = replacetext(t, "<img src = eridanilogo.png>", "\[logo_eridani\]")
t = replacetext(t, "<img src = eridanilogo_small.png>", "\[logo_eridani_small\]")
t = replacetext(t, "<img src = zavodlogo.png>", "\[logo_zavod\]")
t = replacetext(t, "<img src = zavodlogo_small.png>", "\[logo_zavod_small\]")
t = replacetext(t, "<img src = hplogolarge.png>", "\[logo_hp_large\]")
t = replacetext(t, "<img src = hplogo.png>", "\[logo_hp\]")
t = replacetext(t, "<img src = hplogo_small.png>", "\[logo_hp_small\]")
t = replacetext(t, "<img src = beflag.png>", "\[flag_be\]")
t = replacetext(t, "<img src = elyraflag.png>", "\[flag_elyra\]")
t = replacetext(t, "<img src = solflag.png>", "\[flag_sol\]")
+22 -3
View File
@@ -414,27 +414,46 @@ var/list/asset_datums = list()
"barcode2.png" = 'html/images/barcode2.png',
"barcode3.png" = 'html/images/barcode3.png',
"scclogo.png" = 'html/images/factions/scclogo.png',
"ntlogo.png" = 'html/images/ntlogo.png',
"ntlogo_small.png" = 'html/images/ntlogo_small.png',
"scclogo_small.png" = 'html/images/factions/scclogo_small.png',
"nanotrasenlogo.png" = 'html/images/factions/nanotrasenlogo.png',
"nanotrasenlogo_small.png" = 'html/images/factions/nanotrasenlogo_small.png',
"zhlogo.png" = 'html/images/factions/zenghulogo.png',
"zhlogo_small.png" = 'html/images/factions/zenghulogo_small.png',
"idrislogo.png" = 'html/images/factions/idrislogo.png',
"idrislogo_small.png" = 'html/images/factions/idrislogo_small.png',
"eridanilogo.png" = 'html/images/factions/ECFlogo.png',
"eridanilogo_small.png" = 'html/images/factions/ECFlogo_small.png',
"pmcglogo.png" = 'html/images/factions/pmcglogo.png',
"pmcglogo_small.png" = 'html/images/factions/pmcglogo_small.png',
"zavodlogo.png" = 'html/images/factions/zavodlogo.png',
"zavodlogo_small.png" = 'html/images/factions/zavodlogo_small.png',
"orionlogo.png" = 'html/images/factions/orionlogo.png',
"orionlogo_small.png" = 'html/images/factions/orionlogo_small.png',
"hplogolarge.png" = 'html/images/hplogolarge.png',
"hplogo.png" = 'html/images/factions/hephlogo.png',
"hplogo_small.png" = 'html/images/factions/hephlogo_small.png',
"beflag.png" = 'html/images/beflag.png',
"beflag_small.png" = 'html/images/beflag_small.png',
"elyraflag.png" = 'html/images/elyraflag.png',
"elyraflag_small.png" = 'html/images/elyraflag_small.png',
"solflag.png" = 'html/images/solflag.png',
"solflag_small.png" = 'html/images/solflag_small.png',
"cocflag.png" = 'html/images/cocflag.png',
"cocflag_small.png" = 'html/images/cocflag_small.png',
"domflag.png" = 'html/images/domflag.png',
"domflag_small.png" = 'html/images/domflag_small.png',
"nralakkflag.png" = 'html/images/nralakkflag.png',
"nralakkflag_small.png" = 'html/images/nralakkflag_small.png',
"praflag.png" = 'html/images/praflag.png',
"praflag_small.png" = 'html/images/praflag_small.png',
"dpraflag.png" = 'html/images/dpraflag.png',
"dpraflag_small.png" = 'html/images/dpraflag_small.png',
"nkaflag.png" = 'html/images/nkaflag.png',
"nkaflag_small.png" = 'html/images/nkaflag_small.png',
"izweskiflag.png" = 'html/images/izweskiflag.png',
"goldenlogo.png" = 'html/images/goldenlogo.png',
"izweskiflag_small.png" = 'html/images/izweskiflag_small.png',
"goldenlogo.png" = 'html/images/factions/goldenlogo.png',
"goldenlogo_small.png" = 'html/images/factions/goldenlogo_small.png',
"bluebird.woff" = 'html/fonts/OFL/Bluebird.woff',
"grandhotel.woff" = 'html/fonts/OFL/GrandHotel.woff',
"lashema.woff" = 'html/fonts/OFL/Lashema.woff',
+8 -1
View File
@@ -317,15 +317,22 @@
t = replacetext(t, "\[row\]", "")
t = replacetext(t, "\[cell\]", "")
t = replacetext(t, "\[logo_scc\]", "")
t = replacetext(t, "\[logo_scc_small\]", "")
t = replacetext(t, "\[logo_nt\]", "")
t = replacetext(t, "\[logo_nt_small\]", "")
t = replacetext(t, "\[logo_zh\]", "")
t = replacetext(t, "\[logo_zh_small\]", "")
t = replacetext(t, "\[logo_idris\]", "")
t = replacetext(t, "\[logo_idris_small\]", "")
t = replacetext(t, "\[logo_eridani\]", "")
t = replacetext(t, "\[logo_zavodskoi\]", "")
t = replacetext(t, "\[logo_eridani_small\]", "")
t = replacetext(t, "\[logo_zavod\]", "")
t = replacetext(t, "\[logo_zavod_small\]", "")
t = replacetext(t, "\[logo_hp\]", "")
t = replacetext(t, "\[logo_hp_small\]", "")
t = replacetext(t, "\[logo_be\]", "")
t = replacetext(t, "\[logo_golden\]", "")
t = replacetext(t, "\[barcode\]", "")
if(iscrayon)
t = "<font face=\"[crayonfont]\" color=[P ? P.colour : "black"]><b>[t]</b></font>"
+17
View File
@@ -0,0 +1,17 @@
# Your name.
author: Ben10083
# 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:
- imageadd: "Added small variants to all flags and logos. It can be done by adding _small to the end of the command"
- imageadd: "Golden deep logo replaced with properly sized version."
- imageadd: "[barcode] images properly formatted."
- bugfix: "Paperwork for Nanotrasen now uses the correct new NT Logo."
- bugfix: "SCC logo downsized to scale with other logos."
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB