Page 1 of 1

Very deep researching technologies by cheats

Posted: Wed Aug 23, 2023 7:16 am
by CrazyDron
Good day.

Is it possible to set research level of single techology to any point? For example, I want to research "range of artillery" to 1000th level.
Doing it by gameplay is theoretically possible, but very long time and resources.

Earlier I do this by Cheat Engine tables (*.ct), but they works only for suitable versions, and stops working after Factorio updating.

I searched for newer ct tables time to time, but, for example, current ct table (names 1.1.80) doesn't consist research cheating, so:

Question again: is it possible to set research level by console for any wanted technology?

Thanks.

UPD: According to wiki, this must help:
/c game.player.force.set_saved_technology_progress(need_tech, 1000)
but where to get techology name list?

UPD2: I founded how to print tech names to console, but output is very big. So, I found this:
/c local list = {} for _, tech in pairs(game.player.force.technologies) do list[#list+1] = tech.name end game.write_file("techs.lua", serpent.block(list) .. "\n", true)
It works, all tech names writes to file, but if I try this:
/c game.player.force.set_saved_technology_progress("artillery-shell-range-1", 10)
game says "Error: invalid progress value".

Help!

Re: Very deep researching technologies by cheats

Posted: Wed Aug 23, 2023 7:45 am
by Loewchen

Code: Select all

/c game.player.force.technologies['worker-robots-speed-6'].level = 1000

Re: Very deep researching technologies by cheats

Posted: Wed Aug 23, 2023 7:48 am
by CrazyDron
Loewchen, yeah, it works! Thanks a lot! Does this forum consists "thanking"?

Re: Very deep researching technologies by cheats

Posted: Wed Aug 23, 2023 7:52 am
by Loewchen
CrazyDron wrote:
Wed Aug 23, 2023 7:48 am
Thanks a lot! Does this forum consists "thanking"?
Only the way you already did.

Re: Very deep researching technologies by cheats

Posted: Wed Aug 23, 2023 8:01 am
by CrazyDron
Loewchen, maybe you can help with last question: how to get infinite (or very big) number of artillery rounds in chest/in weapon slot/something else, for continuing massive shooting without my attention?

Thanks.

Re: Very deep researching technologies by cheats

Posted: Wed Aug 23, 2023 8:14 am
by boskid
At that point you may just switch to `/editor` and place the "infinity chest" which you can set what items it should contain and it will be refilled every game tick. With editor you can also research or unresearch technologies more easily (there are some tooltips when hovering research button).

Re: Very deep researching technologies by cheats

Posted: Wed Aug 23, 2023 9:38 am
by CrazyDron
boskid wrote:
Wed Aug 23, 2023 8:14 am
At that point you may just switch to `/editor` and place the "infinity chest" which you can set what items it should contain and it will be refilled every game tick. With editor you can also research or unresearch technologies more easily (there are some tooltips when hovering research button).
Thank you. Never known about editor mode.
All works as I expected. My appreciate.