Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

so to make it work do I need to add that wording in somewhere?  

The weird thing is I’ve been using it for many months with the anhydrous and I’ve added lots of fruits and it always worked….then recently I did some deleting and adding of different fruits and trees and only then did it start to cause the error.    I’ve reverted back to my previous maps to find where the issue started and it seems like it started when I made flax as flax2 and flax windrow and flax converted into chaff

Basically I wanted to make flax as chaf, cut and bake flax, harvest flax, and cut and pickup harvest flax.     Seems like that’s where the issue started.   

If you go to the anhydrous mod NitrogenMap.lua to the line shown in the screen shot and make it look like the vanilla version, it should at least stop making the error. Why the error is happening is because one of your crops isn't loading correctly or not getting a terrainDataPlaneId. Without the check for that in the code, it is throwing the error you see. That check is there to prevent the density map filter from trying to do something with a missing value.

Likely somewhere else in the log will be fruit related warnings or errors.

alright so I put that into the lua and now it cleared that error in my log, but created 2 different ones for

NitrogenMap.lua:1160: ‘then’ expected near ‘desc’

And

Precision farming.lua:60: attempt to index global ‘NitrogenMap’ (a nil value)

That is a syntax error meaning the "then' statement is missing from the line. Double check your edit. Because NitrogenMap.lua has a syntax error it does not compile, which is why you get the second error.

(+1)

alright I will check it out when I get time.   Thanks for your help

(+1)

alright I found my mistake and got it so it doesn’t show an error anymore.  I will play my map and see if it works or if anything comes up in the future.   

The only warning I have now for precision farming is 

Warning: DebsityMapVisualizationOverlay is being reset, because a DensityMapFilter it refers to was deleted.   


Again thank you for helping me out!