I have had to restart my factories a few times, and while starting up can be fun, there are times I'd like to just have all the research done and build a factory... Sort of like "Creative Mode" on Minecraft.
Is there a way to quickly research all technologies, or do them through the console? The waiting period is the killer, I can just give myself the potions if there's a way to disable the wait period, or "give" the research.
Any help would be swell.
Complete Research in Console
Re: Complete Research in Console
I think the easiest way would be to install the test mode mod: https://forums.factorio.com/forum/vie ... f=14&t=895
Ignore this
Re: Complete Research in Console
Code: Select all
game.player.force.researchalltechnologies()
Re: Complete Research in Console
slpwnd - <3
Worked like a champ
Worked like a champ
Re: Complete Research in Console
One more question while I'm at it -- is there a list of entities anywhere? To use with the "give" command?
Something like:
express-transport-belt
and so on? I think some deviate from the textual name, but can't think of them right now.
Something like:
express-transport-belt
and so on? I think some deviate from the textual name, but can't think of them right now.
Re: Complete Research in Console
I know logistic chest change, they are logistic-chest-provider, logistic-chest storgage etc.
But I find using the testmode muuuch eaaier (Mods arent bad )
if you still prefer to not use it, then you can look the nanes in the locale files
But I find using the testmode muuuch eaaier (Mods arent bad )
if you still prefer to not use it, then you can look the nanes in the locale files
Re: Complete Research in Console
Makes sense -- for the most part, I try to avoid mods... a co-worker and I made a dense-coal mod a while ago, and I had a treefarm mod... something with those games happened that made my saves unplayable, so that was depressing.
I may end up giving that a shot at some point.
Good call at looking at the folders, didn't think of that.
I may end up giving that a shot at some point.
Good call at looking at the folders, didn't think of that.
Re: Complete Research in Console
There is no "list of entities" at the moment. Though it is a nice idea.
Edit: ok there is as kovarex has shown below
Edit: ok there is as kovarex has shown below
Re: Complete Research in Console
There actually is way to get the name of all entities using this:rlerner wrote:One more question while I'm at it -- is there a list of entities anywhere? To use with the "give" command?
Something like:
express-transport-belt
and so on? I think some deviate from the textual name, but can't think of them right now.
https://forums.factorio.com/wiki/inde ... prototypes
Example of printing all entities to console, the problem is, that the list is too long:
Code: Select all
local entities = game.entityprototypes;for index, entity in pairs(entities) do game.player.print(entity.name) end
Code: Select all
local entities = game.entityprototypes;for index, entity in pairs(entities) do if entity.type=="tree" then game.player.print(entity.name) end end