This commit is contained in:
Thalpy
2019-11-01 00:26:22 +00:00
committed by GitHub
parent 7ace15d846
commit 642b27a10f
+2 -8
View File
@@ -157,14 +157,8 @@
if((reagents.pH < 1.5) || (reagents.pH > 12.5))
START_PROCESSING(SSobj, src)
else if((reagents.pH < -3) || (reagents.pH > 17))
var/list/seen = viewers(5, get_turf(src))
var/iconhtml = icon2html(src, seen)
for(var/mob/M in seen)
to_chat(M, "<span class='notice'>[iconhtml] \The [src]'s is damaged by the super pH and begins to deform!</span>")
if(reagents.pH < -3)
reagents.pH = -3
else
reagents.pH = 17
visible_message("<span class='notice'>[icon2html(src, viewers(src)] \The [src] is damaged by the super pH and begins to deform!</span>")
reagents.pH = CLAMP(reagents.pH, -3, 17)
container_HP -= 1