Botania

Botania

133M Downloads

Unusual Spark/Mana Pool behavior (Serial draining instead of parallel)

Saramese opened this issue ยท 4 comments

commented

In my world, a sink mana pool with dominant spark augment drains the associated source mana pools sequentially in N->S order instead of doing it sequentially. Behavior in a creative world was not like this.

See video for example: https://www.youtube.com/watch?v=FKSfjIb6ztM

commented

Ok that's just weird.

commented

If you want to come on the server and see for yourself I'm happy to whitelist you temporarily. It might be due to repeated small transfers. We're updating to the latest Botania this weekend so maybe your recent spark changes will fix it, but I dunno. It's a longstanding behavior.

commented

This actually seems to be a pretty interesting logic issue.

Here's what's going on. The pool that that's charging the pick is doing so at the same rate that the sparks transfer mana. Dominant sparks do not actively pull mana from other sparks, but instead tell other sparks to put mana in it. When the first spark puts mana in the pool it becomes full and other sparks will not bother.

Right now sparks can only push mana, not pull. Making so that they can pull would fix the issue but probably create a lot more. I'll have to think about the best way to fix this.

commented

@Vazkii, would there still be those issues if you make only the dominant ones pull, it would fit the augment behaviour (recessive pushes, normal does nothing, dominant pulls)