Weltkueche: Ei-Zweitherkunft AT = Deutschland+Niederlande (statt Slowakei)
- eier.correct_for.oesterreich: ["deutschland","niederlande"] (war ["slowakei"]) -> AT-Ei-Gerichte zeigen jetzt AT + DE + NL (Thomas-Vorgabe: NL/DE sind die echten Import-Herkuenfte, SK spielt kaum Rolle). Gilt fuer alle 7 AT-Gerichte mit Ei; DE-Gerichte zeigen via Heuristik ohnehin schon DE + NL. - buildTaskFor Heimat-Zweig: Distraktoren auf 5-correct.length gedeckelt, damit bei 3 richtigen Laendern trotzdem 5 Karten bleiben (Punkte-Norm). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -3487,7 +3487,8 @@
|
||||
"fact": "Eier können prinzipiell überall produziert werden — Hühner sind extrem anpassungsfähig. Die meisten Eier in Europa werden lokal gegessen.",
|
||||
"correct_for": {
|
||||
"oesterreich": [
|
||||
"slowakei"
|
||||
"deutschland",
|
||||
"niederlande"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
@@ -1108,9 +1108,10 @@ function buildTaskFor(ingKey) {
|
||||
shuffleInPlace(farProducers); shuffleInPlace(climatePossible); shuffleInPlace(impossible);
|
||||
|
||||
const distr = [];
|
||||
if (farProducers[0]) distr.push(farProducers[0]); // wächst dort, aber weit weg
|
||||
const distrTarget = Math.max(0, 5 - correct.length); // NORM: immer 5 Karten — 2 richtig→3 Distr., 3 richtig→2 Distr.
|
||||
if (farProducers[0] && distr.length < distrTarget) distr.push(farProducers[0]); // wächst dort, aber weit weg
|
||||
for (const c of [...impossible, ...climatePossible]) { // klimafremd / kein Markt
|
||||
if (distr.length >= 3) break;
|
||||
if (distr.length >= distrTarget) break;
|
||||
if (!distr.includes(c) && !correct.includes(c)) distr.push(c);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user