If I inherited a million dollars, I would buy a new house.

Whats the condition here?
is it just reported speech?

The condition is the possibility of inheriting a lot of money. Did you read the site I sent you?