jaghaimo / stelnet

A collection of intel boards for Starsector.
https://fractalsoftworks.com/forum/index.php?topic=20836
GNU General Public License v3.0
18 stars 14 forks source link

Improve random sector abandoned stations handling #93

Open jaghaimo opened 2 years ago

jaghaimo commented 2 years ago

I don't keep a list anywhere, might have to check all entities in the sector once they can be identified by their memory key at least (set by Misc.setAbandonedStationMarket)

public static void setAbandonedStationMarket(String marketId, SectorEntityToken station) {
station.getMemoryWithoutUpdate().set("$abandonedStation", true);
stormbringer951 commented 1 year ago

Was about to ask for this after running into this case in a campaign.