Skip to content

Commit

Permalink
Move/rename gateway map load text file
Browse files Browse the repository at this point in the history
maps/RandomZlevels/fileList.txt >> config/awaymissions.txt

Included example in examples.
  • Loading branch information
Arokha committed Apr 13, 2016
1 parent d7d3677 commit 3219edc
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/awaymissions/zlevel.dm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ proc/createRandomZlevel()

var/list/potentialRandomZlevels = list()
world << "\red \b Searching for away missions..."
var/list/Lines = file2list("maps/RandomZLevels/fileList.txt")
var/list/Lines = file2list("config/awaymissions.txt")
if(!Lines.len) return
for (var/t in Lines)
if (!t)
Expand Down
11 changes: 11 additions & 0 deletions config/example/awaymissions.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#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

#maps/RandomZLevels/awaymission.dmm
maps/RandomZLevels/beach.dmm
maps/RandomZLevels/blackmarketpackers.dmm
maps/RandomZLevels/labyrinth.dmm
maps/RandomZLevels/carpfarm.dmm
maps/RandomZLevels/listeningpost.dmm

0 comments on commit 3219edc

Please sign in to comment.