Altered to resource generation so that its possible to have tiles with no resources.