McGuten / 5DimsFactorioMods

5Dim's Factorio mods
MIT License
36 stars 45 forks source link

Pumpjack MK2 is missing #57

Closed WoaDmulL closed 6 years ago

WoaDmulL commented 6 years ago

The MK2 Pumpjack is not craftable by hand or in the assembling machines but the MK3 is showing.

pumpjack

D10X1D0 commented 6 years ago

did you add/update the mod to a old save? tech-tree recipe unlocks might get glitched. edit. advanced oil processing is the one that unlocks it the mod is missing this feature http://lua-api.factorio.com/latest/Migrations.html that checks old saves to unlock vanilla tech unlocks for that mod.

You can unlock the recipe with a command pumpjack mk2 /c game.player.force.recipes["5d-pumpjack-2"].enabled=true

WoaDmulL commented 6 years ago

image It was already unlocked. The save is recent ( 0.16.15 ).

After I ran the command I could craft it.

D10X1D0 commented 6 years ago

It was unlocked but not "enabled". The game enables recipes for the player to use only when the research is finished at the lab. Any mod that adds unlocks to tech-trees that might have being unlocked previously have to add a patch to check for this cases and "enable" the recipes. IMO this is a silly thing and the game should auto-run a research unlocks check any time you add/delete a mod.

McGuten commented 6 years ago

I edit the readme.md, you can use this command to fix it ^^

And again, thanks you @D10X1D0