Page 1 of 1

Fast-replace pipe with modded storage tank

Posted: Thu Oct 29, 2020 1:23 pm
by PFQNiet
I have what is effectively an inline storage tank (it has some script behaviour but that's not important). It's 2x1 just like the Pump. I'd like for the player to be able to fast-replace pipes with this entity just like you already can with pumps, however just setting its "fast_replaceable_group" doesn't seem to be cutting it. I can fast-replace a pump with my inline tank just fine since they're both 2x1, but attempting to place it over pipes just gives "Pipe is in the way".

Is there something else needed to add the "pump can replace two pipes" behaviour to my entity?

Re: Fast-replace pipe with modded storage tank

Posted: Thu Oct 29, 2020 3:35 pm
by eradicator
PFQNiet wrote: Thu Oct 29, 2020 1:23 pm Is there something else needed to add the "pump can replace two pipes" behaviour to my entity?
No. Fast replace only works for same-size same-group entities.

Re: Fast-replace pipe with modded storage tank

Posted: Tue Nov 03, 2020 6:49 am
by PFQNiet
Except that you can place a pump over two pipes and fast-replace them that way. I was hoping to get that behaviour with my entity.

Re: Fast-replace pipe with modded storage tank

Posted: Tue Nov 03, 2020 8:04 am
by darkfrei
eradicator wrote: Thu Oct 29, 2020 3:35 pm
PFQNiet wrote: Thu Oct 29, 2020 1:23 pm Is there something else needed to add the "pump can replace two pipes" behaviour to my entity?
No. Fast replace only works for same-size same-group entities.
Same for splitters and belts?

Re: Fast-replace pipe with modded storage tank

Posted: Thu Nov 05, 2020 11:18 pm
by eradicator
PFQNiet wrote: Tue Nov 03, 2020 6:49 am Except that you can place a pump over two pipes and fast-replace them that way. I was hoping to get that behaviour with my entity.
Uhm...no? I just tested in 1.0.0 and that doesn't work for me. And the 2-belts to splitter thing is most likely hardcoded to entity type.