Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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