Prime Minister John Key , who was on a scheduled trip to the southern city of Invercargill , about 160 kilometres from the epicentre , said any government response would depend on damage that had yet to be assessed .