New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Science pack 3 prerequisites #16
base: master
Are you sure you want to change the base?
Conversation
Change piston-cylinder to require machining
| @@ -0,0 +1,10 @@ | |||
| for index, force in pairs(game.forces) do | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe a
game.reload_script()
is missing?
| local technologies = force.technologies | ||
| local recipes = force.recipes | ||
|
|
||
| recipes["circuit-1-b"].enabled = technologies["substrate_2"].researched |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should also check, if the recipe and tech is not null, because it was not available before? That was at least another bug recently
| @@ -21,7 +21,7 @@ data.raw.recipe["long-handed-inserter"].ingredients = {{"inserter", 1}, {"electr | |||
| --Base "fast-inserter" | |||
| data.raw.recipe["fast-inserter"].category = "crafting" | |||
| data.raw.recipe["fast-inserter"].energy_required = 2 | |||
| data.raw.recipe["fast-inserter"].ingredients = {{"inserter", 4}, {"mechanism-1", 1}, {"electric-engine-unit", 2}, {"advanced-circuit", 4}} | |||
| data.raw.recipe["fast-inserter"].ingredients = {{"inserter", 4}, {"mechanism-1", 1}, {"electric-engine-unit", 2}, {"electronic-circuit", 4}} | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It think, its good, to make the fast inserter a bit easier to get
Can manufacture engine-unit in assembling-machine-1.
Fast inserters use Electromechanical Circuit instead of Electronic Circuit, so they can be built before Advanced Circuits, and can be used as ingredients in Assembling Machine 2.
With Assembling Machine 2, can build Electronic Circuit for Science Pack 3.
Unlock circuit-1-b with Circuit Substrates 2, and etched-2-b with Circuit Substrates 3 (etching using hydrochloric acid).
Fixes #15.
I haven't tested that Science Pack 3 is unreachable yet, but I think this is ready for feedback while I test.