public Resources getCosts(boolean discounted) {
		if (!discounted) return costs;
		
		if (buyDiscount == -1) return new Resources();
		
		Resources r = new Resources();
		for (Resource res : costs.getFilled())
			r.set(res, Math.round(costs.get(res) / buyDiscount));
		return r;
	}