Xenobiology consoles can now scan slimes and apply potions (#34748)

* Xenobiology consoles can now scan slimes and apply potions

* no smack
This commit is contained in:
XDTM
2018-01-29 10:59:13 +01:00
committed by AnturK
parent b3505e1276
commit 3ecf74f1fd
8 changed files with 108 additions and 43 deletions
+4 -1
View File
@@ -425,6 +425,9 @@ GAS ANALYZER
to_chat(user, "<span class='warning'>This device can only scan slimes!</span>")
return
var/mob/living/simple_animal/slime/T = M
slime_scan(T, user)
/proc/slime_scan(mob/living/simple_animal/slime/T, mob/living/user)
to_chat(user, "Slime scan results:")
to_chat(user, "[T.colour] [T.is_adult ? "adult" : "baby"] slime")
to_chat(user, "Nutrition: [T.nutrition]/[T.get_max_nutrition()]")
@@ -449,4 +452,4 @@ GAS ANALYZER
to_chat(user, "Genetic destability: [T.mutation_chance] % chance of mutation on splitting")
if (T.cores > 1)
to_chat(user, "Anomalious slime core amount detected")
to_chat(user, "Growth progress: [T.amount_grown]/[SLIME_EVOLUTION_THRESHOLD]")
to_chat(user, "Growth progress: [T.amount_grown]/[SLIME_EVOLUTION_THRESHOLD]")