Commit Graph

807 Commits

Author SHA1 Message Date
Tim
e8ab36a2c9 document wielder pointed_thing problems and revert "fix wielder mixing up above and under, which had for example an effect on the deployer trying to place seeds"
This reverts commit 6e2f1fcd635398387a49911a996ccaba65bffdd3.
2015-03-04 22:17:36 -05:00
MT-Modder
aa5f155100 Use group:sand for sand_tube_1 recipes 2015-03-04 22:17:36 -05:00
Tim
ac4f761919 fix wielder mixing up above and under, which had for example an effect on the deployer trying to place seeds 2015-03-04 22:17:36 -05:00
est31
c505088fbb Set the owner for locked chests on placing 2015-02-11 19:37:19 +01:00
Tim
9af43b9f6f fix conductor_tube_on texture 2015-02-08 11:04:32 +01:00
Vanessa Ezekowitz
6abed742e8 also fix chests and furnaces 2015-02-07 03:01:25 -05:00
Vanessa Ezekowitz
ce12c83306 fix filters also 2015-02-07 02:51:06 -05:00
Vanessa Ezekowitz
364633d884 make all tubes call the routing functions
using their after_place/after_dig callbacks
2015-02-07 02:45:17 -05:00
Vanessa Ezekowitz
e33b662274 remove obsolete calls to register_on_placenode/dignode
they're slow and obsolete
2015-02-07 01:41:44 -05:00
Tim
f46de19ff0 use the right variable to test on_receive_fields 2015-02-05 08:23:24 +01:00
Tim
cb8ecbf8cf don't tostring "nil" in the teleportation tube on escape 2015-02-04 15:39:08 +01:00
Tim
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
2015-02-04 13:01:55 +01:00
Tim
e53cd28fcb remove dead code to remove undeclared variable access warning 2015-02-04 12:41:25 +01:00
Tim
7a82393547 fix typo in texturename 2015-02-04 10:58:53 +01:00
est31
50bc351804 Fix injector crash when dug or punched when its empty 2015-02-04 03:08:16 +01:00
est31
8e9affc841 Make sorting tubes not drop elements if all outputs filtering for a specific element are filled.
Send them to some other open (empty) port instead.
2015-02-03 23:32:55 +01:00
Tim
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.
2015-02-03 14:46:45 -05:00
est31
f499f6a8c7 Fix vacuum tube formspec and make radius parsing smarter 2015-02-03 20:33:49 +01:00
est31
9e99d2e65f rename infotext mese tube -> sorttube 2015-02-03 09:04:56 +01:00
est31
3041ebb81b Enable to specify size for stacks a stackwise filter takes 2015-02-03 09:04:56 +01:00
Tim
dc58fe8467 trim teleport_tube string input 2015-02-03 00:22:59 +01:00
Vanessa Ezekowitz
95a6ec93e7 fix broken mese tube recipe 2015-02-02 00:57:14 -05:00
Tim
13e878398c revert accidental revert (810ae99 -- autocrafter.lua) of f79956c 2015-02-02 03:16:15 +01:00
Vanessa Ezekowitz
2d0716be6f better texture for tube pane sides 2015-02-01 12:31:40 -05:00
Vanessa Ezekowitz
5114dfe5f4 fix recipe in panel tube 2015-02-01 12:24:20 -05:00
Tim
4379b1904d add decorative tubes: one steel block embedded the other passing through an airtight pane 2015-02-01 00:02:52 +01:00
Tim
e9432321e9 increase vacuum distance to radius * sqrt(3) again, but cache everything to local variables 2015-01-31 22:48:30 +01:00
Tim
c941a24889 remove field for 01-2012 facedir legacy support for the one-way tube, which was added after 2015-01-31 20:44:36 +01:00
Tim
70f38104a0 reduce table lookups and string concat 2015-01-31 16:48:03 +01:00
Tim
e60f86a588 switch to the minetest-conventional def-table style of registering tubes to clean up their registrations
fallback for the old call is provided
2015-01-31 16:10:25 +01:00
Tim
810ae99008 reduce texturename repetition via __index 2015-01-31 14:47:06 +01:00
Tim
4dc3f159c9 remove unnecessary pcall() around tonumber, as it will return nil for invalid input and not throw an exception 2015-01-30 23:58:54 +01:00
Tim
f065349972 restyle formspecs and add infotexts to adjustable vacuuming tube 2015-01-30 21:45:33 +01:00
Tim
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 2015-01-30 21:30:35 +01:00
Tim
f79956c0b6 improve handling of shapeless recipes in the autocrafter recipe filling function 2015-01-30 21:09:43 +01:00
Tim
51c5b63ee7 fix crashing typo in sorting_tube formspec update 2015-01-30 16:41:10 +01:00
Tim
61af474116 rename tubes to tube_registration to avoid catch-all usage 2015-01-29 22:53:03 +01:00
Tim
4eff124ec8 fix crafts to only register when their respective tubes are enabled
also add the one-way tube recipe back
2015-01-29 22:47:33 +01:00
Tim
5a79a60e0f use the default tube textures as fallback for any missing textures during tube registration 2015-01-29 22:38:01 +01:00
Tim
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
2015-01-29 22:37:29 +01:00
Tim
b54a868c33 chmod -x *.lua 2015-01-29 21:59:35 +01:00
Tim
471e1131c6 add tube inventory image to the restyled tp tube formspec 2015-01-29 20:58:28 +01:00
Tim
d15d27391b style trashcan formspec 2015-01-29 20:32:10 +01:00
Tim
fcba05fd78 move autocrafter, tp-tube and filter-injector crafts to their respective code files 2015-01-29 20:31:08 +01:00
Tim
c9d18f74e4 update all formspecs "current_name" to "context" to reflect current api 2015-01-29 20:08:58 +01:00
Tim
009b9e9276 split the filter-injector specific code out of the generic item_transport 2015-01-29 19:57:23 +01:00
Tim
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
2015-01-29 19:10:01 +01:00
Tim
9d45599872 improve/style tp tube formspec and formspec handling
display text explaining private channels
2015-01-29 19:09:59 +01:00
Tim
373c7951d2 add sanity check for upgrade cases of autocrafters with broken metadata (especially for can_dig) 2015-01-29 17:06:09 +01:00
Tim
73b3466a7b improve autocrafter infotext handling
use the item description and provide more information in paused states
2015-01-29 17:06:09 +01:00