Text this: Cubic equations associated with p-adic potts models