TG Mining Items

This commit is contained in:
Fox-McCloud
2015-01-30 00:23:53 -05:00
parent 88fc9a7dd9
commit 2b85b9b777
15 changed files with 181 additions and 86 deletions
+4 -1
View File
@@ -43,7 +43,7 @@ REAGENT SCANNER
/obj/item/device/t_scanner/attack_self(mob/user)
on = !on
icon_state = "t-ray[on]"
icon_state = copytext(icon_state, 1, length(icon_state))+"[on]"
if(on)
processing_objects.Add(src)
@@ -53,6 +53,9 @@ REAGENT SCANNER
if(!on)
processing_objects.Remove(src)
return null
scan()
/obj/item/device/t_scanner/proc/scan()
for(var/turf/T in range(scan_range, src.loc) )