Event for starmap opened

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
User avatar
protocol_1903
Filter Inserter
Filter Inserter
Posts: 501
Joined: Fri Sep 09, 2022 4:33 pm
Contact:

Event for starmap opened

Post by protocol_1903 »

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
Puke
Inserter
Inserter
Posts: 26
Joined: Mon Jun 13, 2016 7:00 pm
Contact:

Re: Event for starmap opened

Post by Puke »

+1

Having any way to prevent the vanilla starmap from being opened would be nice.
User avatar
BraveCaperCat
Filter Inserter
Filter Inserter
Posts: 494
Joined: Mon Jan 15, 2024 10:10 pm
Contact:

Re: Event for starmap opened

Post by BraveCaperCat »

+1
If you want to see the mods I've made, press one. If you need me to update a mod to 2.0, press two. If you're looking for QA, press three. If you've been waiting over 1 and a half years for Digital Age, bad luck.
User avatar
protocol_1903
Filter Inserter
Filter Inserter
Posts: 501
Joined: Fri Sep 09, 2022 4:33 pm
Contact:

Re: Event for starmap opened

Post by protocol_1903 »

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
Post Reply

Return to “Modding interface requests”