Skip to content

Commit

Permalink
notes
Browse files Browse the repository at this point in the history
  • Loading branch information
fohristiwhirl committed Oct 7, 2018
1 parent 4b8cb64 commit efb171c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions fluorine_renderer.html
Original file line number Diff line number Diff line change
Expand Up @@ -1680,15 +1680,14 @@
lines.push(`<li>Profit = <span style="color: ${colour}">${current}</span></li>`);
}

if (mined + absorbed - carrying - burned - deposited - scrapped !== 0) {
if (mined + absorbed - deposited - carrying - burned - scrapped !== 0) {
lines.push(`<li style="color: #ff0000">Discrepancy: ${mined + absorbed - carrying - burned - deposited - scrapped}</li>`);
}

lines.push(`</ul>`);

// Note to self - the discrepancy from halite absorbed during
// dropoff construction IS included in the deposited stat.
// But initial 5000 is not.
// Note to self - halite absorbed during dropoff construction IS included in the deposited stat.
// But initial 5000 is not. (My "gathered" stat is deposited + initial.)
}

infobox.innerHTML = lines.join("");
Expand Down

0 comments on commit efb171c

Please sign in to comment.