diff --git a/code/__HELPERS/names.dm b/code/__HELPERS/names.dm index 6b90ace2489..d6ae4ea9b1b 100644 --- a/code/__HELPERS/names.dm +++ b/code/__HELPERS/names.dm @@ -17,19 +17,7 @@ var/church_name = null var/command_name = null /proc/command_name() - if(command_name) - return command_name - - var/name = "Central Command" - - command_name = name - return name - -/proc/change_command_name(var/name) - - command_name = name - - return name + return using_map.dock_name var/religion_name = null /proc/religion_name() @@ -44,20 +32,10 @@ var/religion_name = null return capitalize(name) /proc/system_name() - return "Nyx" + return using_map.starsys_name /proc/station_name() - if(station_name) - return station_name - - var/name = "" - - if(config && config.server_name) - world.name = "[config.server_name]: [name]" - else - world.name = station_name - - return station_name + return using_map.station_name /proc/new_station_name() var/random = rand(1,5) @@ -102,18 +80,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) diff --git a/code/_globalvars/configuration.dm b/code/_globalvars/configuration.dm index 88d4594e740..d26dc711339 100644 --- a/code/_globalvars/configuration.dm +++ b/code/_globalvars/configuration.dm @@ -2,7 +2,6 @@ var/datum/configuration/config = null var/host = null var/join_motd = null -var/station_name = "NSS Cyberiad" var/game_version = "Custom ParaCode" var/changelog_hash = md5('html/changelog.html') //used to check if the CL changed var/game_year = (text2num(time2text(world.realtime, "YYYY")) + 544) diff --git a/code/game/machinery/computer/specops_shuttle.dm b/code/game/machinery/computer/specops_shuttle.dm index d50d0355d5c..b29d79f40d8 100644 --- a/code/game/machinery/computer/specops_shuttle.dm +++ b/code/game/machinery/computer/specops_shuttle.dm @@ -231,7 +231,7 @@ var/specops_shuttle_timeleft = 0 for(var/turf/T in get_area_turfs(end_location) ) var/mob/M = locate(/mob) in T - to_chat(M, "You have arrived to [station_name]. Commence operation!") + to_chat(M, "You have arrived to [station_name()]. Commence operation!") for(var/obj/machinery/computer/specops_shuttle/S in world) S.specops_shuttle_timereset = world.time + SPECOPS_RETURN_DELAY @@ -275,8 +275,8 @@ var/specops_shuttle_timeleft = 0 dat = temp else dat += {"
Special Operations Shuttle
- \nLocation: [specops_shuttle_moving_to_station || specops_shuttle_moving_to_centcom ? "Departing for [station_name] in ([specops_shuttle_timeleft] seconds.)":specops_shuttle_at_station ? "Station":"Dock"]
- [specops_shuttle_moving_to_station || specops_shuttle_moving_to_centcom ? "\n*The Special Ops. shuttle is already leaving.*
\n
":specops_shuttle_at_station ? "\nShuttle standing by...
\n
":"\nDepart to [station_name]
\n
"] + \nLocation: [specops_shuttle_moving_to_station || specops_shuttle_moving_to_centcom ? "Departing for [station_name()] in ([specops_shuttle_timeleft] seconds.)":specops_shuttle_at_station ? "Station":"Dock"]
+ [specops_shuttle_moving_to_station || specops_shuttle_moving_to_centcom ? "\n*The Special Ops. shuttle is already leaving.*
\n
":specops_shuttle_at_station ? "\nShuttle standing by...
\n
":"\nDepart to [station_name()]
\n
"] \nClose"} user << browse(dat, "window=computer;size=575x450") @@ -318,7 +318,7 @@ var/specops_shuttle_timeleft = 0 to_chat(usr, "The Special Operations shuttle is unable to leave.") return - to_chat(usr, "The Special Operations shuttle will arrive on [station_name] in [(SPECOPS_MOVETIME/10)] seconds.") + to_chat(usr, "The Special Operations shuttle will arrive on [station_name()] in [(SPECOPS_MOVETIME/10)] seconds.") temp += "Shuttle departing.

OK" updateUsrDialog() @@ -337,4 +337,4 @@ var/specops_shuttle_timeleft = 0 add_fingerprint(usr) updateUsrDialog() - return \ No newline at end of file + return diff --git a/code/game/machinery/computer/syndicate_specops_shuttle.dm b/code/game/machinery/computer/syndicate_specops_shuttle.dm index 14a3fdb72ca..b1a278a8955 100644 --- a/code/game/machinery/computer/syndicate_specops_shuttle.dm +++ b/code/game/machinery/computer/syndicate_specops_shuttle.dm @@ -172,7 +172,7 @@ var/syndicate_elite_shuttle_timeleft = 0 for(var/turf/T in get_area_turfs(end_location) ) var/mob/M = locate(/mob) in T - to_chat(M, "You have arrived to [station_name]. Commence operation!") + to_chat(M, "You have arrived to [station_name()]. Commence operation!") /proc/syndicate_elite_can_move() if(syndicate_elite_shuttle_moving_to_station || syndicate_elite_shuttle_moving_to_mothership) return 0 @@ -209,8 +209,8 @@ var/syndicate_elite_shuttle_timeleft = 0 dat = temp else dat = {"
Special Operations Shuttle
- \nLocation: [syndicate_elite_shuttle_moving_to_station || syndicate_elite_shuttle_moving_to_mothership ? "Departing for [station_name] in ([syndicate_elite_shuttle_timeleft] seconds.)":syndicate_elite_shuttle_at_station ? "Station":"Dock"]
- [syndicate_elite_shuttle_moving_to_station || syndicate_elite_shuttle_moving_to_mothership ? "\n*The Syndicate Elite shuttle is already leaving.*
\n
":syndicate_elite_shuttle_at_station ? "\nShuttle Offline
\n
":"\nDepart to [station_name]
\n
"] + \nLocation: [syndicate_elite_shuttle_moving_to_station || syndicate_elite_shuttle_moving_to_mothership ? "Departing for [station_name()] in ([syndicate_elite_shuttle_timeleft] seconds.)":syndicate_elite_shuttle_at_station ? "Station":"Dock"]
+ [syndicate_elite_shuttle_moving_to_station || syndicate_elite_shuttle_moving_to_mothership ? "\n*The Syndicate Elite shuttle is already leaving.*
\n
":syndicate_elite_shuttle_at_station ? "\nShuttle Offline
\n
":"\nDepart to [station_name()]
\n
"] \nClose"} user << browse(dat, "window=computer;size=575x450") @@ -237,7 +237,7 @@ var/syndicate_elite_shuttle_timeleft = 0 to_chat(usr, "The Syndicate Elite shuttle is unable to leave.") return - to_chat(usr, "The Syndicate Elite shuttle will arrive on [station_name] in [(SYNDICATE_ELITE_MOVETIME/10)] seconds.") + to_chat(usr, "The Syndicate Elite shuttle will arrive on [station_name()] in [(SYNDICATE_ELITE_MOVETIME/10)] seconds.") temp = "Shuttle departing.

OK" updateUsrDialog() @@ -257,4 +257,4 @@ var/syndicate_elite_shuttle_timeleft = 0 add_fingerprint(usr) updateUsrDialog() - return \ No newline at end of file + return diff --git a/code/modules/holiday/holiday.dm b/code/modules/holiday/holiday.dm index 85162a75c2d..414df7f7589 100644 --- a/code/modules/holiday/holiday.dm +++ b/code/modules/holiday/holiday.dm @@ -349,10 +349,8 @@ holiday_master.holidays = list() holiday_master.holidays[H.name] = H - station_name = null - station_name() //update our hub status world.update_status() message_admins("ADMIN: Event: [key_name_admin(src)] force-set Holiday to \"[H]\"") - log_admin("[key_name(src)] force-set Holiday to \"[H]\"") \ No newline at end of file + log_admin("[key_name(src)] force-set Holiday to \"[H]\"") diff --git a/code/modules/shuttle/supply.dm b/code/modules/shuttle/supply.dm index 4a060385dea..77d77c5706d 100644 --- a/code/modules/shuttle/supply.dm +++ b/code/modules/shuttle/supply.dm @@ -297,7 +297,7 @@ var/obj/item/weapon/paper/reqform = new /obj/item/weapon/paper(_loc) playsound(_loc, 'sound/goonstation/machines/printer_thermal.ogg', 50, 1) reqform.name = "Requisition Form - [crates] '[object.name]' for [orderedby]" - reqform.info += "

[station_name] Supply Requisition Form


" + reqform.info += "

[station_name()] Supply Requisition Form


" reqform.info += "INDEX: #[shuttle_master.ordernum]
" reqform.info += "REQUESTED BY: [orderedby]
" reqform.info += "RANK: [orderedbyRank]
" diff --git a/code/world.dm b/code/world.dm index 542e19ef619..b9063683763 100644 --- a/code/world.dm +++ b/code/world.dm @@ -61,8 +61,12 @@ var/global/list/map_transition_config = MAP_TRANSITION_CONFIG map_name = "[using_map.name]" else map_name = "Unknown" - - + + + if(config && config.server_name) + name = "[config.server_name]: [station_name()]" + else + name = station_name() #undef RECOMMENDED_VERSION