[1.1.56] emissions_per_minute on an accumulator is weird

Post your bugs and problems so we can fix them.
Post Reply
Honktown
Filter Inserter
Filter Inserter
Posts: 889
Joined: Thu Oct 03, 2019 7:10 am
Contact:

[1.1.56] emissions_per_minute on an accumulator is weird

Post by Honktown »

Here's a simple mod to demonstrate:
accum_1.0.0.zip
(1.28 KiB) Downloaded 28 times
1) accumulator.energy_source.emissions_per_minute > 0
2) only entity is the accumulator and there is pollution present (this situation came from the mod Warptorio)
3) biters form attack groups and rush at it, even when it's indestructible (which I believe is supposed to make it an invalid target?)

The biters take 1-2 minutes to attack with game.speed at 5. (couldn't get the biters to group and attack any faster). If in control.lua, a different thing like "assembling-machine-1" is created, no attack happens, though the biters still group and make nests.

Expectation: emissions_per_minute to not apply to accumulators. Applying it would seem a performance problem, but surely no pollution activity when it has no energy and is disconnected.
I have mods! I guess!
Link

Pi-C
Smart Inserter
Smart Inserter
Posts: 1276
Joined: Sun Oct 14, 2018 8:13 am
Contact:

Re: [1.1.56] emissions_per_minute on an accumulator is weird

Post by Pi-C »

Honktown wrote:
Sun Mar 27, 2022 8:06 pm
3) biters form attack groups and rush at it, even when it's indestructible (which I believe is supposed to make it an invalid target?)
is_military_target should work better.
A good mod deserves a good changelog. Here's a tutorial (WIP) about Factorio's way too strict changelog syntax!

Post Reply

Return to “Bug Reports”