kyranf / robotarmyfactorio

A mod to add robot troop units and perhaps associated support buildings and items to produce and control them.
MIT License
35 stars 12 forks source link

if military is already researched when the mod is installed, the recipes do not become available #126

Closed TankFox closed 6 years ago

TankFox commented 6 years ago

I'm seeing another issue; military was already unlocked up to military 2 on my map when I installed the mod, but I can't actually build anything. The recipes aren't unlocked

This is such a great mod by the way!!!! I've been a fan for a long time!

kyranf commented 6 years ago

As a quick fix are you okay with using a few console commands? I'll paste them here to unlock the recipes that you are missing which would normally trigger when the research is done

TankFox commented 6 years ago

yes!

kyranf commented 6 years ago

for recipes supposed to unlock with Military 1: /c game.player.force.recipes["droid-rifle"].enabled=true /c game.player.force.recipes["droid-rifle-deploy"].enabled=true /c game.player.force.recipes["patrol-pole"].enabled=true /c game.player.force.recipes["droid-guard-station"].enabled=true /c game.player.force.recipes["droid-assembling-machine"].enabled=true /c game.player.force.recipes["droid-pickup-tool"].enabled=true /c game.player.force.recipes["droid-selection-tool"].enabled=true

For recipes supposed to unlock with Military 2: /c game.player.force.recipes["droid-smg"].enabled=true /c game.player.force.recipes["droid-smg-deploy"].enabled=true /c game.player.force.recipes["droid-rocket"].enabled=true /c game.player.force.recipes["droid-rocket-deploy"].enabled=true /c game.player.force.recipes["droid-flame"].enabled=true /c game.player.force.recipes["droid-flame-deploy"].enabled=true

for recipes supposed to unlock with Military 3: /c game.player.force.recipes["terminator"].enabled=true /c game.player.force.recipes["terminator-deploy"].enabled=true

for recipes supposed to unlock with Electronics: /c game.player.force.recipes["droid-counter"].enabled=true /c game.player.force.recipes["droid-settings"].enabled=true

for recipes supposed to unlock with Combat Robotics: /c game.player.force.recipes["defender-unit"].enabled=true /c game.player.force.recipes["defender-unit-deploy"].enabled=true /c game.player.force.recipes["distractor-unit"].enabled=true /c game.player.force.recipes["distractor-unit-deploy"].enabled=true /c game.player.force.recipes["destroyer-unit"].enabled=true /c game.player.force.recipes["destroyer-unit-deploy"].enabled=true

TankFox commented 6 years ago

Could you also post commands for Droid Pick Up Tool and Command Tool? They didn't fire either

I made a brand spanking new map and did not have this issue, droid pickup and command are right there

(oops about the closing and opening!)

kyranf commented 6 years ago

Edited commands above, under military 1 to include the pickup and selection tools. sorry!

I have this issue ready to fix in an automatic way in the next release, sorry about this inconvenience

TankFox commented 6 years ago

These unlocks were successful!

I love your work! Thank you so much!!!