Ghommie
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user