@Override
	public int compareTo(OpenHouse o) {
		double dist = getSuccess() - o.getSuccess();

		final SummoningTask summoningTask = script.summoningTask;
		if (summoningTask != null && summoningTask.branch()) {
			// Need to recharge pick house with obelisk
			if (hasObelisk) {
				if (!o.hasObelisk) {
					return 1;
				}
			} else if (o.hasObelisk) {
				return -1;
			}
		}

		if (dist == 0) {
			return 0;
		} else {
			return dist < 0 ? -1 : 1;
		}
	}