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.
how to reset a specific technologie ?
-
- Manual Inserter
- Posts: 3
- Joined: Sun Apr 24, 2016 12:57 pm
- Contact:
Re: how to reset a specific technologie ?
I think it was
Tested it - works fine. 
Code: Select all
/c game.player.force.technologies["technology-name-here"].researched=false

Former moderator
-
- Manual Inserter
- Posts: 3
- Joined: Sun Apr 24, 2016 12:57 pm
- Contact:
Re: how to reset a specific technologie ?
works great thanks a lot ^^.
-
- Manual Inserter
- Posts: 3
- Joined: Sun Apr 24, 2016 12:57 pm
- Contact:
Re: how to reset a specific technologie ?
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 -_-
edit : same prob with "Electric energy distribution 2"
edit 2 : prob solve : was the capital letter -_-
Re: how to reset a specific technologie ?
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)
"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