Hope you have accidental damage protection from Lenovo :) If not, you'll almost certainly have to replace your laptop. "Spaghetti soup with tomato and olive oil" -- that'll be pretty rough on electronics, especially if it got in the vent and made contact with the motherboard or CPU.
You could take it to a repair shop, explain the problem, and see if they can attempt to clean it and then dry it (the procedure is very careful and precise; any wrong step could make the problem worse). They can also tell you whether there are some damaged components. You might have lucked out that only some components are damaged while others are fine. If that is the case, you could pay the repair shop to replace the damaged components.
But repair shop labor is expensive, so a repair plus a cleaning plus a diagnosis will probably run you a significant fraction of the cost of buying a new T400.