The short and non helpful answer is that it's worth what you are willing to pay for it.
Having said that, there really is not enough information here to make any type of helpful guesstimate. Photos would be helpful. What is the asking price?
In general, take the most that you would be willing to pay for it assuming that everything was in pristine condition and in working order. Then deduct for the reality of what you are really looking at.
Be sure to check for floor rot. Especially under windows and in the bathroom under the cabinet where the sink is. This is always a weak spot for water damage.
For every appliance that does not work, deduct the price to replace including labor.
Remember the cost of ownership will be the purchase price plus the repair, remodel cost and you will spend more than you think
.
Based on the limited info you have, I would say 5k is tops if things have been torn out and not in working order. In reality 3500 is probably more realistic.
Just my opinion of course. Others may think differently. Ultimately it is worth what you are willing to pay. Good luck.