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

Bugs that are actually features.
User avatar
Osmo
Filter Inserter
Filter Inserter
Posts: 291
Joined: Wed Oct 23, 2024 12:08 pm
Contact:

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

Post 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 197 times
- Force build (ctrl + shift + click) a regular solar panel in the middle
изображение.png
изображение.png (140.57 KiB) Viewed 197 times
- When a robot builds it, the solar panel now overlaps the 8 tiny solar panels
изображение.png
изображение.png (179.15 KiB) Viewed 197 times
Attachments
factorio-current.log
(10.43 KiB) Downloaded 5 times
Powerscooter
Manual Inserter
Manual Inserter
Posts: 2
Joined: Tue Mar 31, 2026 12:57 pm
Contact:

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

Post 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 176 times
05-18-2026, 13-07-12.png
05-18-2026, 13-07-12.png (945.48 KiB) Viewed 176 times
Last edited by Powerscooter on Mon May 18, 2026 11:20 am, edited 1 time in total.
User avatar
Osmo
Filter Inserter
Filter Inserter
Posts: 291
Joined: Wed Oct 23, 2024 12:08 pm
Contact:

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

Post 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
Attachments
2026-05-18 14-08-05.mp4
(8.36 MiB) Downloaded 5 times
User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5456
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

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

Post 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
Bilka
Factorio Staff
Factorio Staff
Posts: 3746
Joined: Sat Aug 13, 2016 9:20 am
Contact:

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

Post 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).
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
User avatar
Osmo
Filter Inserter
Filter Inserter
Posts: 291
Joined: Wed Oct 23, 2024 12:08 pm
Contact:

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

Post by Osmo »

That's understandable, i thought since upgrade planner had the restriction, fast replacing had it too
Post Reply

Return to “Not a bug”