Change efficiency labels

This commit is contained in:
ducdat0507 2022-12-08 21:10:42 +07:00
parent 6a9e3cc1ac
commit 34b96f6862

View file

@ -979,7 +979,12 @@ const layer = createLayer(id, function (this: BaseLayer) {
<Spacer />
{
Decimal.lt(coalEffectiveness.value, 1) ?
"Your drills are working at " + format(Decimal.mul(coalEffectiveness.value, 100)) + "% effectiveness due to lack of coal."
"Coal efficiency: " + format(Decimal.mul(coalEffectiveness.value, 100)) + "%"
: null
}
{
Decimal.lt(oilEffectiveness.value, 1) ?
"Oil efficiency: " + format(Decimal.mul(oilEffectiveness.value, 100)) + "%"
: null
}
<MainDisplay