The massive quake left a trail of destruction with more than 12,000 houses toppled and 30,000 damaged.