summaryrefslogtreecommitdiff
path: root/item_transport.lua
AgeCommit message (Collapse)Author
2017-08-20give more possibilities to mods (#194)DS
* add owner to tubed items * allow custom inventories
2017-05-18Replace deprecated methods: (#179)Jordan Irwin
- 'setting_get' with 'settings:get' - 'setting_getbool' with 'settings:get_bool'
2017-04-09make item drop by tubes nicer (#168)DS
* make item drop by tubes nicer
2017-04-07remove "reversed" warning messageVanessa Ezekowitz
(not needed now that tube breaking is reliable)
2017-04-06default breaking code to "enabled" and lower the default limit to 30.Vanessa Ezekowitz
2017-04-06tonumber() the config'd items limitVanessa Ezekowitz
2017-04-06Don't lose extra movement when entering new tube or turning around.Ekdohibs
2017-04-06Make item counting more reliable and more efficient.Ekdohibs
2017-04-05let tubes break if they're "over-pressure"Novatux
that is, if there are more than X number of items in a tube. Default is 40 in a tube, but breaking is also disabled by default. (original framework by Novatux, with changes by VanessaE)
2017-04-05always set item start pos on reverse.Vanessa Ezekowitz
2017-04-04Namespace pollution cleanup (Used list at #154)ForbiddenJ
2017-03-29if an item should reverse dir (e.g. full destination),Vanessa Ezekowitz
and it's not going back into a tube, reject it and pop out as an item
2017-03-29add a warning if a tubed item turns aroundVanessa Ezekowitz
(too many means that something is wrong with that tube circuit)
2017-03-01Allow reversing direction if there's nowhere to goCarter Kolwey
2016-04-01Changed item_drop to add_item for items dropped during transport.greencopper
item_drop makes Minetest 0.4.13 crash, but add_item works in all versions and the behavior is identical when looking at the blocks.
2015-11-17fix crash caused by deprecated usage of minetest.item_drop, fixes #122HybridDog
2015-07-25Try to fix items dropping in unloaded areasNovatux
2015-06-23Revert "fix multiple crash points if luaentity.entities or values returned from"Novatux
This reverts commit d0952a97fcff08328328d05f630d2b0036a48163.
2015-06-23fix multiple crash points if luaentity.entities or values returned fromVanessa Ezekowitz
luaentity.add_entity() are nil
2015-01-29chmod -x *.luaTim
2015-01-29split the filter-injector specific code out of the generic item_transportTim
2014-11-22update to use current mesecons APIVanessa Ezekowitz
requires mesecons commit 5be179bf110b44bdc06df6dbfde4e61487cf0635 or newer.
2014-11-16Make filters behave correctly with protected areas (fixes #74)Novatux
2014-08-24fix undefined node crashVanessa Ezekowitz
2014-08-15Rename tube_item() to tube_inject_item()Zefram
The new function has no API compatibility with the old one, so give it a different name to avoid confusion among caller mods, which need to change their usage. Have a function under the old name that outputs a helpful error message.
2014-08-14Fix typoNovatux
2014-08-14Add legacy code for items in tubesNovatux
2014-08-14Major rewrite of items in tubesNovatux
2014-07-21Slot sequencing modes for filter-injectorsZefram
The filter-injectors used to always prefer to take items from the beginning of the source inventory. Because items also tend to get placed at the beginning of an inventory, this could lead to a chest+injector buffer only passing through a trickle of one type of item, where other item types are flowing in and getting later inventory slots. So now, the sequencing of source inventory slots is configurable, per-injector, by form. In addition to the old priority mode, there's now a random mode and a rotation mode. Incidentally refactor the filter-injector code, to avoid duplication between the itemwise and stackwise variants.
2014-07-21rename "filter" to "filter-injector"Zefram
"Injector" better describes the nodes' main purpose.
2014-07-05Name tube items for function rather than materialZefram
Previously, some tube types were named based on their function, and others based on some arbitrarily-chosen material used in their construction, with no meaningful system governing which was in each category. With this change they are consistently named according to function. Naming style is also made consistent in the wording that identifies tubes as such, and in capitalisation.
2014-07-02Make non-node items in tubes look more solidZefram
Use the "wielditem" visual type for non-node items, with a fixed 45 degree yaw. This matches the recent change of dropped-item entities from "sprite" visual to "wielditem".
2014-07-02Fix bug with multiple input inventories with the filtersNovatux
2014-07-01Try to fix some bugs that happen on server restartNovatux
2014-06-14Filter inventory fixNovatux
2014-05-23Accept multiple input inventories, fix bug with mesecons_mvpsNovatux
2014-05-18BugfixNovatux
2014-04-13Deployer fixesNovatux
2014-02-10Add optional before/after filter callbacksCiaran Gultnieks
These allow nodes that manage inventory in a non-standard manner (e.g. a barrel) to still be able to work with pipeworks filters.
2014-01-11allow_metadata_inventory_take returns a number, not a boolNovatux
2014-01-10Prevent items from leaving below filtersNovatux
2014-01-03Support for the mesecons mvps callbackNovatux
2013-12-24fix filters and mese filters not working correctlyNovatux
2013-12-21Fix item transport codeNovatux
2013-12-21A few fixesNovatux
2013-12-15notvel function can't be local - made global and confined to pipeworks.{}Vanessa Ezekowitz
2013-12-15tube_item has to be global. confined it to pipeworks.{} table.Vanessa Ezekowitz
2013-12-15local-ize a few more variablesVanessa Ezekowitz
2013-12-15local-ize a few more variables and functionsVanessa Ezekowitz
2013-12-15local-ize a few more functionsVanessa Ezekowitz