If you have an entity based on the assembler prototype with a non square collision box and a fluid box, it's not possible to rotate the entity after placement. For entities like boilers and generators, this is possible and it rotates them 180 degrees. The assembler behavior is unexpected and seems arbitrary.
I suggest to allow the assemblers to have similar behavior to boilers for this case.
Allow 180 rotation of rectangular crafting machines after placement
-
- Fast Inserter
- Posts: 170
- Joined: Thu Jan 10, 2019 3:11 pm
- Contact:
Re: Allow 180 rotation of rectangular crafting machines after placement
In 2.0, a setting on assembling-machines was added:
fluid_boxes_off_when_no_fluid_recipe which is default false. By default, a non-square / rectangular assembling machine with fluid boxes can rotate after being placed.
fluid_boxes_off_when_no_fluid_recipe which is default false. By default, a non-square / rectangular assembling machine with fluid boxes can rotate after being placed.
I have mods! I guess!
Link
Link
Re: Allow 180 rotation of rectangular crafting machines after placement
Related: viewtopic.php?t=129252
From my testing rotation works and rotates a 2x1 assembler 180 degrees, but only if it has fluidboxes and fluid_boxes_off_when_no_fluid_recipe == false. Otherwise there's an engine optimization/bug that prevents changing the entity's .direction if it has no fluidboxes. Assigning `entity.direction = 12` and then reading `entity.direction` will still give you the original direction.
From my testing rotation works and rotates a 2x1 assembler 180 degrees, but only if it has fluidboxes and fluid_boxes_off_when_no_fluid_recipe == false. Otherwise there's an engine optimization/bug that prevents changing the entity's .direction if it has no fluidboxes. Assigning `entity.direction = 12` and then reading `entity.direction` will still give you the original direction.