Skip to content

pipeworks extraction is actually surprisingly easy #8

@nonchip

Description

@nonchip

Pipeworks note: Currently you can pipe items inside the storage interface but you can't pipe them out because of the pipeworks api.

Despite that vague "the other one's fault" note, I've been able to pipe them out after patching a surprisingly small amount (30ish lines, about 10 of which are ugly hacks to get to your local functions via debug.getupvalue because you seem to be lacking a public api), as can be seen here (which also implements a fix for #9, and adds a digiline api to query item counts). turns out actually implementing the pipeworks api fixes the "issue because of the pipeworks api" 😜

not sure how stable this is (i tried using the "fake inventory" before as you can see in the commented out code, that only worked for the currently selected page, but since i'm walking connected nodes now i think this should work fine), but i've done some testing and so far it works just fine.

i'm still having a bit of trouble with stack sizes (the "Digilines Filter/Injector" is supposed to extract an exact amount, but seems to be taking a whole stack instead), but i'm positive that can be solved (it could)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions