I'm working on a mod to interact with map tags similarly to the previous versions of the game, but I encountered a few stumbling blocks. I'm a newbie when it comes to factorio modding, so maybe I have looked in all the places except the right one, so here I am asking for clues.
The most important issue I have is this:
I have my custom input event creating a tag and everything works fine, but I'd like to present the user with the vanilla edit dialog.
The problem is I can't find a way to do it. Raising some event to mimic a player action and trigger the correct respons doesn't seem an option, and I can't see a direct call from LuaPlayer like open_map.
The other issue, a minor thing tbh, is this: what is the correct way to toggle LuaPlayer.map_view_settings ? And what would the handle be for the new map filters?
[1.1] Map view and map tags related questions
- templar4522
- Burner Inserter
- Posts: 14
- Joined: Fri Jan 26, 2018 5:10 am
- Contact:
Re: [1.1] Map view and map tags related questions
You will need to re-create the vanilla GUI yourself. You can't invoke it.