Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MIRROR] Fixes a bunch of config changes that hadn't been made properly #1489

Merged
merged 1 commit into from
Feb 28, 2024
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
2 changes: 1 addition & 1 deletion code/__DEFINES/~nova_defines/interactions.dm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#define INTERACTION_JSON_FOLDER "config/~config_nova/interactions/"
#define INTERACTION_JSON_FOLDER "config/nova/interactions/"

// Special values
#define INTERACTION_MAX_CHAR 255
Expand Down
4 changes: 2 additions & 2 deletions code/__DEFINES/~nova_defines/text.dm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// File location for in-rotation news stories
#define NEWS_FILE "[global.config.directory]/skyrat/news_stories.json"
#define NEWS_FILE "[global.config.directory]/nova/news_stories.json"
/// File location for out-of-rotation news stories
#define ARCHIVE_FILE "[global.config.directory]/skyrat/archived_stories.json"
#define ARCHIVE_FILE "[global.config.directory]/nova/archived_stories.json"
2 changes: 1 addition & 1 deletion config/config.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ $include dbconfig.txt
$include comms.txt
$include logging.txt
$include resources.txt
$include ~config_nova/config_nova.txt
$include nova/config_nova.txt
$include interviews.txt
$include lua.txt
$include auxtools.txt
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions modular_nova/modules/lorecaster/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ MODULE ID: LORECASTERS
### Description:

For broadcasting lore-related stories via newscasters and the archives app.
To add a story to rotation, add it to config/~config_nova/news_stories.json, ideally at the top of the file for maximum organization
Once a story's been out too long, or there's too many in circulation, move older ones to config/~config_nova/archived_stories.json, again ideally add it to the top (however these entries auto-sort by date in-game)
To add a story to rotation, add it to config/nova/news_stories.json, ideally at the top of the file for maximum organization
Once a story's been out too long, or there's too many in circulation, move older ones to config/nova/archived_stories.json, again ideally add it to the top (however these entries auto-sort by date in-game)

### TG Proc Changes:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ GLOBAL_PROTECT(donator_list)

/datum/player_rank_controller/donator/New()
. = ..()
legacy_file_path = "[global.config.directory]/skyrat/donators.txt"
legacy_file_path = "[global.config.directory]/nova/donators.txt"



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

/datum/player_rank_controller/mentor/New()
. = ..()
legacy_file_path = "[global.config.directory]/skyrat/mentors.txt"
legacy_file_path = "[global.config.directory]/nova/mentors.txt"


/datum/player_rank_controller/mentor/add_player(ckey)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ GLOBAL_PROTECT(veteran_list)

/datum/player_rank_controller/veteran/New()
. = ..()
legacy_file_path = "[global.config.directory]/skyrat/veteran_players.txt"
legacy_file_path = "[global.config.directory]/nova/veteran_players.txt"


/datum/player_rank_controller/veteran/add_player(ckey)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ SUBSYSTEM_DEF(title)

/datum/controller/subsystem/title/Initialize()
var/dat
if(!fexists("[global.config.directory]/skyrat/title_html.txt"))
if(!fexists("[global.config.directory]/nova/title_html.txt"))
to_chat(world, span_boldwarning("CRITICAL ERROR: Unable to read title_html.txt, reverting to backup title html, please check your server config and ensure this file exists."))
dat = DEFAULT_TITLE_HTML
else
dat = file2text("[global.config.directory]/skyrat/title_html.txt")
dat = file2text("[global.config.directory]/nova/title_html.txt")

title_html = dat

Expand Down
6 changes: 3 additions & 3 deletions modular_nova/modules/title_screen/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ Adds a brand new look to the lobby screen, adds a splash screen too, since that
## Guide:

To make sure your server doesn't/does have this feature, see config.txt
##Enable server swapping, uncomment to enable reading of swap_ips.txt (file directory: config/~config_nova/swap_ips.txt)
##Enable server swapping, uncomment to enable reading of swap_ips.txt (file directory: config/nova/swap_ips.txt)
SERVER_SWAP_ENABLED
if you use this, make sure swap_ips.txt is present in ~config_nova config.
if you use this, make sure swap_ips.txt is present in nova config.

We offer the option to customise the lobby HTML by giving you access to a file named lobby_html.txt in the config. The server will runtime if this file does not exist. Ensure it exists in directory config/~config_nova/lobby_html.txt.
We offer the option to customise the lobby HTML by giving you access to a file named lobby_html.txt in the config. The server will runtime if this file does not exist. Ensure it exists in directory config/nova/lobby_html.txt.

DO NOT UNDER ANY CIRCUMSTANCES RENAME THE ELEMENTS WITHIN THE HTML FILE, KEEP THEM AS THEY ARE.

Expand Down
Loading