In all civil actions or proceedings of any kind, the party prevailing shall recover his costs against the other party unless the court orders otherwise for good cause shown. In all cases triable in the supreme court in the first instance, or removed to the supreme court or court of appeals upon appeal or writ of error, the taxation of costs shall be in the discretion of the reviewing court except in those cases in which a different provision is made by law.
NMS § 39-3-30