6 Commits

Author SHA1 Message Date
dd0b66a3df Fix pipeworks pulling from the wrong chest slot
This removes workarounds related to inv callbacks which were later fixed by the engine.
In addition, pipeworks does (for years) provide the item index, thus such workarounds
were removed too and replaced by using the arguments provided.

Fixes an item duplication when using a pipeworks injector to pull from a digiline chest.
2025-06-24 21:16:28 +02:00
f781039f43 MineClone/MineClonia compatibility (#80) 2023-12-02 21:45:07 +01:00
f03cd02854 Send messages from digiline chest when items are moved with tubelib (#73)
Sends the same events from tubelib interaction as would be sent from pipeworks

 * Moved the tube_can_insert and tube_insert_object callbacks out of the node definition so they can be re-used in the tubelib registration
 * Optionally required tubelib and registered callbacks for pushing and pulling
 * Used "speculative pull" variable to only send a "take" event if tubelib's unpull is not called after a pull - this happens when it tries to take an item but there is no room, so it fails
2021-07-21 15:07:15 +02:00
dc6cc0b04a [LuaCheck]: Various changes and improvements (#65)
* Add GitHub workflow
* Fix LuaCheck warnings
* Add build status badge on README.md
2021-01-16 09:59:19 +01:00
930ca4779a Update .luacheckrc 2019-03-05 22:00:20 -08:00
5caacf3019 Add .luacheckrc and fix warnings. 2017-03-14 21:57:01 -07:00