This commit is contained in:
Fox-McCloud
2015-10-19 17:20:35 -04:00
parent aabdfc3924
commit 6d2a2f3eba
3 changed files with 8 additions and 10 deletions
+2 -4
View File
@@ -243,10 +243,8 @@ its easier to just keep the beam vertical.
for(var/datum/reagent/R in reagents.reagent_list)
user << "[R.volume] units of [R.name]"
else //Otherwise, just show the total volume
var/total_volume = 0
for(var/datum/reagent/R in reagents.reagent_list)
total_volume += R.volume
user << "[total_volume] units of various reagents"
if(reagents && reagents.reagent_list.len)
user << "[reagents.total_volume] units of various reagents."
else
user << "Nothing."
@@ -1819,4 +1819,9 @@
/mob/living/carbon/human/proc/get_full_print()
if(!dna || !dna.uni_identity)
return
return md5(dna.uni_identity)
return md5(dna.uni_identity)
/mob/living/carbon/human/can_see_reagents()
for(var/obj/item/clothing/C in src) //If they have some clothing equipped that lets them see reagents, they can see reagents
if(C.scan_reagents)
return 1
-5
View File
@@ -1447,9 +1447,4 @@ mob/proc/yank_out_object()
//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