Resource allocation in oil-dependent communities