0.16.3 artillery turrent not firering on_chunk_generated
Posted: Sat Dec 16, 2017 11:46 am
The artillery wagon does not fire the on_chunk_generated event. I had a try of using the wagon as a 'radar' by using the manual targeter on 'black' tiles on the map. While that works splendidly, it does not seem to call on the on_chunk_generated event.
What did I do:
1 Add a game.print("hi") to a mod with script.on_event("defines.events.on_chunk_generated', function...
2 Load the game with the mod
3 hop in a train with a artillery wagon
4 drive to a piece of undiscovered map
5 target a undiscovered piece of map at the edge of the wagon's range
What did I expect
1 at least one "hi" to be printed
What did I get
A nice line of discovered terrain, but no hi's
In the map image it is quite clear to see(the mod used was my noRocks_redux with layconcrete on) the chunks generated by the wagons are not paved over, where the rest is paved
I will leave this save with the train used on nearby the spawn region
What did I do:
1 Add a game.print("hi") to a mod with script.on_event("defines.events.on_chunk_generated', function...
2 Load the game with the mod
3 hop in a train with a artillery wagon
4 drive to a piece of undiscovered map
5 target a undiscovered piece of map at the edge of the wagon's range
What did I expect
1 at least one "hi" to be printed
What did I get
A nice line of discovered terrain, but no hi's
In the map image it is quite clear to see(the mod used was my noRocks_redux with layconcrete on) the chunks generated by the wagons are not paved over, where the rest is paved
I will leave this save with the train used on nearby the spawn region