Pātuhitia tēnei: Earthquake risk and damage functions: