Page 1 of 1

[2.0.76] Solar panels can be fast replaced despite having different collision boxes

Posted: Mon May 18, 2026 10:46 am
by Osmo
- Install https://mods.factorio.com/mod/Tiny_Solar (version 1.0.8)
- /cheat all
- Place a 3x3 grid of tiny solar panels
изображение.png
изображение.png (124.17 KiB) Viewed 196 times
- Force build (ctrl + shift + click) a regular solar panel in the middle
изображение.png
изображение.png (140.57 KiB) Viewed 196 times
- When a robot builds it, the solar panel now overlaps the 8 tiny solar panels
изображение.png
изображение.png (179.15 KiB) Viewed 196 times

Re: [2.0.76] Solar panels can be fast replaced despite having different collision boxes

Posted: Mon May 18, 2026 11:07 am
by Powerscooter
Confirmed this applies to any case of same type and matching fast replacement group, find attached two screenshots from the micro machines mod: (https://mods.factorio.com/mod/micro-machines)
05-18-2026, 13-06-54.png
05-18-2026, 13-06-54.png (301.02 KiB) Viewed 175 times
05-18-2026, 13-07-12.png
05-18-2026, 13-07-12.png (945.48 KiB) Viewed 175 times

Re: [2.0.76] Solar panels can be fast replaced despite having different collision boxes

Posted: Mon May 18, 2026 11:11 am
by Osmo
Its... weird. It allows fast replacing assemblers that'd collide when placing a foundry, but not when placing an oil refinery.
This is with a mod that just does this:

Code: Select all

for type, _ in pairs(defines.prototypes.entity) do
    for _, prototype in pairs(data.raw[type] or {}) do
        prototype.fast_replaceable_group = "all"
    end
end

Re: [2.0.76] Solar panels can be fast replaced despite having different collision boxes

Posted: Mon May 18, 2026 11:22 am
by Klonan
I don't think it was ever specified that fast replace of different sizes or collision masks/boxes is disallowed, if you don't like the behavior don't configure the mod to have those entities in the same fast_replaceable_group

Re: [2.0.76] Solar panels can be fast replaced despite having different collision boxes

Posted: Mon May 18, 2026 11:27 am
by Bilka
Note that on the other hand, the upgrade planner and next_upgrade have collision box and collision mask restrictions (and more, all documented at the respective links).

Re: [2.0.76] Solar panels can be fast replaced despite having different collision boxes

Posted: Mon May 18, 2026 11:44 am
by Osmo
That's understandable, i thought since upgrade planner had the restriction, fast replacing had it too