Despite my lack of knowledge of lua, and thanks to reading the work of others, I have managed to get a snow plough in game and working, with suitable emitters for the snow plumes. However, I have one small problem, the emitters work whenever the plough moves, but I only want them to work if there's snow on the ground.
Just Trains ZZA get round this by having two ploughs, one with emitters and one without, but this seems a less than elegant way of doing it, so my question is, is it possible to add some code to the wagon script that detects the season, so only allowing the emitters to work in winter?