Fixes and tweaks to try to get things to work.

This commit is contained in:
Fermi
2019-04-23 07:32:56 +01:00
parent ac541ff9d2
commit d6d6dc77f1
3 changed files with 24 additions and 25 deletions
+3 -2
View File
@@ -665,8 +665,6 @@
message_admins("purity: [purity], purity of beaker")
message_admins("Temp before change: [chem_temp], pH after change: [pH]")
//Apply pH changes and thermal output of reaction to beaker
chem_temp += (C.ThermicConstant * stepChemAmmount)
pH += (C.HIonRelease * stepChemAmmount)
message_admins("Temp after change: [chem_temp], pH after change: [pH]")
// End.
@@ -687,6 +685,9 @@
SSblackbox.record_feedback("tally", "chemical_reaction", cached_results[P]*stepChemAmmount, P)//log
add_reagent(P, cached_results[P]*stepChemAmmount, null, chem_temp)//add reagent function!! I THINK I can do this:
chem_temp += (C.ThermicConstant * stepChemAmmount)
pH += (C.HIonRelease * stepChemAmmount)
reactedVol = reactedVol + stepChemAmmount