mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 11:37:40 +01:00
Reagent Scanner/Seeing
This commit is contained in:
+11
-1
@@ -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
|
||||
Reference in New Issue
Block a user