Page 1 of 1

[Rseding91] [0.17.8] Transferring items into enemy structures

Posted: Thu Mar 07, 2019 9:14 pm
by H0lyD4wg
It is possible to transfer items into entities that belong to a hostile force. This applies both to belts and to entities with inventories (tested with chest, gun turret, assembling machine, and roboport).

Steps to reproduce:
  1. Download the attached scenario and start playing. When you start the scenario, anything inside the large hazard-concrete square belongs to the player's force, while structures outside that square belong to a hostile force called "rival". An iron chest inside the square contains items you will need for the next steps.
  2. Walk up to the grey assembling machine (gear wheel recipe is selected) and attempt to transfer iron plates into it using Ctrl+LMB or Ctrl+RMB. As expected, the transfer is disallowed.
  3. Place an inserter pointing at the assembling machine and a chest for the inserter to pull items from. Put a few iron plates in the chest. The inserter will insert the plates into the assembler, causing it to make gear wheels. [Expected: inserter will not interact with enemy structure]
  4. Focus the assembling machine with iron plates in hand and drop a few into it using Z. The plates will be dropped into the machine's inventory. [Expected: transfer into enemy building is not allowed]
  5. Place an inserter pointing out of the assembling machines. Notice that even though the machine now contains gear wheels, the inserter will not remove them. This is as expected.
  6. Repeat steps 3-5 with a chest, a gun turret, a roboport, and a transport belt segment. Results will be the same: the player can insert items with Z, but not with Ctrl+LMB / Ctrl+RMB. Inserters will insert items into, but not remove items from, enemy structures.

Re: [0.17.8] Transferring items into enemy structures

Posted: Wed Apr 24, 2019 7:38 am
by Rseding91
Thanks for the report. I've changed it so dropping items is not allows for enemies however the other cases are intended.