Research Revolution deprecated

by Peppe

Change what is in science packs to match .15 preview. Updated recipes for 2x production and high tech packs

7 years ago
0.14
8

g Recipe changes

7 years ago

Rseding posted an updated list of the recipes for all science packs. Production and Hi-tech should be 14 seconds and produce 2 packs per craft. I'd change it myself, but I can't seem to figure out how.

http://pastebin.com/0fvbYc2k

7 years ago
(updated 7 years ago)

Just at first glance, having not tested it yet, but:

1) Look for "fix = data.raw.recipe["alien-science-pack"]" in data-final-fixes.lua
2) A few lines down under the ingredients find "fix.result_count" and "fix.energy_required"
3) Change count to 2 and energy to 14 instead of 1 and 15

4) Look for "-- Vanilla/No Bobs plates"
5) After the "fix.ingredients" etc insert two new lines:
(a) fix.result_count = 2
(b) fix.energy_required = 14
(if you do use Bobs mods, insert the new lines before the "else" instead of after it)

That should do it!

7 years ago

^ Confirmed it works, but not for existing saves :(

7 years ago

For existing saves, you have to either use the console command:

/c game.player.force.reset_recipes()

Or if you really want to avoid deactivating achievements you can change the version number in the info.json one higher, change the folder name accordingly and create a migration script with the new version number with

for i, force in pairs(game.forces) do
force.reset_recipes()
end

And i just did that myself so there you go: https://www.dropbox.com/s/wsm6ycszt54uakl/ResearchRevolution_0.14.10.zip?dl=0

Did a quick test and looks like it works. Did not test it with Bob's though.

7 years ago

You actually dont need to change the mod version, just making the migration file a diferent name from the already existent ones is enough. When the game starts, it checks all migration files names and if there is one that has not runned yet on the save, he runs it.

That is why its also good practice to name the files with the mod name, so two mods dont make a migration file with the same name and one of them will never run.

New response