Commit Graph

  • aa5f155100 Use group:sand for sand_tube_1 recipes MT-Modder 2015-03-01 10:54:18 -05:00
  • ac4f761919 fix wielder mixing up above and under, which had for example an effect on the deployer trying to place seeds Tim 2015-03-01 09:59:38 +01:00
  • c505088fbb Set the owner for locked chests on placing est31 2015-02-11 19:37:19 +01:00
  • 9af43b9f6f fix conductor_tube_on texture Tim 2015-02-08 11:00:07 +01:00
  • 6abed742e8 also fix chests and furnaces Vanessa Ezekowitz 2015-02-07 03:01:25 -05:00
  • ce12c83306 fix filters also Vanessa Ezekowitz 2015-02-07 02:51:06 -05:00
  • 364633d884 make all tubes call the routing functions using their after_place/after_dig callbacks Vanessa Ezekowitz 2015-02-07 02:45:17 -05:00
  • e33b662274 remove obsolete calls to register_on_placenode/dignode they're slow and obsolete Vanessa Ezekowitz 2015-02-07 01:41:44 -05:00
  • f46de19ff0 use the right variable to test on_receive_fields Tim 2015-02-05 08:22:53 +01:00
  • cb8ecbf8cf don't tostring "nil" in the teleportation tube on escape Tim 2015-02-04 15:37:20 +01:00
  • efe2af2d20 let the requested wielditem be the actual current wielditem and not just the initialized one clean up some code to make a few lesser calls to it Tim 2015-02-04 13:01:55 +01:00
  • e53cd28fcb remove dead code to remove undeclared variable access warning Tim 2015-02-04 12:40:16 +01:00
  • 7a82393547 fix typo in texturename Tim 2015-02-04 10:58:53 +01:00
  • 50bc351804 Fix injector crash when dug or punched when its empty est31 2015-02-04 03:08:16 +01:00
  • 8e9affc841 Make sorting tubes not drop elements if all outputs filtering for a specific element are filled. est31 2015-02-03 23:12:10 +01:00
  • 50b417ce13 Add the High Priority tube segment that can be used as replacement of sorting tubes where they are only used to deactivate paths. The Priority tube uses as less cpu as the default tube, is easier to maintain as well as cheaper as the sorting tube. Tim 2015-02-03 15:35:44 +01:00
  • f499f6a8c7 Fix vacuum tube formspec and make radius parsing smarter est31 2015-02-03 09:23:38 +01:00
  • 9e99d2e65f rename infotext mese tube -> sorttube est31 2015-02-03 07:44:44 +01:00
  • 3041ebb81b Enable to specify size for stacks a stackwise filter takes est31 2015-02-03 06:28:17 +01:00
  • dc58fe8467 trim teleport_tube string input Tim 2015-02-02 19:33:41 +01:00
  • 95a6ec93e7 fix broken mese tube recipe Vanessa Ezekowitz 2015-02-02 00:57:14 -05:00
  • 13e878398c revert accidental revert (810ae99 -- autocrafter.lua) of f79956c Tim 2015-02-02 03:14:26 +01:00
  • 2d0716be6f better texture for tube pane sides Vanessa Ezekowitz 2015-02-01 12:30:18 -05:00
  • 5114dfe5f4 fix recipe in panel tube Vanessa Ezekowitz 2015-02-01 12:24:20 -05:00
  • 4379b1904d add decorative tubes: one steel block embedded the other passing through an airtight pane Tim 2015-01-31 00:06:27 +01:00
  • e9432321e9 increase vacuum distance to radius * sqrt(3) again, but cache everything to local variables Tim 2015-01-31 22:45:30 +01:00
  • c941a24889 remove field for 01-2012 facedir legacy support for the one-way tube, which was added after Tim 2015-01-31 20:42:28 +01:00
  • 70f38104a0 reduce table lookups and string concat Tim 2015-01-31 16:48:03 +01:00
  • e60f86a588 switch to the minetest-conventional def-table style of registering tubes to clean up their registrations Tim 2015-01-31 16:10:25 +01:00
  • 810ae99008 reduce texturename repetition via __index Tim 2015-01-31 14:47:06 +01:00
  • 4dc3f159c9 remove unnecessary pcall() around tonumber, as it will return nil for invalid input and not throw an exception Tim 2015-01-30 23:51:11 +01:00
  • f065349972 restyle formspecs and add infotexts to adjustable vacuuming tube Tim 2015-01-30 21:38:04 +01:00
  • 7f0372559b optimize vacuum tubes by getting rid of an extra abm, an extra loop per abm, table lookups and reduce the necessary search distance a bit Tim 2015-01-30 18:18:19 +01:00
  • f79956c0b6 improve handling of shapeless recipes in the autocrafter recipe filling function Tim 2015-01-30 21:09:43 +01:00
  • 51c5b63ee7 fix crashing typo in sorting_tube formspec update Tim 2015-01-30 16:41:10 +01:00
  • 61af474116 rename tubes to tube_registration to avoid catch-all usage Tim 2015-01-29 22:52:13 +01:00
  • 4eff124ec8 fix crafts to only register when their respective tubes are enabled also add the one-way tube recipe back Tim 2015-01-29 22:47:33 +01:00
  • 5a79a60e0f use the default tube textures as fallback for any missing textures during tube registration Tim 2015-01-29 22:36:16 +01:00
  • a98af7bf15 split the big tubes file up into functional modules independend from the tube registration and add their respective crafting recipes use this opportunity to remove some whitespaces issues from it Tim 2015-01-29 22:24:14 +01:00
  • b54a868c33 chmod -x *.lua Tim 2015-01-29 21:59:35 +01:00
  • 471e1131c6 add tube inventory image to the restyled tp tube formspec Tim 2015-01-29 20:58:28 +01:00
  • d15d27391b style trashcan formspec Tim 2015-01-29 20:13:44 +01:00
  • fcba05fd78 move autocrafter, tp-tube and filter-injector crafts to their respective code files Tim 2015-01-29 20:10:45 +01:00
  • c9d18f74e4 update all formspecs "current_name" to "context" to reflect current api Tim 2015-01-29 20:08:34 +01:00
  • 009b9e9276 split the filter-injector specific code out of the generic item_transport Tim 2015-01-29 19:55:00 +01:00
  • 1e50644487 add infotexts to the teleportation tube this should also debunk the myth of some players, that they are the only ones seeing the channel Tim 2015-01-29 19:04:20 +01:00
  • 9d45599872 improve/style tp tube formspec and formspec handling Tim 2015-01-29 18:57:34 +01:00
  • 373c7951d2 add sanity check for upgrade cases of autocrafters with broken metadata (especially for can_dig) Tim 2015-01-29 17:04:07 +01:00
  • 73b3466a7b improve autocrafter infotext handling use the item description and provide more information in paused states Tim 2015-01-29 17:00:05 +01:00
  • 502395aa13 use swap_node in autoplace_pipes for pipesegments so the source would be kept; fixes #78 Tim 2015-01-29 04:18:00 +01:00
  • 3bcf3b5f2f use on_destruct instead of after_dig_node to clean up the cache entry to avoid any leaking during worldediting Tim 2015-01-28 21:47:50 +01:00
  • b009e46590 call after_recipe_change also when moving the output item to src or dst to stop the crafter as expected Tim 2015-01-28 21:42:34 +01:00
  • 197e433f49 don't add unknown or groupnamed items to the crafting grid when setting it via the output slot Tim 2015-01-28 20:56:26 +01:00
  • 0cb1eb49dc make sure the autocrafter runs after an upgrade Tim 2015-01-28 19:41:38 +01:00
  • 7dca3393be improve upgrade of autocrafter from both former versions Tim 2015-01-28 18:55:59 +01:00
  • d75e1a214a allow virtual item moving from output to the recipe grid Tim 2015-01-28 16:51:07 +01:00
  • a74c2212ab simplify autocrafter code a bit Tim 2015-01-28 16:30:22 +01:00
  • 320a483f4f add an output field, that is being filled with the crafting result and can 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 Tim 2015-01-28 06:23:46 +01:00
  • 5fa3e1f626 use the default background colors and hotbar image for the autocrafter formspec Tim 2015-01-28 01:36:13 +01:00
  • 3a46c1266a allow moving virtual items within the crafting grid Tim 2015-01-28 00:42:22 +01:00
  • e92ac0f7b3 abstract adding of virtual items Tim 2015-01-28 00:33:07 +01:00
  • 78e081cf25 on_ -> after_ to be consistent with minetest api usage of these prefixes Tim 2015-01-28 00:27:17 +01:00
  • 6d1bc7b3fc add an enable/disable button to the autocrafter the reaction time of the button might be a bit confusing though until minetest/minetest#2220 is being resolved Tim 2015-01-27 21:55:19 +01:00
  • 5ac0053f8c let the infotext show what we are crafting, or if we craft at all Tim 2015-01-27 20:19:48 +01:00
  • f3b636d63e let the autocrafter catch up on missed crafts Tim 2015-01-27 05:27:36 +01:00
  • 44bafb844a use nodetimers instead of abm's to run the autocrafters; only run 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 Tim 2015-01-27 03:45:38 +01:00
  • 2ccce52976 split autocraft into a run function and a function autocrafting a singe step this gives us flexibility for future changes Tim 2015-01-26 22:04:56 +01:00
  • f427bae557 also cache the recipe consumption to get rid of an additional loop per craft Tim 2015-01-26 21:34:32 +01:00
  • cee16932be remove unnecessary looping and testing, since we only check and update the cache if there was actually a reason to assume a recipe change Tim 2015-01-26 21:27:47 +01:00
  • 827d049789 reduce stacksizes and wear of virtual items on update instead of leaving the previous configuration in Tim 2015-01-26 19:34:43 +01:00
  • d3110a9e20 rename variables to reflect the official api and making the code more clear Tim 2015-01-26 18:52:04 +01:00
  • 7b9571912d reduce table lookups and hash_node_position calculations Tim 2015-01-26 18:34:05 +01:00
  • 52cfe9f277 Add intermediate button state for sorttube enabler est31 2015-01-27 23:14:05 +01:00
  • 8b22593f55 Color up the enable/disable buttons for sorttube est31 2015-01-26 23:23:44 +01:00
  • fb98963810 use a hashmap to manage teleportation tubes, to speedup lookups and tablemodifications Tim 2015-01-25 23:40:23 +01:00
  • 5b026d2cc7 improve tp_tube configuration handling to decrease disk i/o, handle empty strings and form escapes Tim 2015-01-25 20:05:10 +01:00
  • cdd3eb209b OPTIMIZE _ALL_ THE TEXTURES! \:D/ Vanessa Ezekowitz 2015-01-23 14:07:02 -05:00
  • 9493478e59 Fix tubes only taking a single designated path. Diego Martinez 2015-01-22 10:52:17 -03:00
  • 82a7b6a749 rewrite parts of the teleportation tube to avoid a few grave performance issues: * 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 Tim 2015-01-20 22:58:46 +01:00
  • 9a83380b2b Optimize sorting tube code a bit. Diego Martinez 2015-01-20 14:06:44 -03:00
  • dad386b564 use animated water for pouring spigot Vanessa Ezekowitz 2015-01-16 04:38:17 -05:00
  • 50359104c7 Use mesh nodes for all nodebox-based pipe-related nodes Vanessa Ezekowitz 2015-01-15 06:25:41 -05:00
  • e0039f22f8 sanity checking, stop crash in case of garbage inventory data (i.e. that looks like nil) Vanessa Ezekowitz 2015-01-10 01:31:22 -05:00
  • 6f16dd24c2 allow sorting tubes to be dug, despite virtual items in the inventories Tim 2014-12-27 22:14:33 +01:00
  • 614f6f4da1 minetest.env:* --> minetest.* Vanessa Ezekowitz 2014-11-30 12:38:06 -05:00
  • 28cef5e82f update to use current mesecons API requires mesecons commit 5be179bf110b44bdc06df6dbfde4e61487cf0635 or newer. Vanessa Ezekowitz 2014-11-22 13:55:54 -05:00
  • b49428721a Make filters behave correctly with protected areas (fixes #74) Novatux 2014-11-16 13:14:17 +01:00
  • 3f85f83e35 Make items in autocrafters virtual as well Novatux 2014-11-02 09:35:43 +01:00
  • cf9c4fa3b1 use default copper instead of moreores copper for the water pump recipe Tim 2014-09-21 13:51:55 +02:00
  • 5b2e3a44c3 Fix #73 Novatux 2014-09-12 19:47:18 +02:00
  • bbc530a067 fix undefined node crash Vanessa Ezekowitz 2014-08-24 11:51:43 -04:00
  • 42a364b818 quick hack to prevent crash in load_position() call if given a set of coords that are out of valid range Vanessa Ezekowitz 2014-08-23 17:59:32 -04:00
  • 2838f0125f Escape text for cycling form button Zefram 2014-08-17 14:53:21 +01:00
  • 17cae3a650 Fix possible race condition crash Novatux 2014-08-16 11:16:23 +02:00
  • f8a8046a7b Fix mese tube formspec Novatux 2014-08-15 15:35:42 +02:00
  • 7915e7f51e Rename tube_item() to tube_inject_item() Zefram 2014-08-14 21:59:15 +01:00
  • b77146f29c Fix old mese tube detection Novatux 2014-08-15 11:51:23 +02:00
  • 8cc2ecb55f Fix wielder Novatux 2014-08-14 22:10:39 +02:00
  • bf6fe237de Fix typo Novatux 2014-08-14 22:02:36 +02:00
  • 15db1d23cc Remove useless callbacks Novatux 2014-08-14 21:24:20 +02:00