[Rseding91] [0.16.2] Recipe stealing from other forces

This subforum contains all the issues which we already resolved.
Post Reply
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 2241
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

[Rseding91] [0.16.2] Recipe stealing from other forces

Post by boskid »

You can steal recipe from other force buildings.

Step 1) Execute command:
/c
game.create_force("team_a");
game.player.force = "team_a";
game.player.force.reset();
game.player.force.technologies["automation"].researched = true;
game.player.force.technologies["electronics"].researched = true;
game.player.insert("assembling-machine-1");

Step 2) Place assembler-1 and set it to produce "filter-inserter"

Step 3) Execute command:
/c
game.create_force("team_b");
game.player.force = "team_b";
game.player.force.reset();
game.player.force.technologies["automation"].researched = true;
game.player.insert("assembling-machine-1");

Step 4) (optional) Make sure when trying to interact with already placed assembler you cannot interact ("you cannot interact with enemy force building")

Step 5) Place assembler-1

Step 6) (optional) Make sure there is no "filter-inserter" recipe

Step 7) Shift-Right click on enemy force assembler (to copy recipe) and then Shift-Left click on your assembler

What happens:
- Your assembler can now be used to produce filter-inserters

What should happend:
- You should no be able to copy settings (shift+right click) from buildings of enemy force. Error ("you cannot interact with enemy force building") should appear.


Extra info:
- to copy settings, you can use shift+right click even being far far away on map, only having radar view of single enemy building to copy from and you can setup your own producton of same stuff without researching required tech
- additional case: when changing force of a given player, source building for recipe-copying should be reset to "nothing selected"
- one solution is to check if source building, dest building and current player are all in same force when trying to paste recipe
- right now, you can paste your recipe to enemy buildings, so shift-right click is good way to defeat enemy base production (like changing yellow science pack production into wooden chests) - you even get items from this assembler back (if there was anything being inside)!

Rseding91
Factorio Staff
Factorio Staff
Posts: 13201
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [Rseding91] [0.16.2] Recipe stealing from other forces

Post by Rseding91 »

Thanks for the report. It's now fixed for the next version of 0.16.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Resolved Problems and Bugs”