Page 1 of 1

Can I not allow the factory to rotate?

Posted: Wed Apr 06, 2022 6:50 am
by sdgmlj
I made a factory. I just want it to enter the liquid from above, but when I press "R", it has four rest assured, but I only want one direction. What should I do?
fluid_boxes = t_fluid_boxes()
local function t_pipe_picture()
return
{
filename = "__base__/graphics/entity/pipe-covers/hr-pipe-cover-north.png",
priority = "extra-high",
width = 128,
height = 128,
shift = util.by_pixel(0, 0),
scale = 0.5,
}
end

Re: Can I not allow the factory to rotate?

Posted: Wed Apr 06, 2022 10:17 am
by Klonan
You can set an entity prototype flag:
https://wiki.factorio.com/Types/EntityP ... tatable.22

Re: Can I not allow the factory to rotate?

Posted: Wed Apr 06, 2022 10:43 am
by sdgmlj
Klonan wrote: Wed Apr 06, 2022 10:17 am You can set an entity prototype flag:
https://wiki.factorio.com/Types/EntityP ... tatable.22
Thank you. Problem solved :D :D :D