Very deep researching technologies by cheats

Don't know how to use a machine? Looking for efficient setups? Stuck in a mission?
Post Reply
User avatar
CrazyDron
Burner Inserter
Burner Inserter
Posts: 7
Joined: Mon Jul 31, 2023 7:20 am
Contact:

Very deep researching technologies by cheats

Post 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!

Loewchen
Global Moderator
Global Moderator
Posts: 8322
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: Very deep researching technologies by cheats

Post by Loewchen »

Code: Select all

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

User avatar
CrazyDron
Burner Inserter
Burner Inserter
Posts: 7
Joined: Mon Jul 31, 2023 7:20 am
Contact:

Re: Very deep researching technologies by cheats

Post by CrazyDron »

Loewchen, yeah, it works! Thanks a lot! Does this forum consists "thanking"?

Loewchen
Global Moderator
Global Moderator
Posts: 8322
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: Very deep researching technologies by cheats

Post 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.

User avatar
CrazyDron
Burner Inserter
Burner Inserter
Posts: 7
Joined: Mon Jul 31, 2023 7:20 am
Contact:

Re: Very deep researching technologies by cheats

Post 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.

User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 2250
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: Very deep researching technologies by cheats

Post 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).

User avatar
CrazyDron
Burner Inserter
Burner Inserter
Posts: 7
Joined: Mon Jul 31, 2023 7:20 am
Contact:

Re: Very deep researching technologies by cheats

Post 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.

Post Reply

Return to “Gameplay Help”