Equilibrium properties in the liquid state from interactions of walks