how to reset a specific technologie ?

Don't know how to use a machine? Looking for efficient setups? Stuck in a mission?
Thyrguilar
Manual Inserter
Manual Inserter
Posts: 3
Joined: Sun Apr 24, 2016 12:57 pm
Contact:

how to reset a specific technologie ?

Post by Thyrguilar »

Hi, I was wondering how to reset a specific tech, and after hours, found nothing.

I get a mod that modify existing tech, adding recipe in it. But because it was allready research in my save game, i can't research it again (yeah, cpt obvious is here !) but the new recipe in that tech do not appear in the "e" menu (works normaly on a new game).

So, if anyone knows a command to reset one single particular tech (not reseting all) i ll be greatfull.

P.S : sorry if my english is not correct, not my birth language.
User avatar
Kayanor
Global Moderator
Global Moderator
Posts: 566
Joined: Sat May 10, 2014 7:20 am
Contact:

Re: how to reset a specific technologie ?

Post by Kayanor »

I think it was

Code: Select all

/c game.player.force.technologies["technology-name-here"].researched=false
Tested it - works fine. :D
Former moderator
Thyrguilar
Manual Inserter
Manual Inserter
Posts: 3
Joined: Sun Apr 24, 2016 12:57 pm
Contact:

Re: how to reset a specific technologie ?

Post by Thyrguilar »

works great thanks a lot ^^.
Thyrguilar
Manual Inserter
Manual Inserter
Posts: 3
Joined: Sun Apr 24, 2016 12:57 pm
Contact:

Re: how to reset a specific technologie ?

Post by Thyrguilar »

hummm, at least works for some, but not for "Advanced-Material-Processing-2" (i tried a few different way to spell it with what i found). can't manage to make it works. where can i find the correct lua name for that one ?

edit : same prob with "Electric energy distribution 2"

edit 2 : prob solve : was the capital letter -_-
User avatar
Kayanor
Global Moderator
Global Moderator
Posts: 566
Joined: Sat May 10, 2014 7:20 am
Contact:

Re: how to reset a specific technologie ?

Post by Kayanor »

All the vanilla technologies are listed in your Factorio installation directory:

"C:\Program Files\Factorio\data\base\prototype\technology" (default standalone installation directory)
"C:\Program Files (x86)\Steam\steamapps\common\Factorio\data\base\prototype\technology" (default Steam installation directory on x64 systems)
Former moderator
Post Reply

Return to “Gameplay Help”