summaryrefslogtreecommitdiff
path: root/tubes.lua
AgeCommit message (Collapse)Author
2015-01-22Fix tubes only taking a single designated path.Diego Martinez
2015-01-20Optimize sorting tube code a bit.Diego Martinez
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-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-14Major rewrite of items in tubesNovatux
2014-07-21Make sorting tube dialog lag-resistantZefram
2014-07-14Fix detector tube item countingZefram
A detector tube would sometimes miss a decrement, due to the pos structure passed to can_go being modified by the tubed-item entity while it's also sitting in the timer queue as an argument to item_exit. As the can_go API actually depends on being able to mutate the pos structure (see the teleporter tube), we can't just start passing in a never-mutated copy of pos. So for now just fix in the detector tube's can_go, by copying the structure there. Incidentally, make the decrement mechanism consistent between the two forms of increment.
2014-07-05Name tube items for function rather than materialZefram
Previously, some tube types were named based on their function, and others based on some arbitrarily-chosen material used in their construction, with no meaningful system governing which was in each category. With this change they are consistently named according to function. Naming style is also made consistent in the wording that identifies tubes as such, and in capitalisation.
2014-06-14Ugly attempt to fix detector tube.Novatux
2014-06-01Try to fix #67Novatux
2014-04-13Deployer fixesNovatux
2014-01-12fix missing tubelike meta on legacy tubesVanessa Ezekowitz
(kept them from properly routing items after placement)
2014-01-02misc fixedVanessa Ezekowitz
2014-01-01fix missing wield/inventory image on "compatibility" tubesVanessa Ezekowitz
gave them fuller node defs with descriptions et al. also and made them directly call the scan-for-tube-objects function when placed.
2014-01-01fix facedir getting reset in detector tubes on state changeVanessa Ezekowitz
2014-01-01fix tube and pipe dropsVanessa Ezekowitz
2014-01-01always check for CONTENT_IGNORE around a pipe/tube before converting itVanessa Ezekowitz
2013-12-31Use crossing texturesNovatux
2013-12-31Fix conversionNovatux
2013-12-31Last forgotten spacesNovatux
2013-12-31Remove old codeNovatux
2013-12-31Add a few commentsNovatux
2013-12-31Fix some more coding style, fix a crash, get rid of a conversion table (only ↵Novatux
used for the table generation)
2013-12-31Fix indentation and coding styleNovatux
2013-12-31Indent correctly the functionNovatux
2013-12-31Add 6d tubes, cleanup code a bitNovatux
2013-12-21mesecons_rules must be global. made so, confined to pipeworks.{} table.Vanessa Ezekowitz
2013-12-15notvel function can't be local - made global and confined to pipeworks.{}Vanessa Ezekowitz
2013-12-15tube_item has to be global. confined it to pipeworks.{} table.Vanessa Ezekowitz
2013-12-15local-ize a few more variables and functionsVanessa Ezekowitz
2013-12-15get rid of an excess print() callVanessa Ezekowitz
2013-12-15default settings have to be global or pipeworks can't see themVanessa Ezekowitz
(duh!) confined them to pipeworks.{} table.
2013-12-15local-ize a few more variables, move all of the nodebox modelsVanessa Ezekowitz
into their own file and confine them and pretty much everything else to the pipeworks.{} table (still global though). More to come.
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-26Make the tube_connects={} method work properly for technic devices.Vanessa Ezekowitz
Also phase out "old new" API, leaving only the "tube_connects={}" method, as nothing in technic or pipeworks uses it. Fix a few more places where minetest.facedir_to_dir() was duplicated, since that code is part of Minetest 0.4.8.
2013-11-19fix bad lighting on one-way tubeVanessa Ezekowitz
2013-10-21Fix crossing tube and one way tube.Novatux
2013-10-19Add one way tubeNovatux
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-07-13added ability to disable most components via config file in world folderVanessa Ezekowitz
moved pipes out of init.lua and into a separate file. some minor formatting changes
2013-07-13added more powerful sand tubes (MESE sand tubes), along with associated ↵hdastwb
crafts, textures, and documentation
2013-06-30Phased out all deprecated minetest.env:* uses in favor of minetest.*Vanessa Ezekowitz
2013-06-28typo fixVanessa Ezekowitz
2013-06-28Add crossing tubesNovatux
2013-06-22minor tweaks to various dofile() calls, moved one from tubes.lua to init.luaVanessa Ezekowitz
2013-06-22minor tweak to allow the register_tube() function to use any arbitraryVanessa Ezekowitz
namespace for the tube instead of forcing it to be pipeworks: