More anti-griff logging thanks to intigracy's mania

This commit is contained in:
d3athrow
2014-03-10 07:03:40 -04:00
committed by ZomgPonies
parent c5687d35f4
commit 29be5b8f7e
@@ -12,6 +12,16 @@
/obj/machinery/the_singularitygen/process()
var/turf/T = get_turf(src)
if(src.energy >= 200)
if(fingerprintshidden.len)
var/prints
for(var/i = 1, i < fingerprintshidden.len, i++)
if(i > fingerprintshidden.len)
break
if(i == 1)
prints += fingerprintshidden[i]
else
prints += ", [fingerprintshidden[i]]"
log_admin("New singularity made, all touchers. [prints]. Last touched by [fingerprintslast].")
new /obj/machinery/singularity/(T, 50)
if(src) del(src)
@@ -23,6 +33,7 @@
user.visible_message("[user.name] secures [src.name] to the floor.", \
"You secure the [src.name] to the floor.", \
"You hear a ratchet")
src.add_hiddenprint(user)
else
user.visible_message("[user.name] unsecures [src.name] from the floor.", \
"You unsecure the [src.name] from the floor.", \