When designing earthquake-resistant structures, engineers take into account a number of variables, including the building’s location, type, and earthquake type. They also plan for the potential for a subsequent earthquake and for structure damage.