Reagent Scanner/Seeing

This commit is contained in:
Fox-McCloud
2015-10-18 00:44:15 -04:00
parent bd016494aa
commit aabdfc3924
10 changed files with 44 additions and 24 deletions
+11 -1
View File
@@ -1442,4 +1442,14 @@ mob/proc/yank_out_object()
M.pixel_y = initial(M.pixel_y)
/mob/proc/can_unbuckle(mob/user)
return 1
return 1
//Can the mob see reagents inside of containers?
/mob/proc/can_see_reagents()
if(ishuman(src))
var/mob/living/carbon/human/H = src
for(var/obj/item/clothing/C in H) //If they have some clothing equipped that lets them see reagents, they can see reagents
if(C.scan_reagents)
return 1
return 0