Pokecube-Development / Pokecube-Issues-and-Wiki

This is where all issues for the core pokecube mods should go, also this is where the main wiki should be maintained
MIT License
30 stars 24 forks source link

energy siphon inconsistancy #992

Open gliched1 opened 1 year ago

gliched1 commented 1 year ago

Issue Description:

when drawing sufficient enough power from multiple energy siphons, strange behavior occurs.

What happens:

power draw of 592FE/t: image image image image image

power draw of 358FE/t: image image image image image

What you expected to happen:

energy siphons to provide power at a consistant basis rather then providing less power somehow when overloaded

Steps to reproduce:

  1. link multiple energy siphons up to one greedy block
  2. compare to a less greedy block
  3. ...


Affected Versions (Do not use "latest"): Replace with a list of all mods you have in.

gliched1 commented 1 year ago

after updating to pokecube-aio-1.18.2-3.17.4

low draw:

image image image image image

high draw:

image image image image image

so, issue still remains, if presenting itself slightly differently

Thutmose commented 1 year ago

this may either be a bug or a feature, I will need to look into it more carefully.

The siphon is not what actually produces the power, it is the pokemobs. So if you draw more than what the pokemobs can produce, they get overloaded, and cannot produce the required amount. This should manifest as an increase in the hunger load on the pokemobs.

Thutmose commented 1 year ago

So further testing on this, and the only inconsistency I find is the fact that the siphons don't necessarily tick in order closest to the pokemob they are pulling from, which can result in 1 of them taking all of the energy from a low lvl mob, despite being further away.

I can see about adjusting how it decides how much energy to pull from the pokemob, which may indirectly fix this issue?