Getting an error trying to make the straw harvest pelletizer accept soybean straw

Your forum for all discussions around Modding.
couch
Posts: 2
Joined: Sun Feb 18, 2024 4:44 am

Getting an error trying to make the straw harvest pelletizer accept soybean straw

Post by couch »

Would there be a way for the pelletizer to accept soybean straw to turn into straw pellets? I assumed this would be done via adding this simple code in the filltypes.xml file, under the fillTypeConverter section: <converter from="SOYBEANSTRAW" to="STRAW_PELLETS" factor="0.25"/>, where SOYBEANSTRAW is the name of the filltype from the map's maps_filltype.xml file.

However, when attempting to run the mod with this edit, I get an error: "Error: Running LUA method 'update'.
dataS/scripts/internalMods/FS22_strawHarvestPack/src/vehicles/specializations/StrawHarvestPelletizer.lua(315) : attempt to index field 'workAreaParameters' (a nil value)"

Any ideas? Thanks.