diff --git a/code/defines/procs/helpers.dm b/code/defines/procs/helpers.dm index 7f93f300c90..6bda16ed7ac 100644 --- a/code/defines/procs/helpers.dm +++ b/code/defines/procs/helpers.dm @@ -1,3 +1,5 @@ +//This file was auto-corrected by findeclaration.exe on 25.5.2012 20:42:31 + /proc/hex2num(hex) if (!( istext(hex) )) @@ -832,7 +834,6 @@ Turf and target are seperate in case you want to teleport some distance from a t var/list/names = list() var/list/creatures = list() var/list/namecounts = list() - for(var/mob/M in mobs) var/name = M.name if (name in names) @@ -841,7 +842,6 @@ Turf and target are seperate in case you want to teleport some distance from a t else names.Add(name) namecounts[name] = 1 - if (M.real_name && M.real_name != M.name) name += " \[[M.original_name? M.original_name : M.real_name]\]" @@ -850,7 +850,6 @@ Turf and target are seperate in case you want to teleport some distance from a t name += " \[ghost\]" else name += " \[dead\]" - creatures[name] = M return creatures @@ -1346,8 +1345,8 @@ proc/listclearnulls(list/list) return 1 */ -/proc/do_after(var/mob/user as mob, delay as num, var/numticks = 5) // Replacing the upper one with this one because Byond keeps feeling that the upper one is an infinate loop - if(!user || isnull(user)) // This one should have less temptation +/proc/do_after(var/mob/user as mob, delay as num, var/numticks = 5, var/needhand = 1) // Replacing the upper one with this one because Byond keeps feeling that the upper one is an infinate loop + if(!user || isnull(user)) // This one should have less temptation return 0 if(numticks == 0) return 0 @@ -1358,7 +1357,10 @@ proc/listclearnulls(list/list) for(var/i = 0, iYour sanity barely endures the seconds spent in the vault's browsing window. The only thing to remind you of this when you stop browsing is a dusty old tome sitting on the desk. You don't really remember printing it." - for (var/mob/V in hearers(src)) - V.show_message("[usr] stares at the blank screen for a few moments, his expression frozen in fear. When he finally awakens from it, he looks a lot older.", 2) + user << "Your sanity barely endures the seconds spent in the vault's browsing window. The only thing to remind you of this when you stop browsing is a dusty old tome sitting on the desk. You don't really remember printing it." + user.visible_message("[user] stares at the blank screen for a few moments, his expression frozen in fear. When he finally awakens from it, he looks a lot older.", 2) src.arcanecheckout = 0 if(1) // Inventory