diff --git a/code/game/world.dm b/code/game/world.dm index 3db89800f58e..a118f587a0a5 100644 --- a/code/game/world.dm +++ b/code/game/world.dm @@ -452,6 +452,14 @@ GLOBAL_VAR(restart_counter) features += "AI disabled" hostedby = CONFIG_GET(string/hostedby) + //MASSMETA EDIT ADDITION BEGIN (tagline) + new_status += " (" + new_status += "" + new_status += "Discord" + new_status += ")\]" + new_status += "
[CONFIG_GET(string/servertagline)]
" + //MASSMETA EDIT ADDITION END + if (CONFIG_GET(flag/station_name_in_hub_entry)) new_status += " — [station_name()]" diff --git a/config/config.txt b/config/config.txt index 8257cd2c1940..498457502117 100644 --- a/config/config.txt +++ b/config/config.txt @@ -21,6 +21,12 @@ $include map_vote.txt ## Server name: This appears at the top of the screen in-game and in the BYOND hub. Uncomment and replace 'tgstation' with the name of your choice. # SERVERNAME tgstation +## Server tagline: This will appear right below the server's title. +# SERVERTAGLINE A generic TG-based server + +## Discord Link: This is the link to discord server +# DISCORD_LINK + ## Server SQL name: This is the name used to identify the server to the SQL DB, distinct from SERVERNAME as it must be at most 32 characters. # SERVERSQLNAME tgstation diff --git a/modular_meta/_globalvars/_main_modular_globalvars_include.dm b/modular_meta/_globalvars/_main_modular_globalvars_include.dm index 05318d5fbc5e..99935bb9725b 100644 --- a/modular_meta/_globalvars/_main_modular_globalvars_include.dm +++ b/modular_meta/_globalvars/_main_modular_globalvars_include.dm @@ -3,3 +3,4 @@ #include "tgui.dm" #include "antagonists.dm" +#include "configuration.dm" diff --git a/modular_meta/_globalvars/configuration.dm b/modular_meta/_globalvars/configuration.dm new file mode 100644 index 000000000000..fc1170b4377f --- /dev/null +++ b/modular_meta/_globalvars/configuration.dm @@ -0,0 +1,5 @@ +/datum/config_entry/string/servertagline + config_entry_value = "We forgot to set the server's tagline in config.txt" + +/datum/config_entry/string/discord_link + config_entry_value = "We forgot to set the server's discord link in config.txt" \ No newline at end of file diff --git a/modular_meta/main_modular_include.dm b/modular_meta/main_modular_include.dm index 8a3e9a257f61..e44f2ef0e5bf 100644 --- a/modular_meta/main_modular_include.dm +++ b/modular_meta/main_modular_include.dm @@ -59,3 +59,4 @@ #include "tweaks\gases\includes.dm" #include "tweaks\lead_pipe\includes.dm" #include "tweaks\lgbt_removal\includes.dm" +#include "tweaks\tagline\includes.dm" diff --git a/modular_meta/tweaks/tagline/includes.dm b/modular_meta/tweaks/tagline/includes.dm new file mode 100644 index 000000000000..7843062eddf3 --- /dev/null +++ b/modular_meta/tweaks/tagline/includes.dm @@ -0,0 +1,6 @@ +/datum/modpack/tagline + id = "tagline" + name = "Таглайн" + group = "Tweaks" + desc = "Допускает возможность добавления описания сервера в хабе." + author = "5177l3"