Extra - ahvonenj/synergism-hypersynergy GitHub Wiki
These are some extra tools / features included in the project.
There's a folder called save_utils
in the project's root folder. It has very little to do with the mod itself, but I've found it handy from time to time. It contains a two subfolders called add_quarks
and orbs_to_powder
.
NOTE Using these scripts on your save file is probably considered cheating, especially the quarks-script. So don't use them if you want to "be legit". It's a single player game so I don't think anyone really cares, but you could ruin the game for yourself. The reason why these scripts exist is because I've used them for development purposes as it's kind of pain in the ass to e.g. have to wait for a day to get some powder.
If one finds a need for either of these tools, here's how they can be used:
Sets the quarks to a given amount in a save file.
- Run
npm install
inside the folder - Export and paste your save file in the folder
- Run
node index.js 1e10
for example to set the amount of quarks to 1e10 in your save file - The script outputs a new file called
quarks_save_<something>.txt
- You can import and load this file in the game
- Done
Note: In case there are multiple exported save filed in the folder, the script will always use the latest file for convenience.
Converts all the current orbs to powder at a given ratio in a save file.
- Run
npm install
inside the folder - Export and paste your save file in the folder
- Run
node index.js <ratio>
, where<ratio>
is a value you can find by going to Hepteract Forge and hovering our mouse over the powder hepteract. The game will say something like "Expired Overflux Orbs become powder at a rate of 12.2 Orbs per powder lump!". Use this value as the ratio for the script if you don't want to cheat too much. - The script outputs a new file called
converted_save_<something>.txt
- You can import and load this file in the game
- Done
Note: In case there are multiple exported save filed in the folder, the script will always use the latest file for convenience.