mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-02 04:23:48 +01:00
commit
c663b5edc7
@ -2335,10 +2335,10 @@ Warehouse.prototype.createMaterialUI = function(mat, matName, parentRefs) {
|
|||||||
//If Market Research upgrades are unlocked, add competition and demand info
|
//If Market Research upgrades are unlocked, add competition and demand info
|
||||||
var cmpAndDmdText = "";
|
var cmpAndDmdText = "";
|
||||||
if (company.unlockUpgrades[2] === 1) {
|
if (company.unlockUpgrades[2] === 1) {
|
||||||
cmpAndDmdText += "<br>Competition: " + formatNumber(mat.cmp, 3);
|
cmpAndDmdText += "<br>Demand: " + formatNumber(mat.dmd, 3);
|
||||||
}
|
}
|
||||||
if (company.unlockUpgrades[3] === 1) {
|
if (company.unlockUpgrades[3] === 1) {
|
||||||
cmpAndDmdText += "<br>Demand: " + formatNumber(mat.dmd, 3);
|
cmpAndDmdText += "<br>Competition: " + formatNumber(mat.cmp, 3);
|
||||||
}
|
}
|
||||||
var innerTxt = "<p class='tooltip'>" + mat.name + ": " + formatNumber(mat.qty, 3) +
|
var innerTxt = "<p class='tooltip'>" + mat.name + ": " + formatNumber(mat.qty, 3) +
|
||||||
"(" + formatNumber(totalGain, 3) + "/s)" +
|
"(" + formatNumber(totalGain, 3) + "/s)" +
|
||||||
|
Loading…
Reference in New Issue
Block a user