summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-27Add intermediate button state for sorttube enablerest31
Image supplied by VanessaE.
2015-01-26Color up the enable/disable buttons for sorttubeest31
2015-01-25use a hashmap to manage teleportation tubes, to speedup lookups and ↵Tim
tablemodifications
2015-01-25improve tp_tube configuration handling to decrease disk i/o, handle empty ↵Tim
strings and form escapes
2015-01-23OPTIMIZE _ALL_ THE TEXTURES! \:D/Vanessa Ezekowitz
2015-01-22Fix tubes only taking a single designated path.Diego Martinez
2015-01-20rewrite parts of the teleportation tube to avoid a few grave performance issues:Tim
* don't forceload the block of every single tube in the world on every item being send through any one of them * cache file contents to avoid unnecessary reads on every single item send through a tp tube * reduce redundant metadata and table lookups * reduce write operations during the same changes to a file still to do is a switch from an arraylist-table to a hashmap-table to make lookups and updates on the cache faster
2015-01-20Optimize sorting tube code a bit.Diego Martinez
2015-01-16use animated water for pouring spigotVanessa Ezekowitz
also remove a couple of extranous .mtl files and a redundant spigot texture
2015-01-15Use mesh nodes for all nodebox-based pipe-related nodesVanessa Ezekowitz
2015-01-10sanity checking, stop crash in case of garbage inventory dataVanessa Ezekowitz
(i.e. that looks like nil)
2014-12-27allow sorting tubes to be dug, despite virtual items in the inventoriesTim
2014-11-30minetest.env:* --> minetest.*Vanessa Ezekowitz
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-11-02Make items in autocrafters virtual as wellNovatux
2014-09-21use default copper instead of moreores copper for the water pump recipeTim
2014-09-12Fix #73Novatux
2014-08-24fix undefined node crashVanessa Ezekowitz
2014-08-23quick hack to prevent crash in load_position() call if given a set ofVanessa Ezekowitz
coords that are out of valid range
2014-08-17Escape text for cycling form buttonZefram
2014-08-16Fix possible race condition crashNovatux
2014-08-15Fix mese tube formspecNovatux
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-15Fix old mese tube detectionNovatux
2014-08-14Fix wielderNovatux
2014-08-14Fix typoNovatux
2014-08-14Remove useless callbacksNovatux
2014-08-14Add legacy code for items in tubesNovatux
2014-08-14Major rewrite of items in tubesNovatux
2014-08-09Node breaker fixup for ones lacking pick slotZefram
This has been seen on Vanessa's server, and caused the wielding code to crash.
2014-08-06don't add active furnace to creative invVanessa Ezekowitz
2014-07-30Use 'group:stick' instead of 'default:stick'Kevin Zheng
2014-07-30get rid of the old pipeworks clone node functionVanessa Ezekowitz
use minetest.override_item() instead
2014-07-28use current homedecor plastic sheet textureVanessa Ezekowitz
2014-07-28update pipeworks to use modern homedecor-style crafting chainVanessa Ezekowitz
craft 6 any leaves -> oil extract, cook oil -> paraffin, cook paraffin -> plastic old "plastic base" is aliased to paraffin.
2014-07-23Refactor node breakerZefram
Merge node breaker into the generic wielder mechanism. Center the wield inventory in all wielders' formspecs. Implement full auto-upgrade of legacy node breakers, occurring upon use or punching of the node breaker. Make node breaker respect on_dig hooks.
2014-07-23Refactor deployer and dispenserZefram
Merge implementations into a single "wielder" mechanism. Clean up the code a bit. Fix get_player_control_bits for the dispenser (it wasn't indicating the sneak setting). Fix drops for dispenser (dispenser_on was dropping as itself). Show item image, as well as name, at head of form.
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-21Make sorting tube dialog lag-resistantZefram
2014-07-21Better teleport tube control dialogZefram
Describe the two modes as "Send and Receive" and "Send only", rather than the misleading "On" and "Off". Also make the mode toggle button lag-resistant.
2014-07-21Add dispenserZefram
The dispenser is an automated item dropper.
2014-07-21Let stack of projectiles diminish in node breakerZefram
The logic that prevents mechanically wearing a tool was also preventing the diminution of a stack of items to use, such as a stack of snowballs. Restrict the use of pickcopy to the case where the stack still has the same item type, count, and metadata.