-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Send messages from digiline chest when items are moved with tubelib #73
Conversation
|
@Panquesito7 @OgelGames can I get some eyes and thumbs? |
Just noticed this might be a bit more complex than expected, as I just remembered an unpull may effectively move the item, I also want this to work with whole stacks or it will be very difficult to make useful |
Okay I re-wrote the callbacks so they act a little more predictably, should be good now |
@SmallJoker can you accept the workflow and give this a review? (and maybe merge it :D) |
Thanks for the changes. I'll trust you on these changes because my knowledge about digilines is almost zero. The code looks good, and the parts that aren't quite nice were at least only moved, hence no problem. Will merge in a few days unless there are objections. |
Co-authored-by: David Leal <halfpacho@gmail.com>
Thanks, mine too TBH, but I'm using the existing API for that so not my problem :P I have been working on tubelib/tehpack quite a lot though and am pretty certain it is working well with all the weirdnesses of that mod
I agree haha, switching between inline / side-by-side view you can see I haven't changed anything there. Maybe if you're (un)lucky I'll get round to a digilines re-write at some point, the APIs are so inconsistent every node needs its own instruction book |
I noticed that the pipeline was not run - this seems to happen for all first-time contributor's PRs now. Would you mind having a look at them? |
@SmallJoker Of course, probably just linting. I think they're disabled because people realised they could mine cryptocurrency for free using github's computers by submitting "checks" that actually trigger full programs |
@SmallJoker that should do it, run it again |
Fixes #61
Sends the same events from tubelib interaction as would be sent from pipeworks
tube_can_insert
andtube_insert_object
callbacks out of the node definition so they can be re-used in the tubelib registration