mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-11 07:58:57 +01:00
Update DMM Suite (#2711)
Updates the DMM Suite from /tg/ upstream, adding the ability to load tgm format maps, tick-checks, and better compatibility with SSatoms / Initialize(). Also adds some framework for random ruin generation, though it is not functional yet.
This commit is contained in:
@@ -34,13 +34,14 @@ proc/createRandomZlevel()
|
||||
potentialRandomZlevels.Add(name)
|
||||
|
||||
|
||||
var/static/dmm_suite/loader = new
|
||||
if(potentialRandomZlevels.len)
|
||||
admin_notice("<span class='danger'>Loading away mission...</span>", R_DEBUG)
|
||||
|
||||
var/map = pick(potentialRandomZlevels)
|
||||
var/file = file(map)
|
||||
if(isfile(file))
|
||||
maploader.load_map(file)
|
||||
loader.load_map(file)
|
||||
world.log << "away mission loaded: [map]"
|
||||
|
||||
for(var/obj/effect/landmark/L in landmarks_list)
|
||||
|
||||
Reference in New Issue
Block a user