Can I not allow the factory to rotate?

Place to get help with not working mods / modding interface.
Post Reply
sdgmlj
Fast Inserter
Fast Inserter
Posts: 127
Joined: Sun Jul 04, 2021 11:12 pm
Contact:

Can I not allow the factory to rotate?

Post 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

User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5150
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: Can I not allow the factory to rotate?

Post by Klonan »

You can set an entity prototype flag:
https://wiki.factorio.com/Types/EntityP ... tatable.22

sdgmlj
Fast Inserter
Fast Inserter
Posts: 127
Joined: Sun Jul 04, 2021 11:12 pm
Contact:

Re: Can I not allow the factory to rotate?

Post 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

Post Reply

Return to “Modding help”