diff --git a/core/src/mindustry/world/blocks/production/AttributeCrafter.java b/core/src/mindustry/world/blocks/production/AttributeCrafter.java index e7d33cbf80..dc66658461 100644 --- a/core/src/mindustry/world/blocks/production/AttributeCrafter.java +++ b/core/src/mindustry/world/blocks/production/AttributeCrafter.java @@ -39,9 +39,9 @@ public class AttributeCrafter extends GenericCrafter{ addBar("efficiency", (AttributeCrafterBuild entity) -> new Bar( - () -> Core.bundle.format("bar.efficiency", (int)(entity.efficiencyScale() * 100 * displayEfficiencyScale)), + () -> Core.bundle.format("bar.efficiency", (int)(entity.efficiencyMultiplier() * 100 * displayEfficiencyScale)), () -> Pal.lightOrange, - entity::efficiencyScale)); + entity::efficiencyMultiplier)); } @Override @@ -62,10 +62,10 @@ public class AttributeCrafter extends GenericCrafter{ @Override public float getProgressIncrease(float base){ - return super.getProgressIncrease(base) * efficiencyScale(); + return super.getProgressIncrease(base) * efficiencyMultiplier(); } - public float efficiencyScale(){ + public float efficiencyMultiplier(){ return baseEfficiency + Math.min(maxBoost, boostScale * attrsum) + attribute.env(); }