EarendelDevelopers / EarendelDevelopers/factorio-mods

Investigate potential improvements to prevent navsat from picking up items

Open
#247 0 comments 0 reactions 0 assignees View on GitHub
enhancement space exploration
Dominant language
No language data
Stars
17
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Right now when navsat picks up an item we detect it in `on_player_cursor_stack_changed` and then try to drop it back in `RemoteView.drop_stack`.

`RemoteView.drop_stack` uses `entity.insert(stack)`, which can only put things down in input inventories.

Maybe there's a way to hard-set the hard-set the "output" inventory of entities instead. We can't tell which slot of the building the item came from, but usually those are filtered to a single item type only so it should be accurate for all but loop recipes.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.