Forgot to mention, with the orbitdays parameter, is there a way to see how long a planet's orbit cycle takes in-game to use as reference or do I just keep guessing while reloading the save to get a rough estimate of the speed it should be?
The orbital period is manually set for non-procgen planets, but apparently for the procgen ones it's just
orbitalRadius/random(20, 25) (for planets; jump points and stars use a different denominator, and the objective/stable location orbit code appears to be hidden).
I've edited the code in the previous post to automatically calculate it.
(
Johannes Kepler is mad at you, Alex!!!)
A little sidenote, is there any resource here or somewhere else that I can use to learn how to make simple scripts such as those for the game? Or would I need to go all-out and get into javascript?
Right now I'm kinda just stuck with being able to edit the saves and basic configs, so I'd like to be able to do more.
You can kind of make a faction mod with only cargo cult coding, but to do anything complex you'll have to learn Java (not Javascript, which is a rather different language. Yeah, confusing), yes.
I don't have any tutorials for setting up a Java IDE or learning the language (although for the former some are linked
here) unfortunately, although a simple search will turn them up.
Of course, you're welcome ask questions here or on the
Discord