summaryrefslogtreecommitdiff
path: root/autocrafter.lua
AgeCommit message (Collapse)Author
2017-04-12fix scale on autocrafter's on/off switchVanessa Ezekowitz
2017-03-28Tweak listring behavior of autocrafterCarter Kolwey
Now goes player->source->player and destination->player
2017-02-26Add digilines support to autocrafterCarter Kolwey
"on" and "off" messages turn it on or off, "single" crafts one item, and sending nested tables in the shape of the crafting grid sets the craft. Example message: { {"default:wood","default:wood","default:wood"}, {"default:wood","","default:wood"}, {"default:wood","default:wood","default:wood"} }
2016-08-29add list rings to pipework inventoriesTim
2016-04-01Don't use item_drop(, nil,)Auke Kok
2015-11-18fix 2 other minetest.item_dropsHybridDog
2015-03-11add ownership/protection handling for device configurationTim
take any available ownership into account before deciding on area protection
2015-02-02revert accidental revert (810ae99 -- autocrafter.lua) of f79956cTim
2015-01-31reduce texturename repetition via __indexTim
2015-01-30improve handling of shapeless recipes in the autocrafter recipe filling functionTim
2015-01-29move autocrafter, tp-tube and filter-injector crafts to their respective ↵Tim
code files
2015-01-29add sanity check for upgrade cases of autocrafters with broken metadata ↵Tim
(especially for can_dig)
2015-01-29improve autocrafter infotext handlingTim
use the item description and provide more information in paused states
2015-01-28use on_destruct instead of after_dig_node to clean up the cache entry to ↵Tim
avoid any leaking during worldediting
2015-01-28call after_recipe_change also when moving the output item to src or dst to ↵Tim
stop the crafter as expected
2015-01-28don't add unknown or groupnamed items to the crafting grid when setting it ↵Tim
via the output slot
2015-01-28make sure the autocrafter runs after an upgradeTim
2015-01-28improve upgrade of autocrafter from both former versionsTim
2015-01-28allow virtual item moving from output to the recipe gridTim
2015-01-28simplify autocrafter code a bitTim
2015-01-28add an output field, that is being filled with the crafting result and can ↵Tim
be used for quickly emptying or filling the crafting grid with the last registered recipe some of the recipes are still treated wrongly due to minetest/minetest#2222 but are failling gracefully
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)