Each room of the ship has 1-3 broken components that need to be repaired (glowing red). Once all of the components in a room have been repaired and activated (turned green) one of the consoles on the bridge will light up and can be activated - The first one will cause the fires to start being put out.