Add config entry to hide the station name in the hub entry (#63735)

This commit is contained in:
Mothblocks
2021-12-31 21:39:51 -08:00
committed by GitHub
parent 801facad68
commit fc882d9ee0
3 changed files with 12 additions and 2 deletions
@@ -561,3 +561,6 @@
/datum/config_entry/flag/cache_assets
default = TRUE
/datum/config_entry/flag/station_name_in_hub_entry
default = FALSE
+4 -2
View File
@@ -287,13 +287,15 @@ GLOBAL_VAR(restart_counter)
if(config)
var/server_name = CONFIG_GET(string/servername)
if (server_name)
s += "<b>[server_name]</b> &#8212; "
s += "<b>[server_name]</b> "
features += "[CONFIG_GET(flag/norespawn) ? "no " : ""]respawn"
if(CONFIG_GET(flag/allow_ai))
features += "AI allowed"
hostedby = CONFIG_GET(string/hostedby)
s += "<b>[station_name()]</b>";
if (CONFIG_GET(flag/station_name_in_hub_entry))
s += " &#8212; <b>[station_name()]</b>"
s += " ("
s += "<a href=\"http://\">" //Change this to wherever you want the hub to link to.
s += "Default" //Replace this with something else. Or ever better, delete it and uncomment the game version.
+5
View File
@@ -590,3 +590,8 @@ MOTD motd.txt
## This should be disabled (through `CACHE_ASSETS 0`) on development,
## but enabled on production (the default).
CACHE_ASSETS 0
## Uncomment to allow the station name to be in the hub entry.
## You should only enable this if you can guarantee a station name doesn't break BYOND's TOS.
## BYOND staff have gotten upset at us in the past for inappropriate station names.
#STATION_NAME_IN_HUB_ENTRY