LuaEntity.remembered_direction and orientation for assembler

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
sparr
Smart Inserter
Smart Inserter
Posts: 1472
Joined: Fri Feb 14, 2014 5:52 pm
Contact:

LuaEntity.remembered_direction and orientation for assembler

Post by sparr »

An assembler, by default, always has direction/orientation zero. If you give it a fluid recipe then it gains a fluid input and can be rotated, with four possible direction/orientation values. If you then reset the recipe, it goes back to reporting a direction and orientation of zero. However, if you go back to a fluid recipe, it magically snaps back to the direction/orientation you rotated it to earlier.

I want to be able to read that remembered direction and orientation, when it's not in effect.
User avatar
darkfrei
Smart Inserter
Smart Inserter
Posts: 2905
Joined: Thu Nov 20, 2014 11:11 pm
Contact:

Re: LuaEntity.remembered_direction and orientation for assembler

Post by darkfrei »

You can set off_when_no_fluid_recipe = false and all assemblers must have right orientation.
Post Reply

Return to “Modding interface requests”