mirror of
https://github.com/fulpstation/fulpstation.git
synced 2025-12-10 10:01:40 +00:00
It's now a config option
This commit is contained in:
@@ -48,12 +48,13 @@ var/religion_name = null
|
||||
return station_name
|
||||
|
||||
if(events)
|
||||
var/short_name = pick("Station", "Fortress", "Frontier", "Suffix", "Death-trap", "Space-hulk", "Lab", "Hazard","Spess Junk", "Fishery", "No-Moon", "Tomb", "Crypt", "Hut", "Monkey", "Bomb", "Trade Post", "Fortress", "Village", "Town", "City", "Edition", "Hive", "Complex", "Base", "Facility", "Depot", "Outpost", "Installation", "Drydock", "Observatory", "Array", "Relay", "Monitor", "Platform", "Construct", "Hangar", "Prison", "Center", "Port", "Waystation", "Factory", "Waypoint", "Stopover", "Hub", "HQ", "Office", "Object", "Fortification", "Colony", "Planet-Cracker", "Roost", "Fat Camp")
|
||||
|
||||
station_name = "Space Station 13"
|
||||
if (config && config.station_name)
|
||||
station_name = config.station_name
|
||||
else
|
||||
station_name = new_station_name()
|
||||
|
||||
if (config && config.server_name)
|
||||
world.name = "[config.server_name]: [short_name]"
|
||||
world.name = config.server_name
|
||||
else
|
||||
world.name = station_name
|
||||
|
||||
@@ -108,17 +109,6 @@ var/religion_name = null
|
||||
new_station_name += pick("13","XIII","Thirteen")
|
||||
return new_station_name
|
||||
|
||||
/proc/world_name(var/name)
|
||||
|
||||
station_name = name
|
||||
|
||||
if (config && config.server_name)
|
||||
world.name = "[config.server_name]: [name]"
|
||||
else
|
||||
world.name = name
|
||||
|
||||
return name
|
||||
|
||||
var/syndicate_name = null
|
||||
/proc/syndicate_name()
|
||||
if (syndicate_name)
|
||||
|
||||
@@ -6,7 +6,8 @@
|
||||
#define EVERYONE_HAS_MAINT_ACCESS 4
|
||||
|
||||
/datum/configuration
|
||||
var/server_name = null // server name (for world name / status)
|
||||
var/server_name = null // server name (the name of the game window)
|
||||
var/station_name = null // station name (the name of the station in-game)
|
||||
var/server_suffix = 0 // generate numeric suffix based on server port
|
||||
var/lobby_countdown = 120 // In between round countdown.
|
||||
|
||||
@@ -234,6 +235,8 @@
|
||||
config.respawn = 0
|
||||
if("servername")
|
||||
config.server_name = value
|
||||
if("stationname")
|
||||
config.station_name = value
|
||||
if("serversuffix")
|
||||
config.server_suffix = 1
|
||||
if("hostedby")
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
## Server name: This appears at the top of the screen in-game. In this case it will read "tgstation: station_name" where station_name is the randomly generated name of the station for the round. Remove the # infront of SERVERNAME and replace 'tgstation' with the name of your choice
|
||||
## Server name: This appears at the top of the screen in-game. Remove the # infront of SERVERNAME and replace 'tgstation' with the name of your choice
|
||||
# SERVERNAME tgstation
|
||||
|
||||
## Station name: The name of the station as it is referred to in-game. If commented out, the game will generate a random name instead.
|
||||
STATIONNAME Space Station 13
|
||||
|
||||
# Lobby time: This is the amount of time between rounds that players have to setup their characters and be ready.
|
||||
LOBBY_COUNTDOWN 120
|
||||
|
||||
|
||||
Reference in New Issue
Block a user