Event for starmap opened
- protocol_1903
- Filter Inserter

- Posts: 501
- Joined: Fri Sep 09, 2022 4:33 pm
- Contact:
Event for starmap opened
As in title. An event that is triggered when the player opens the starmap.
pY and pYblock developer, wielder of fluid networks and subtick events in arbitrary ways. I make mods. Check them out, maybe.
https://mods.factorio.com/user/protocol_1903
Buy me a coffee
https://mods.factorio.com/user/protocol_1903
Buy me a coffee
Re: Event for starmap opened
+1
Having any way to prevent the vanilla starmap from being opened would be nice.
Having any way to prevent the vanilla starmap from being opened would be nice.
- BraveCaperCat
- Filter Inserter

- Posts: 494
- Joined: Mon Jan 15, 2024 10:10 pm
- Contact:
- protocol_1903
- Filter Inserter

- Posts: 501
- Joined: Fri Sep 09, 2022 4:33 pm
- Contact:
Re: Event for starmap opened
As noted by one of the devs somewhere I can't remember, the starmap is not part of the gamestate so events can't be created for it and it's state can't be polled. Perhaps LuaPlayer.close_starmap(), similar to the method for the research tree UI, so that custom starmaps can be used?
pY and pYblock developer, wielder of fluid networks and subtick events in arbitrary ways. I make mods. Check them out, maybe.
https://mods.factorio.com/user/protocol_1903
Buy me a coffee
https://mods.factorio.com/user/protocol_1903
Buy me a coffee
