01/28/2022 Disclaimer: This mod will be integrated into
Stelnet. Please refer to that mod instead. No further development will occur here.
IMPORTANT NOTICE: OLD VERSIONS (<1.63) 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#msg320152This is my very first mod ever. The idea is to effectively search for your ideal system. It should benefits mostly users that have Grand or Adjusted sector mods.
Commands:
1. Explore [all] [exclude/include] [hazard] [gate] [stableloc] [jumppoint] [planets] [conditions]
Searches all star systems for specified conditions:
- all - write `all` to search even planets you haven't surveyed yet (default doesn’t search, if searched, sets survey level to full);
- exclude/include - write `exclude/include` to 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 - write `gate` to filter by systems that have a gate;
- stableloc - write `stableloc=NUMBER` to filter by stable locations (default 0);
- jumppoint - same as stableloc (default 0);
- hazard - write `hazard=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
2. SystemInRange <entity>[entity] [LY] [planets]
Finds systems in specified range (integer) of an entity (coronal_tap, derelict_cryosleeper, inactive_gate):
- if two entities are listed coronal_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 planets
Example: SystemInRange coronal_tap,cryosleeper 10
Change log:
Spoiler
Version 1.2.3
-Wildcard now supported at the start of a planetary condition: *abundant.
-----------------------------------------------------------------
Version 1.2.2
-Support for wildcard characters as suggested by @Yunru: `ore*=3` covers `ore_sparse, ore_moderate, ore_abundant, ore_rich, ore_ultrarich`
-----------------------------------------------------------------
Version 1.2-hotfix
-disabled some code that spammed the player's location
-----------------------------------------------------------------
Version 1.2
- Added settings.json
- Going forward this mod will ship with a precompiled `.jar` (including a modplugin) and the source code
- Pretty formatting of the results
- Results now sorted by constellation name and by system name
- Fixed: version check not working
- Fixed: nebulas not showing in the results (?)
1) SystemInRange
- LY is an optional argument (default value from settings.json is 10)
- New argument planets= - define the minimum number of planets a system must include (default is 1)
- Now support multiple search objects (separated by commas, no space) as following: SystemInRange coronal_tap,cryosleeper 10
- Passing in two entities now also lists (in alphabetical order) constellations which are in range of both
- Rows for plusar/black hole and gate
- Fixed: shows the system in which the object has been found, if it meets the criteria
2) Explore
- Added similar type of formatting as to SystemInRange
- New arguments: gate, stableloc=0, jumppoint=0, hazard=250
- Changed arguments: (full=)true -> `all`, (planet_counet=)1 -> `planets=1`
---------------------------------------------------------------------------------
Version 1.1:
- proper versioning file
1) SystemInRange
- now display the name of the constellation in the results
- separating ---- line for more visual clarity after repeated use of commands
2) Explore
- moved some code so that full="false" no longer shows how many undiscovered conditions a planet has
- "exclude" and "include" arguments to ignore/include systems in the Core world / claimed systems
- properly reset argument values after use
- separating ---- line for more visual clarity after repeated use of commands
Screenshots
Feedback is welcome!
