This subforum contains all the issues which we already resolved.
- Long Handed Inserter
- Posts: 82
- Joined: Sun Sep 18, 2016 6:53 pm
I've modded a pump to use a burner EnergySource.
Watching LuaBurner.remaining_burning_fuel, you can see it's slowly draining fuel (once fueled) even when freshly built and not connected to any pipes.
Bilka wrote: ↑
Thu Oct 03, 2019 8:07 pm
Pump update function wrote:
this->energySource->extractEnergyAndPollute(prototype.energyUsage * ElectricEnergySource::restingEnergyConsumption, ...);
No idea why this code exists. Consider making a bug report, most likely that code was just not adjusted after the possibility to use non-electric energy sources in the pump was added.
Attached is simple mod that shows the issue, with save game with no other mods installed, and it's matching log file.
- (7.82 KiB) Downloaded 13 times
- (1.14 MiB) Downloaded 7 times
- (3.27 KiB) Downloaded 7 times
- Fast Inserter
- Posts: 184
- Joined: Thu Oct 03, 2019 7:10 am
Try adding fuel_category = "chemical"
Edit: Also try removing ".enabled = true". Your pump currently can't hook up to networks, and I think that's a circuit-set option, not one that should be defined anywhere else.
Also use clearer variable names.
- Factorio Staff
- Posts: 2267
- Joined: Sat Aug 13, 2016 9:20 am
Thanks for the report, fixed for the next version.
Honktown wrote: ↑
Wed Oct 09, 2019 3:38 pm
Recommendation: Don't give unsolicited and wrong advice.
Users browsing this forum: No registered users