Mekanism

Mekanism

111M Downloads

[v8] Speed upgrades in Chemical Infuser seem to have no effect

codewarrior0 opened this issue ยท 3 comments

commented

Putting eight speed upgrades does not appear to make the Infuser work any faster. The upgrade display says "Effect: 256.0x" but the Infuser does not produce gas any faster. The input tanks remain full of Hydrogen and Chlorine (displaying "9999" which tells me it only processes 1 per tick), and the output rate is the same as it is without any upgrades.

commented

I kludged in a fix by adding an operationsPerTick variable to TileChemicalInfuser, updating it in recalculateUpgradables, and looping over it in onUpdate. I won't bother with a PR because the Chemical Infuser seems to be unique in that it goes up to 256x, and I can't tell what you had intended for it.

commented

I think this is because the Infuser machine always processes every tick. Other machines apply the speed upgrades by reducing the ticksRequired for that machine, but Chemical Infuser always operates every tick, and there is no logic in place to run the Infuser any faster.

It does consume a lot more power when the speed upgrade is in place. (or at least, it SAYS it does.)

commented

I think I have a more proper fix now, based on the Electrolytic Separator. Had to touch ChemicalInfuserRecipe and ChemicalPairInput, adding a 'scale' argument. Will be incoming shortly.