Skip to content

Commit

Permalink
Adds new banner (#20771)
Browse files Browse the repository at this point in the history
* Update world.dm

* Update world.dm

* Update world.dm

* Update world.dm

* Update world.dm

* Update world.dm
  • Loading branch information
ToasterBiome authored Nov 4, 2023
1 parent 48bea93 commit b868aa9
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions yogstation/code/game/world.dm
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,17 @@ GLOBAL_LIST_EMPTY(donators)
var/s = ""
var/server_name = CONFIG_GET(string/servername)
if (server_name)
s += "<br><b>[server_name]</b> &#8212; New Player Friendly &#8212; 99% Lag Free!!"
s += "<br>(<a href=\"https://tinyurl.com/yogsfo\">Forums</a>|<a href=\"https://tinyurl.com/yogsdis\">Discord</a>)" // The Forum & Discord links line
s += "<br>Time: <b>[gameTimestamp("hh:mm")]</b>"
s += "<br>Map: <b>[SSmapping?.config?.map_name || "Unknown"]</b>"
s += "<br>Alert: <b>[capitalize(get_security_level())]</b>"
s += "<br><i>[pick(world.file2list("yogstation/strings/taglines.txt"))]</i><br>"
s += "[server_name]\] &#8212; Dive in Now: Perfect for Beginners!"
s += "<br>99% Lag-Free <b>MRP</b> Experience! Join the Adventure!"
s += "<br>Time: <b>[gameTimestamp("hh:mm")]</b> | Map: <b>[SSmapping?.config?.map_name || "Unknown"]</b> | Alert: <b>[capitalize(get_security_level())]</b>"
s += "<br>\[<a href=\"https://yogstation.net/\">Website</a>" // link to our website so they can join forums + discord from here

//As of October 27th, 2023 taglines.txt is no longer used in the status because we never had the characters to spare it, so it would put 2-3 random characters at the end and look bad.

//PLAYER COUNT

var/players = GLOB.clients.len
/*
var/popcaptext = ""
if(players)
popcaptext = "~[players] player\s"
Expand All @@ -59,11 +60,17 @@ GLOBAL_LIST_EMPTY(donators)
s += "\[[popcaptext][queuetext]"
*/

/*
//HOST
var/hostedby = CONFIG_GET(string/hostedby)
if (!host && hostedby)
s += " hosted by <b>[hostedby]</b>"
*/

//RETURN
status = s
game_state = (CONFIG_GET(number/extreme_popcap) && players >= CONFIG_GET(number/extreme_popcap)) //tells the hub if we are full
Expand Down

0 comments on commit b868aa9

Please sign in to comment.