How to detect whether it is in the scene editing mode or in the official game?
I made a module, but there will be bugs in the scene editing mode, so I want to add a detection script. How can I add it? Thank you
Find a grammar
Re: Find a grammar
I may not express it clearly enough. I mean how to detect whether it is in "map editor modes" or "normal game"? I don't know how to write this detection command
Re: Find a grammar
You'll need to check player.controller_type.
A good mod deserves a good changelog. Here's a tutorial (WIP) about Factorio's way too strict changelog syntax!
Re: Find a grammar
Thank you, friend. You have done me a great favor. Thank you very much
Re: Find a grammar
You're welcome, glad I could help!
A good mod deserves a good changelog. Here's a tutorial (WIP) about Factorio's way too strict changelog syntax!