Loot information for the log

This commit is contained in:
Jack Edge
2016-05-04 16:53:38 +01:00
parent 85173e3b63
commit 2b895dc88e
+9
View File
@@ -69,6 +69,15 @@ var/global/datum/controller/master/Master = new()
return
world << "<span class='boldannounce'>Initializing subsystems...</span>"
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()