fix: kopieret kursus tjekkes mod markens omrids + skår-sikring før jordbearbejdning (1.62.332)

- adFieldWork: sourceCourse validerer gemt/maskinens kursus mod info.verts (ADFieldWork.courseOnField,
  mindst 50 % af punkterne på marken eller inden for 15 m); ellers laver Courseplay et nyt kursus.
  In-game 17/10 23:53: F42's læssevogn kørte BiG M 450's F100-kursus; F36/F39 fik samme kursus fra én skårlægger.
- adWindrowCheck: soilGuard/soilGuardFor — harve/plov/såning/mulcher sendes ikke ud med >= 5000 l græs-/høskår;
  marken går tilbage til opsamling (højst 2 gange, derefter Fra). adFieldJobs.soilGuard anvender det.
- Review-rettelser: Fra via ADFieldModel.stop (passiv mark), tæller kun efter anvendelse, plan uden
  opsamlingstrin -> Fra, ceil i sampling, engangslog ved ukontrollerbart kursus, lastDecision, windDownHelpers, pcall.
- Tests: SG1-SG15, CF1-CF10, SG-J1-J7; manualer + changelog.
This commit is contained in:
2026-10-18 00:18:13 +02:00
parent 5c6f4c7f32
commit 92ed8faeda
7 changed files with 179 additions and 15 deletions
+5
View File
@@ -1600,6 +1600,11 @@ If you have several headers, the mod takes the nearest one that can harvest the
- **No windrows, no work:** before a tedder, rake or loader wagon is sent out, the mod checks the field for windrows
(the game's height map). If there are none — e.g. because you collected the hay yourself — the step is skipped as if
done (log: *"ingen skår på marken — collecting springes over"*). Contract fields are not checked.
- **Windrows before soil work:** a cultivator, plough, seeder or mulcher is not sent out while at least 5,000 l of
grass or hay windrows lie on the field — the field goes back to collecting (log: *"cultivating -> collecting: der
ligger stadig mindst … l skår"*). If that happens twice, the field is switched **off** with a message: collect the rest yourself.
- **A copied course must fit the field:** the loader wagon drives the mower's/rake's course. If that course lies on
another field (e.g. the mower has mown elsewhere since), Courseplay generates a new one instead.
### Weather, refilling and messages