From d513bda437fe47111f51f024ed92887b6e8e52cb Mon Sep 17 00:00:00 2001 From: Shadowlight213 Date: Thu, 29 Oct 2015 19:26:59 -0700 Subject: [PATCH] Moves away mission loader file to config folder. --- code/modules/awaymissions/zlevel.dm | 2 +- {_maps/RandomZLevels => config}/fileList.txt | 44 ++++++++++---------- 2 files changed, 23 insertions(+), 23 deletions(-) rename {_maps/RandomZLevels => config}/fileList.txt (94%) diff --git a/code/modules/awaymissions/zlevel.dm b/code/modules/awaymissions/zlevel.dm index 8b2339d34cb..046417a4a95 100644 --- a/code/modules/awaymissions/zlevel.dm +++ b/code/modules/awaymissions/zlevel.dm @@ -4,7 +4,7 @@ var/list/potentialRandomZlevels = list() world << "Searching for away missions..." - var/list/Lines = file2list("_maps/RandomZLevels/fileList.txt") + var/list/Lines = file2list("config/fileList.txt") if(!Lines.len) return for (var/t in Lines) if (!t) diff --git a/_maps/RandomZLevels/fileList.txt b/config/fileList.txt similarity index 94% rename from _maps/RandomZLevels/fileList.txt rename to config/fileList.txt index 634f89c5937..32a860e39e7 100644 --- a/_maps/RandomZLevels/fileList.txt +++ b/config/fileList.txt @@ -1,23 +1,23 @@ -#List the potential random Z-levels here. -#Maps must be the full path to them -#Maps should be 255x255 or smaller and be bounded. Falling off the edge of the map will result in undefined behavior. -#SPECIFYING AN INVALID MAP WILL RESULT IN RUNTIMES ON GAME START -#UNCOMMENT THE AWAY MISSION LINE IN SPACE_LEVELS.TXT IN THE CONFIG FOLDER IF YOU HAVE AWAY MISSIONS ENABLED! FAILURE TO DO THIS WILL CAUSE RUNTIMES!! - -#!!IMPORTANT NOTES FOR HOSTING AWAY MISSIONS!!: -#Do NOT tick the maps during compile -- the game uses this list to decide which map to load. Ticking the maps will result in them ALL being loaded at once. -#DO tick the associated code file for the away mission you are enabling. Otherwise, the map will be trying to reference objects which do not exist, which will cause runtime errors! - -#_maps/RandomZLevels/example.dmm -#_maps/RandomZLevels/blackmarketpackers.dmm -#_maps/RandomZLevels/stationCollision.dmm -#_maps/RandomZLevels/spacebattle.dmm -#_maps/RandomZLevels/beach.dmm -#_maps/RandomZLevels/Academy.dmm -#_maps/RandomZLevels/wildwest.dmm -#_maps/RandomZLevels/challenge.dmm -#_maps/RandomZLevels/listeningpost.dmm -#_maps/RandomZLevels/spacehotel.dmm -#_maps/RandomZLevels/centcomAway.dmm -#_maps/RandomZLevels/moonoutpost19.dmm +#List the potential random Z-levels here. +#Maps must be the full path to them +#Maps should be 255x255 or smaller and be bounded. Falling off the edge of the map will result in undefined behavior. +#SPECIFYING AN INVALID MAP WILL RESULT IN RUNTIMES ON GAME START +#UNCOMMENT THE AWAY MISSION LINE IN SPACE_LEVELS.TXT IN THE CONFIG FOLDER IF YOU HAVE AWAY MISSIONS ENABLED! FAILURE TO DO THIS WILL CAUSE RUNTIMES!! + +#!!IMPORTANT NOTES FOR HOSTING AWAY MISSIONS!!: +#Do NOT tick the maps during compile -- the game uses this list to decide which map to load. Ticking the maps will result in them ALL being loaded at once. +#DO tick the associated code file for the away mission you are enabling. Otherwise, the map will be trying to reference objects which do not exist, which will cause runtime errors! + +#_maps/RandomZLevels/example.dmm +#_maps/RandomZLevels/blackmarketpackers.dmm +#_maps/RandomZLevels/stationCollision.dmm +#_maps/RandomZLevels/spacebattle.dmm +#_maps/RandomZLevels/beach.dmm +#_maps/RandomZLevels/Academy.dmm +#_maps/RandomZLevels/wildwest.dmm +#_maps/RandomZLevels/challenge.dmm +#_maps/RandomZLevels/listeningpost.dmm +#_maps/RandomZLevels/spacehotel.dmm +#_maps/RandomZLevels/centcomAway.dmm +#_maps/RandomZLevels/moonoutpost19.dmm #_maps/RandomZLevels/undergroundoutpost45.dmm \ No newline at end of file