Forage Wagon Hay Lock BETA 3 v1.0
Forage Wagon Hay Lock BETA 3 v1.0
PURPOSE
Prevents hay already collected in a forage wagon from being overwritten by grass or by another hay type.
BEHAVIOUR
More of the SAME hay type collects normally.
Normal grass is ignored while hay is loaded.
Fresh Clover and fresh Alfalfa are ignored while hay is loaded when those fill types exist.
A DIFFERENT hay type is ignored while hay is loaded.
Empty wagons and wagons containing non-hay material retain normal game behaviour.
SUPPORTED HAY TYPES
Hay: DRYGRASS_WINDROW
Clover Hay: DRYCLOVER_WINDROW
Alfalfa Hay: DRYALFALFA_WINDROW
BETA 3
Fixed
Fixed hay being replaced by grass when collecting mixed windrows.
Replaced the previous pickup-area check with protection applied directly to actual material pickup.
Added a safeguard against queued material changing the wagon’s locked fill type.
Protected small loads below the game’s normal fill-type change threshold.
Behaviour
The first supported grass or hay type collected stays locked until the wagon is emptied.
Matching material can still be collected; incompatible grass/hay remains on the ground.
Supports grass, hay, and registered clover/alfalfa windrow variants.
Tested
Confirmed working on Castlereagh with the Pöttinger 8450 Windrower and Fliegl Cargos 9500 mod wagons.
Diagnostics
Added limited log messages showing when protection activates and blocks incompatible pickup.
Author: Boy Meets Farming

