summaryrefslogtreecommitdiff
path: root/autocrafter.lua
AgeCommit message (Collapse)Author
2015-01-28use the default background colors and hotbar image for the autocrafter formspecTim
2015-01-28allow moving virtual items within the crafting gridTim
2015-01-28abstract adding of virtual itemsTim
2015-01-28on_ -> after_ to be consistent with minetest api usage of these prefixesTim
2015-01-28add an enable/disable button to the autocrafterTim
the reaction time of the button might be a bit confusing though until minetest/minetest#2220 is being resolved
2015-01-27let the infotext show what we are crafting, or if we craft at allTim
2015-01-27let the autocrafter catch up on missed craftsTim
2015-01-27use nodetimers instead of abm's to run the autocrafters; only run ↵Tim
autocrafters when needed autocrafters will stop() when theres no valid recipe, no dst space or enough src material it will resume again on inventory or recipe changes
2015-01-27split autocraft into a run function and a function autocrafting a singe stepTim
this gives us flexibility for future changes
2015-01-27also cache the recipe consumption to get rid of an additional loop per craftTim
2015-01-27remove unnecessary looping and testing, since we only check and update the ↵Tim
cache if there was actually a reason to assume a recipe change
2015-01-27reduce stacksizes and wear of virtual items on update instead of leaving the ↵Tim
previous configuration in
2015-01-27rename variables to reflect the official api and making the code more clearTim
2015-01-27reduce table lookups and hash_node_position calculationsTim
2015-01-10sanity checking, stop crash in case of garbage inventory dataVanessa Ezekowitz
(i.e. that looks like nil)
2014-11-02Make items in autocrafters virtual as wellNovatux
2013-12-21A few more fixes (spamming the commit log again...)Novatux
2013-12-21fix small typos (False -> false)Vanessa Ezekowitz
2013-12-15local-ize one last varVanessa Ezekowitz
2013-12-15local-ize pretty muchg everything that was previously global except whereVanessa Ezekowitz
stuff needs to be globally-visible. Also, fix a bad drop on valve.
2013-11-25get rid of some extraneous print statementsVanessa Ezekowitz
2013-10-30Fix autocrafter not taking enough items if number of needed items of a kind ↵Novatux
> stack max for that item.
2013-10-04fix incorrect usage of after_place_nodeVanessa Ezekowitz
2013-10-04simplify autocrafterCache, remove cache entry on node dig and disable debug ↵chlue
output
2013-10-04clean up formatting a bitVanessa Ezekowitz
2013-10-04Made autocrafter take less CPU/timechlue
2013-07-19added support for 6d facedir for all tube components, changed autoplace.lua ↵hdastwb
to follow tubes.connect_sides rather than having each component coded individually, and added support for placing deployers and node breakers facing vertically
2013-06-30Phased out all deprecated minetest.env:* uses in favor of minetest.*Vanessa Ezekowitz
2013-06-23rewrote autoplacement code to make it more aware of filters,Vanessa Ezekowitz
autocrafter, nodebreaker, deployer, and made sure each item will only initiate a connection to those sides which can accept such. Fixed various autorouting bugs as I ran across them. Autorouting for various devices is now: filters: left and right sides only nodebreaker, deployer: back only autocrafter: all six sides chests: top, bottom, left, right, back (not front) furnace: bottom, left, right, back (not the top or front)
2013-04-07Autocrafter only crafts when destination inventory has spacebas080
2013-01-20Changed autocrafter formspec.Novatux
2013-01-20Added chests and furnaces autoconnect to tubes.Novatux
Fixed a bug where autocrafter could bbe used to clone items. Removed test code.
2013-01-19Added autocrafter.Novatux
Fixed a bug where items in mese tubes disappeared whan placing or removing a tube next to it.