Okay, forgot to stage changes. Now compile safe.
This commit is contained in:
@@ -1564,10 +1564,10 @@ And as stated earlier, this chem is hard to make, and is punishing on failure. Y
|
||||
else if (pH >= 7)
|
||||
pH = 7
|
||||
holder.pH = ((holder.pH * holder.total_volume)+(pH * src.volume))/(holder.total_volume + src.volume) //Shouldn't be required
|
||||
var/list/seen = viewers(5, get_turf(my_atom))
|
||||
var/list/seen = viewers(5, get_turf(holder))
|
||||
for(var/mob/M in seen)
|
||||
to_chat(M, "<span class='warning'>The beaker fizzes as the buffer's pH changes!</b></span>")
|
||||
playsound(get_turf(holder), 'modular_citadel/sound/FermiChem/bufferadd.ogg', 50, 1, -1)
|
||||
playsound(get_turf(holder), 'sound/FermiChem/bufferadd.ogg', 50, 1, -1)
|
||||
holder.remove_reagent(src.id, 1000)
|
||||
..()
|
||||
|
||||
@@ -1590,9 +1590,9 @@ And as stated earlier, this chem is hard to make, and is punishing on failure. Y
|
||||
else if (pH <= 7)
|
||||
pH = 7
|
||||
holder.pH = ((holder.pH * holder.total_volume)+(pH * src.volume))/(holder.total_volume + src.volume) //Shouldn't be required Might be..?
|
||||
var/list/seen = viewers(5, get_turf(my_atom))
|
||||
var/list/seen = viewers(5, get_turf(holder))
|
||||
for(var/mob/M in seen)
|
||||
to_chat(M, "<span class='warning'>The beaker froths as the buffer's pH changes!</b></span>")
|
||||
playsound(get_turf(holder), 'modular_citadel/sound/FermiChem/bufferadd.ogg', 50, 1, -1)
|
||||
playsound(get_turf(holder), 'sound/FermiChem/bufferadd.ogg', 50, 1, -1)
|
||||
holder.remove_reagent(src.id, 1000)
|
||||
..()
|
||||
|
||||
@@ -97,5 +97,5 @@
|
||||
/obj/item/pHmeter/afterattack(obj/item/reagent_containers/cont, mob/user, proximity)
|
||||
if(!istype(cont))
|
||||
return
|
||||
to_chat(M, "<span class='notice'><i>gives a beep and displays [round(cont.reagents.pH, 0.1)]</i></span>")
|
||||
to_chat(src, "<span class='notice'><i>gives a beep and displays [round(cont.reagents.pH, 0.1)]</i></span>")
|
||||
desc = "An electrode attached to a small circuit box that will tell you the pH of a solution. The screen currently displays [round(cont.reagents.pH, 0.1)]."
|
||||
|
||||
Reference in New Issue
Block a user