Resource calculations initial work

Hey !!

so the seasonal stuff still sucks and hopefully you can fix that. This water heuristic stuff seems to work. I am not sure about the distance weighting thing, maybe we can not use that for now.