From 2b895dc88e134710de6d08bdda2db433e66bcc16 Mon Sep 17 00:00:00 2001 From: Jack Edge Date: Wed, 4 May 2016 16:53:38 +0100 Subject: [PATCH] Loot information for the log --- code/controllers/master.dm | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/code/controllers/master.dm b/code/controllers/master.dm index 424ddf8f9c8..d48be2c82c4 100644 --- a/code/controllers/master.dm +++ b/code/controllers/master.dm @@ -69,6 +69,15 @@ var/global/datum/controller/master/Master = new() return world << "Initializing subsystems..." + var/tally = 0 + var/obj/effect/spawner/lootdrop/maintenance/L = new() + // Grab it before it gets deleted + var/list/loot = L.loot.Copy() + for(var/item in loot) + tally += loot[item] + world.log << "There are [tally] items in the \ + maintenance loot table." + preloadTemplates() // Pick a random away mission. createRandomZlevel()