LS25 Crop Control Override V1.0.0.4

LS 25 Other
LS25 Crop Control Override V1.0.0.4

A lightweight Farming Simulator 25 script mod that disables selected crops for AI use globally — without editing the base game or map XMLs. Configuration is externalised to modSettings, with per-save files supported.

Scope: AI-only toggle (useForFieldJob). No PDA re-ordering or hiding.
Policy: New-save only for newly added fruits (engine limitation).

Features
Disable crops for AI: prevents them from being used in field jobs (useForFieldJob = false).
Template + per-save configs
Template: modSettings/FS25_CropControlOverride/config.xml
Per-save: modSettings/FS25_CropControlOverride/saves/.xml
Automatic config creation on first run (seeded from the map’s currently registered fruit types).
Safe XML I/O via GIANTS XMLFile API (no io.open for config).
Console helpers:
ccoReload — re-read and apply the current save’s config.
ccoWhichConfig — show which XML file is being used right now.
ccoListAI — list all fruit types with their current useForFieldJob flag.

How it works
Hooks into FSBaseMission:loadMapFinished and applies AI toggles once all fruit types are registered.
Ensures a template exists at (a template is available for download from this repository, but is not included within the mod ZIP):
Documents/My Games/FarmingSimulator2025/modSettings/FS25_CropControlOverride/config.xml

Ensures a per-save config exists at:
Documents/My Games/FarmingSimulator2025/modSettings/FS25_CropControlOverride/saves/.xml

The per-save file (if present) is always used. The template is only a fallback/seed.

Configuration
Structure
Crop names must match the fruitType name (case-insensitive).
If you omit a crop from the XML, it defaults to enabled (AI uses the map’s original setting).

Editing which file?
For an existing save, edit:
modSettings/FS25_CropControlOverride/saves/.xml

For new saves, edit the template first:
modSettings/FS25_CropControlOverride/config.xml
(that file is copied when the per-save file is created on first load)

Use ccoWhichConfig to confirm which file is active. Limitations
New-save only for newly added fruits: When a map adds new fruit types, an old save won’t gain the new fruit density layers automatically. Those fruits will only appear in the PDA/machinery on a new save created after the map update. This is an FS engine limitation and out of scope for this mod.
No PDA/UI changes: The mod doesn’t reorder or hide crops in the PDA. It only toggles whether AI can use them.

Debugging
ccoWhichConfig — shows the exact path the mod is currently reading.
Edit that XML (enabled=”true/false”).
ccoReload — reapply without restarting.
ccoListAI — confirm the useForFieldJob flags changed.

Install
Drop the mod (folder or ZIP) into:
Windows: Documents/My Games/FarmingSimulator2025/mods/
Enable Crop Control Override in the in-game Mod Manager.
Start or load a save. The mod creates config files in modSettings on first run.

Compatibility
Built for FS25 (no FS22 legacy hooks).
Map-agnostic. Custom fruits are fine as long as they’re properly registered by the map.
Coexists with growth/calendar/economy mods (those determine PDA/Prices).

Credits:
SimGamerJen

Do you know what Farming Simulator 19 Mods / Farming Simulator 22 Mods are? We bet that you've heard of them! However, if you are one of those people who are still not aware of this great feature, we can explain what it's all about! Downloading FS19 mods / FS22 mods is one of the greatest ways to upgrade your Farming Simulator 19 / Farming Simulator 22 game with just few clicks. All that you have to do is select Farming Simulator 19 mod / Farming Simulator 22 mod Download and supplement your game with it. We can give you a wide variety of all sorts of ingenious modifications so that each of you could find the most suitable solution. However, the best way to see how it works is just to try and to explore these FS 19 mods / FS 22 mods features right now.








You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *