And finally (h) I make no warranties about the fitness of any code delivered for their project and payment will be due whether or not the code is useful to them.
One more thing, that I think needs to be emphasized. Its their project. They got themselves into this crummy situation, its not your project. You have no obligations unless you let them sucker you into it.
Now of course many of these same principles also apply to non-"rescue" projects as well, as we will discuss in later posts.