Windfisch / factorio-bot

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

Crash with InventoryPredicates on non-yet-existing entities #33

Closed Windfisch closed 6 years ago

Windfisch commented 6 years ago

When a task has the goals "Put an entity X, and fuel X with coal", the bot will crash: In _calculate_actions() of the InventoryPredicate, the X entity isn't found in actual_entities (and thus no inventory is known).