Page 1 of 1

[1.1.56] emissions_per_minute on an accumulator is weird

Posted: Sun Mar 27, 2022 8:06 pm
by Honktown
Here's a simple mod to demonstrate:
accum_1.0.0.zip
(1.28 KiB) Downloaded 33 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.

Re: [1.1.56] emissions_per_minute on an accumulator is weird

Posted: Sun Mar 27, 2022 10:05 pm
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.