7f0372559boptimize 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
f79956c0b6improve handling of shapeless recipes in the autocrafter recipe filling function
Tim
2015-01-30 21:09:43 +01:00
51c5b63ee7fix crashing typo in sorting_tube formspec update
Tim
2015-01-30 16:41:10 +01:00
61af474116rename tubes to tube_registration to avoid catch-all usage
Tim
2015-01-29 22:52:13 +01:00
4eff124ec8fix 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
5a79a60e0fuse the default tube textures as fallback for any missing textures during tube registration
Tim
2015-01-29 22:36:16 +01:00
a98af7bf15split 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
b54a868c33chmod -x *.lua
Tim
2015-01-29 21:59:35 +01:00
471e1131c6add tube inventory image to the restyled tp tube formspec
Tim
2015-01-29 20:58:28 +01:00
d15d27391bstyle trashcan formspec
Tim
2015-01-29 20:13:44 +01:00
fcba05fd78move autocrafter, tp-tube and filter-injector crafts to their respective code files
Tim
2015-01-29 20:10:45 +01:00
c9d18f74e4update all formspecs "current_name" to "context" to reflect current api
Tim
2015-01-29 20:08:34 +01:00
009b9e9276split the filter-injector specific code out of the generic item_transport
Tim
2015-01-29 19:55:00 +01:00
1e50644487add 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
9d45599872improve/style tp tube formspec and formspec handling
Tim
2015-01-29 18:57:34 +01:00
373c7951d2add sanity check for upgrade cases of autocrafters with broken metadata (especially for can_dig)
Tim
2015-01-29 17:04:07 +01:00
73b3466a7bimprove autocrafter infotext handling use the item description and provide more information in paused states
Tim
2015-01-29 17:00:05 +01:00
502395aa13use swap_node in autoplace_pipes for pipesegments so the source would be kept; fixes#78
Tim
2015-01-29 04:18:00 +01:00
3bcf3b5f2fuse 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
b009e46590call 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
197e433f49don'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
0cb1eb49dcmake sure the autocrafter runs after an upgrade
Tim
2015-01-28 19:41:38 +01:00
7dca3393beimprove upgrade of autocrafter from both former versions
Tim
2015-01-28 18:55:59 +01:00
d75e1a214aallow virtual item moving from output to the recipe grid
Tim
2015-01-28 16:51:07 +01:00
a74c2212absimplify autocrafter code a bit
Tim
2015-01-28 16:30:22 +01:00
320a483f4fadd 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
5fa3e1f626use the default background colors and hotbar image for the autocrafter formspec
Tim
2015-01-28 01:36:13 +01:00
3a46c1266aallow moving virtual items within the crafting grid
Tim
2015-01-28 00:42:22 +01:00
e92ac0f7b3abstract adding of virtual items
Tim
2015-01-28 00:33:07 +01:00
78e081cf25on_ -> after_ to be consistent with minetest api usage of these prefixes
Tim
2015-01-28 00:27:17 +01:00
6d1bc7b3fcadd 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
5ac0053f8clet the infotext show what we are crafting, or if we craft at all
Tim
2015-01-27 20:19:48 +01:00
f3b636d63elet the autocrafter catch up on missed crafts
Tim
2015-01-27 05:27:36 +01:00
44bafb844ause 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
2ccce52976split 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
f427bae557also cache the recipe consumption to get rid of an additional loop per craft
Tim
2015-01-26 21:34:32 +01:00
cee16932beremove 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
827d049789reduce stacksizes and wear of virtual items on update instead of leaving the previous configuration in
Tim
2015-01-26 19:34:43 +01:00
d3110a9e20rename variables to reflect the official api and making the code more clear
Tim
2015-01-26 18:52:04 +01:00
7b9571912dreduce table lookups and hash_node_position calculations
Tim
2015-01-26 18:34:05 +01:00
52cfe9f277Add intermediate button state for sorttube enabler
est31
2015-01-27 23:14:05 +01:00
8b22593f55Color up the enable/disable buttons for sorttube
est31
2015-01-26 23:23:44 +01:00
fb98963810use a hashmap to manage teleportation tubes, to speedup lookups and tablemodifications
Tim
2015-01-25 23:40:23 +01:00
5b026d2cc7improve tp_tube configuration handling to decrease disk i/o, handle empty strings and form escapes
Tim
2015-01-25 20:05:10 +01:00
cdd3eb209bOPTIMIZE _ALL_ THE TEXTURES! \:D/
Vanessa Ezekowitz
2015-01-23 14:07:02 -05:00
9493478e59Fix tubes only taking a single designated path.
Diego Martinez
2015-01-22 10:52:17 -03:00
82a7b6a749rewrite 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
9a83380b2bOptimize sorting tube code a bit.
Diego Martinez
2015-01-20 14:06:44 -03:00
dad386b564use animated water for pouring spigot
Vanessa Ezekowitz
2015-01-16 04:38:17 -05:00
50359104c7Use mesh nodes for all nodebox-based pipe-related nodes
Vanessa Ezekowitz
2015-01-15 06:25:41 -05:00
e0039f22f8sanity 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
6f16dd24c2allow sorting tubes to be dug, despite virtual items in the inventories
Tim
2014-12-27 22:14:33 +01:00
28cef5e82fupdate to use current mesecons API requires mesecons commit 5be179bf110b44bdc06df6dbfde4e61487cf0635 or newer.
Vanessa Ezekowitz
2014-11-22 13:55:54 -05:00
b49428721aMake filters behave correctly with protected areas (fixes#74)
Novatux
2014-11-16 13:14:17 +01:00
3f85f83e35Make items in autocrafters virtual as well
Novatux
2014-11-02 09:35:43 +01:00
cf9c4fa3b1use default copper instead of moreores copper for the water pump recipe
Tim
2014-09-21 13:51:55 +02:00
42a364b818quick 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
2838f0125fEscape text for cycling form button
Zefram
2014-08-17 14:53:21 +01:00
17cae3a650Fix possible race condition crash
Novatux
2014-08-16 11:16:23 +02:00
8aea4b1a13add conversion routine for cheapie's auto tree taps
Vanessa Ezekowitz
2014-07-11 09:15:37 -04:00
87d87c91faName tube items for function rather than material
Zefram
2014-07-05 16:27:09 +01:00
a7cd0e3ddbFix drops for storage tanks
Zefram
2014-07-03 02:00:24 +01:00
65baf218beMake non-node items in tubes look more solid
Zefram
2014-07-03 02:22:55 +01:00
f8bbe908cdDon't wear tools out in nodebreaker if it's mechanical wear (tools which are repaired by the tool workshop of technic)
Novatux
2014-07-02 14:29:51 +02:00
df1c9d0874Fix bug with multiple input inventories with the filters
Novatux
2014-07-02 12:42:33 +02:00
99a902a8b8Try to fix some bugs that happen on server restart
Novatux
2014-07-01 18:42:52 +02:00