Windfisch / factorio-bot

Work-in-progress factorio bot
GNU General Public License v3.0
33 stars 4 forks source link

Itemcollector always removes from the CHEST inventory #26

Closed Windfisch closed 5 years ago

Windfisch commented 5 years ago

When taking stuff from furnaces, it should be the product inventory!

Possible fixes:

  1. Make the bot aware of the different inventories, so the right one can be selected
  2. hard-code the inventory based on the entity type / item type (e.g.: wood from chest -> chest inventory. wood from furnace: fuel inventory. iron-plate from furnace: ???)
  3. Ignore the problem and make the decision in the lua mod.

Best would be 1.