A console script for Starsector
IMPORTANT NOTICE: Old versions of Better Colonies' AddAdminBC command can cause errors with this mod. It's a known issue and the only way around it would be to edit the AddAdminBC commands code. This post explains how to achieve it: https://fractalsoftworks.com/forum/index.php?topic=17103.msg320152#msg320152
This mod benefits mostly users that have Grand or Adjusted sector mods.
Commands:
-
Explore [all] [exclude/include] [hazard] [gate] [stableloc] [jumppoint] [planets] [conditions]
Searches all star systems for specified conditions:
all - writeall
to search even planets you haven't surveyed yet (default doesn’t search, if searched, sets survey level to full);
exclude/include - writeexclude
/include
exclude or include systems in the Core world and claimed systems (default:exclude
)
planets - the minimum number of planets a system must include (default:planets=1
)
gate - writegate
to filter by systems that have a gate;
stableloc - writestableloc=NUMBER
to filter by stable locations (default0
);
jumppoint - same asstableloc
(default0
);
hazard - writehazard=NUMBER
to filter by systems which planets are below or equal to the specified value (doesn’t filter by default);
[conditions] - a comma-separated, no-space list of planetary conditions that must be met (supports * as a wildcard), e.g.:\[habitable=2,rare_ore*=1,*abundant=1]
at least TWO habitable planets and ONE with transplutonic ore and one with ore/transplutonic ore that is abundant.Example: Explore all exclude planets=5 [habitable=2] gate
-
SystemInRange <entity>[entity] [LY] [planets]
Finds systems in specified range (integer) of an entity (coronal_tap, derelict_cryosleeper, inactive_gate):
if two entities are listedcoronal_tap,cryosleeper
, a table will be shown at the end listing systems within range of both;
LY - distance in light years (default is 10);
planets - filters by number of planetsExample: SystemInRange coronal_tap,cryosleeper 10
#TODO:
filter by stable locations/jump pointsfilter by inactive gates- filter by planet type