diff --git a/core/src/mindustry/content/Blocks.java b/core/src/mindustry/content/Blocks.java index f6bbd54367..0c3095b5f8 100644 --- a/core/src/mindustry/content/Blocks.java +++ b/core/src/mindustry/content/Blocks.java @@ -1454,7 +1454,8 @@ public class Blocks{ smallHeatRedirector = new HeatConductor("small-heat-redirector"){{ requirements(Category.crafting, with(Items.surgeAlloy, 8, Items.graphite, 8)); - researchCostMultiplier = 10f; + researchCostMultiplier = 2f; + researchCostMultipliers.put(Items.graphite, 7f); group = BlockGroup.heat; size = 2; diff --git a/core/src/mindustry/world/Block.java b/core/src/mindustry/world/Block.java index a1a07a6736..7850c56d7c 100644 --- a/core/src/mindustry/world/Block.java +++ b/core/src/mindustry/world/Block.java @@ -1489,6 +1489,16 @@ public class Block extends UnlockableContent implements Senseable{ @Override public double sense(Content content){ + if(content instanceof Item item){ + if(state.rules.infiniteResources) return 0; + + for(ItemStack r : requirements){ + if(r.item == item){ + return Math.round(r.amount * state.rules.buildCostMultiplier); + } + } + return 0f; + } return Double.NaN; }