mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
31 lines
939 B
Plaintext
31 lines
939 B
Plaintext
/mob/living/carbon/slime/examine(mob/user)
|
|
..(user)
|
|
var/msg = ""
|
|
if (src.stat == DEAD)
|
|
msg += "<span class='deadsay'>It is limp and unresponsive.</span>\n"
|
|
else
|
|
if (src.getBruteLoss())
|
|
msg += "<span class='warning'>"
|
|
if (src.getBruteLoss() < 40)
|
|
msg += "It has some punctures in its flesh!"
|
|
else
|
|
msg += "<B>It has severe punctures and tears in its flesh!</B>"
|
|
msg += "</span>\n"
|
|
|
|
switch(powerlevel)
|
|
|
|
if(2 to 3)
|
|
msg += "It is flickering gently with a little electrical activity.\n"
|
|
|
|
if(4 to 5)
|
|
msg += "It is glowing gently with moderate levels of electrical activity.\n"
|
|
|
|
if(6 to 9)
|
|
msg += "<span class='warning'>It is glowing brightly with high levels of electrical activity.</span>\n"
|
|
|
|
if(10)
|
|
msg += "<span class='warning'><B>It is radiating with massive levels of electrical activity!</B></span>\n"
|
|
|
|
msg += "*---------*</span>"
|
|
user << msg
|
|
return |