Page 1 of 1

[Dominik][0.17.4][Mod] fluid type energy source takes too much fluid

Posted: Sun Mar 03, 2019 12:37 pm
by darkfrei
Reference mod: https://mods.factorio.com/mod/Steamed

Only one entity with fluid power source tries to take all steam.
2019-03-03 13_18_09-Factorio 0.17.4.png
2019-03-03 13_18_09-Factorio 0.17.4.png (42.11 KiB) Viewed 631 times
2019-03-03 13_18_01-Factorio 0.17.4.png
2019-03-03 13_18_01-Factorio 0.17.4.png (46.64 KiB) Viewed 631 times
It's the same entity, it has the same producting spead, but when pipe is full, it takes almost all fluid from pipe.

Expected: more fluid consumption makes production faster. Result: same speed and void all of steam in the pipe by ridiculous speed.

Re: [Dominik][0.17.4][Mod] fluid type energy source takes too much fluid

Posted: Tue Mar 05, 2019 11:52 am
by Dominik
Hi, I am not very proficient with the LUA stuff, but I think that your fluid energy source is badly configured. It has parameter fluid_usage_per_tick which is in your case 0 meaning consume all. And I see it also has bool scale_fluid_usage which does the other option you asked.

Re: [Dominik][0.17.4][Mod] fluid type energy source takes too much fluid

Posted: Tue Mar 05, 2019 1:43 pm
by darkfrei
Thanks, I haven't found any information and stuck here.