# Galaxy Tweaker
A galaxy configuerer that allows for modification and usage of custom GalaxyDefinition files, allowing users to tweak the galaxy.

**DO NOT OPEN YOUR OLD SAVE FILES WHILE THIS MOD IS INSTALLED! YOU MAY MESS UP YOUR SAVES! ONLY TRY THIS MOD WITH NEW SAVE FILES!**

**THIS MOD IS ALSO IN A VERY EARLY STATE! EXPECT BUGS AND CRASHES!**

## How to use
1. Download the mod like any other SpaceWarp mod (drag the BepInEx folder into the root KSP2 directory).
2. Launch the game to generate GalaxyDefinition_Default. DO NOT EDIT THIS FILE, IT GETS OVERWRITTEN WHEN THE GAME IS LAUNCHED!

### To create a new GalaxyDefinition
1. Go into the mod folder after launching the game once, and go into the GalaxyDefinitions folder.
2. Copy the GalaxyDefinition_Default.json file in there, and rename it to whatever you want (the name becomes important later, so remember it).
3. Open the .json file, and edit it however you want.
4. In KSP2, press F1 to open the SpaceWarp Mod Configuration window, and click on GalaxyTweaker.
5. Edit the text box to match the name of the GalaxyDefinition you created **without the .json**.
6. Create a new campaign. Your new galaxy should be loaded in there.

Note this mod remembers which save file is using which GalaxyDefinition, so the target GalaxyDefinition only works on new save files (or technically old save files that have never been opened with GalaxyTweaker installed too, but that's not recommended).
