Restoring Order

Restoring Order is a quest and achievement/trophy in the Fallout 4 add-on Automatron.

Detailed walkthrough
The Sole Survivor is tasked with finding and stopping the Mechanist once and for all, so head to the RobCo sales & service center where The Mechanist's lair is hidden.

Once inside, player character must use their robot, with an attached M-SAT, on several devices stuck to walls, to open the blastproof doors throughout the lair. After a lot of battling, the player character will finally make it into the Mechanist's war room. Inside, they will battle several waves of increasingly tough robots, the last one being a Duelbot.

Alternatively, if the player character has collected all three supervisor holotapes and before going into the war room, the player character can avoid the final battle with the waves of robots. If the player character goes all the way back to near the beginning of the lair, where the first set of robots were fought, there is a decontamination corridor with a security room overlooking it. This room can be accessed either by a locked door on one side or a hole in the wall on the other. In this room is an elevator that is initially not working. Next to it on the wall is a Master-level locked "elevator access terminal" that can manually override the lockdown. After unlocking the terminal, then inserting each supervisor holotape and playing them, the three voice authorizations will override the lockdown and the elevator will work. At this point the player character can go up to the control room, surprise the Mechanist and a speech check will allow the player character to make the Mechanist stand down. (See notes below on where the holotapes are.)

Once the duelbot has been defeated, the power will fail and a speech check will allow the player character to make the Mechanist stand down. The dialog here is timed, so if one waits too long to speak with the Mechanist, she will turn hostile. After explaining herself, she will remove her helmet, revealing herself to be Isabel Cruz.

She will then thank the Sole Survivor, before giving them her costume and walking away. She will usually also give the side quest Rogue Robot. Ada will also thank the player character, at which point the main storyline of Automatron is complete.

Bugs

 * After the power fails, the Mechanist may not speak with you, making the quest impossible to complete. This may be due to shooting any of the robots on the assembly line after the first wave of the final battle.
 * Making a save when the Mechanist won't speak with you, exiting the game entirely, restarting the game, and then reloading the save may fix the problem.
 * Wearing power armor with a Targeting HUD mod may make the Mechanist and Sparks become hostile towards you.
 * Removing the mod or the entire helmet, or exiting your power armor can fix this.
 * When reaching the final battle with the Mechanist, it is possible to access the workbench to the right of their control room and place turrets between waves of enemies if the player character has sufficient crafting materials in their inventory.
 * After finishing the quest, and taking the lift back to the surface, the game will CTD after interacting with the door. The game also CTDs if you walk back through the level and try to exit out the door you came in to.
 * If you use the console command "killall" you will break the quest and have to restart it. This is because the entire base is in the same room which makes it so you kill the Mechanist all the way over on the other side of the base.
 * After using the terminal to open the door to the Robobrain Production Area, it is possible to get stuck to the computer and be unable to move away. Reloading from a previous save should solve this.

Restaurando el orden Наведение порядка Наведення порядку