//Handles blobs without being pissy about it datum/controller/process/blob var/list/blobs = list() var/tmp/list/detailed_count var/tmp/datum/updateQueue/blobUpdateQueue setup() name = "Blob" schedule_interval = 31 // 3.1 seconds detailed_count = new blobUpdateQueue = new doWork() for (var/obj/blob/B in blobs) if (B.runOnLife || B.poison) B.Life() scheck() /*var/currentTick = ticks for(var/obj/blob/B in blobs) if (prob (B.life_prob)) B.Life() detailed_count["[B.type]"]++ scheck(currentTick)*/ tickDetail() if (detailed_count && detailed_count.len) var/stats = "Blob Stats:
" var/count for (var/thing in detailed_count) count = detailed_count[thing] stats += "[thing] processed [count] times. Total blobs: [blobs.len]
" boutput(usr, "
[stats]")