Okay, Ned, I calculated what the eco-damage should be for the test above, using the following formula:
Eco-Damage = Damage*Life*Planet*Diff*Techs/100
where:
Life = 2
Planet = 3
Diff = 5
Techs = 128
Damage = (Terraforming - CleanMins1) + (Minerals - CleanMins2)/Goodfacs
Cleanmins2 = Cleanmins - Cleanmins1
Reverse engineering the value 64 in the formula allowed me to calculate that the techs value had to be 128.
Here are the calculated results, when I truncate the Terrafoming value before sticking it into the formula:
Here is your original table:
Points of interest:
1) You appear to have switched the values in the Condensor Row for the TP&CP and NR values.
2) Terraforming is obviously not divided by Goodfacs. If it was, the value for the NoWorkers row would decrease below 64 in yhr TP&CP row. I ran a few values and they didn't match.
3) Goodfacs obviously does NOT add to CleanMins, or subtract from terraforming or minerals. In addition to noting that my calculated values match when I don't use a formula with Goodfacs in the top, I ran a few values through and found that it didn't match. You must have been observing a rounding/truncate situation as I previously described when you thought you had an increase in cleanmins. Remeber. If you end up with a value of 1.25, and it is divided tby 2 for a CP to .75 and then truncated/rounded to 0, you appear to have added two clean minerals, but have only added one to the Cleanmins value in the formula.
Barring moving the Atrocities under the goodfacs division, we are obviously back with:
Damage = (Terraforming - CleanMins1) + (Minerals - CleanMins2)/Goodfacs + 5*Atrocities
Cleanmins2 = Cleanmins - Cleanmins1
Cleanmins = (16) + (# fungal blooms) + (# of Hybrid Forests, Tree Farms, Centauri Preserves, and Temple of Planets constructed by your faction, provided at least one fungal bloom has occured)
Goodfacs = (1) + (# of Centauri Preserves, Temple of Planet, Nanoreplicators in this base) + (# of Pholtus Mutagen + Singularity Inducator Secret projects owned by your faction)
I won't reconstruct the Terraforming fomula again, and I can't remember anymore if we need to include Nanoreplicators and the SPs in the Clean minerals line if they are constructed (as opposed to just existing). I also can't remember it only counts ones constructed after your first fungal bloom, or counts the ones you constructed before the fungal bloom but only after it occurs. My formula says the latter right now.
Eco-Damage = Damage*Life*Planet*Diff*Techs/100
where:
Life = 2
Planet = 3
Diff = 5
Techs = 128
Damage = (Terraforming - CleanMins1) + (Minerals - CleanMins2)/Goodfacs
Cleanmins2 = Cleanmins - Cleanmins1
Reverse engineering the value 64 in the formula allowed me to calculate that the techs value had to be 128.
Here are the calculated results, when I truncate the Terrafoming value before sticking it into the formula:
Code:
RawMins NoFACS CP TP TP&CP NR NR&TP PM SI PM&SI NoWorkers 1 76.8 64 64 64 64 64 64 64 64 Condensor 2 89.6 76.8 76.8 64 76.8 76.8 76.8 76.8 76.8 BoreHole 7 153.6 102.4 102.4 89.6 128 102.4 102.4 128 102.4
Code:
RawMins NoFACS CP TP TP&CP NR NR&TP PM SI PM&SI NoWorkers 1 77 64 64 64 64 64 64 64 64 Condensor 2 89 77 77 77 64 77 77 77 77 BoreHole 7 153 102 102 89 128 102 102 128 102
1) You appear to have switched the values in the Condensor Row for the TP&CP and NR values.
2) Terraforming is obviously not divided by Goodfacs. If it was, the value for the NoWorkers row would decrease below 64 in yhr TP&CP row. I ran a few values and they didn't match.
3) Goodfacs obviously does NOT add to CleanMins, or subtract from terraforming or minerals. In addition to noting that my calculated values match when I don't use a formula with Goodfacs in the top, I ran a few values through and found that it didn't match. You must have been observing a rounding/truncate situation as I previously described when you thought you had an increase in cleanmins. Remeber. If you end up with a value of 1.25, and it is divided tby 2 for a CP to .75 and then truncated/rounded to 0, you appear to have added two clean minerals, but have only added one to the Cleanmins value in the formula.
Barring moving the Atrocities under the goodfacs division, we are obviously back with:
Damage = (Terraforming - CleanMins1) + (Minerals - CleanMins2)/Goodfacs + 5*Atrocities
Cleanmins2 = Cleanmins - Cleanmins1
Cleanmins = (16) + (# fungal blooms) + (# of Hybrid Forests, Tree Farms, Centauri Preserves, and Temple of Planets constructed by your faction, provided at least one fungal bloom has occured)
Goodfacs = (1) + (# of Centauri Preserves, Temple of Planet, Nanoreplicators in this base) + (# of Pholtus Mutagen + Singularity Inducator Secret projects owned by your faction)
I won't reconstruct the Terraforming fomula again, and I can't remember anymore if we need to include Nanoreplicators and the SPs in the Clean minerals line if they are constructed (as opposed to just existing). I also can't remember it only counts ones constructed after your first fungal bloom, or counts the ones you constructed before the fungal bloom but only after it occurs. My formula says the latter right now.
Comment