Palats / mapshot

Factorio mod to export maps as zoomable html
Apache License 2.0
77 stars 12 forks source link

Add delay on render to render flames #38

Open Palats opened 9 months ago

Palats commented 9 months ago

From Mazmot on Factorio forum:

Having an option to delay capturing will make nicer look & feel for furnaces.

In CLI version, this mod try to capture as soon as the save file loaded. But stone/steel/electric furnaces don't start to firing at that timing. So, the generated map looks weird because no flame on furnaces. https://imgur.com/sRvYM3r

I modified a bit for myself: https://github.com/mazmot-is/mapshot/commit/df5456426102535a08922eb0e6b1cdc1da442f01

Overall, it would indeed be nice to have better visual. I would like to keep the ability to also render without delay - it is more predictable and so on. A flag to set the delay could do the trick - though I wonder what the default should be between:

I'll need to try things out a bit.