Skip to content
Merged
Show file tree
Hide file tree
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
8 changes: 8 additions & 0 deletions code/game/world.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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 += "<a href=\"[CONFIG_GET(string/discord_link)]\">"
new_status += "Discord"
new_status += ")\]"
new_status += "<br>[CONFIG_GET(string/servertagline)]<br>"
//MASSMETA EDIT ADDITION END

if (CONFIG_GET(flag/station_name_in_hub_entry))
new_status += " &#8212; <b>[station_name()]</b>"

Expand Down
6 changes: 6 additions & 0 deletions config/config.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@

#include "tgui.dm"
#include "antagonists.dm"
#include "configuration.dm"
5 changes: 5 additions & 0 deletions modular_meta/_globalvars/configuration.dm
Original file line number Diff line number Diff line change
@@ -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"
1 change: 1 addition & 0 deletions modular_meta/main_modular_include.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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"
6 changes: 6 additions & 0 deletions modular_meta/tweaks/tagline/includes.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/datum/modpack/tagline
id = "tagline"
name = "Таглайн"
group = "Tweaks"
desc = "Допускает возможность добавления описания сервера в хабе."
author = "5177l3"
Loading