From eeb3093939875842e2de5c73c834967351cb73e3 Mon Sep 17 00:00:00 2001 From: Aronai Sieyes Date: Sun, 20 Jun 2021 23:56:59 -0400 Subject: [PATCH] Allow another variation of maploading --- code/controllers/subsystems/mapping.dm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/controllers/subsystems/mapping.dm b/code/controllers/subsystems/mapping.dm index b7f14bf74f6..848a5552d60 100644 --- a/code/controllers/subsystems/mapping.dm +++ b/code/controllers/subsystems/mapping.dm @@ -102,6 +102,10 @@ SUBSYSTEM_DEF(mapping) return for(var/map in picklist) + if(islist(map)) + // TRIPLE NEST. In this situation we pick one at random from the choices in the list. + //This allows a sort of a1,a2,a3,b1,b2,b3,c1,c2,c3 setup where it picks one 'a', one 'b', one 'c' + map = pick(map) var/datum/map_template/MT = map_templates[map] if(!istype(MT)) error("Randompick Z level \"[map]\" is not a valid map!")