summaryrefslogtreecommitdiff
path: root/init.lua
AgeCommit message (Collapse)Author
2013-12-17get rid of a redundant commentVanessa Ezekowitz
2013-12-17close the file handle after checking if the config file exists, add a commentVanessa Ezekowitz
2013-12-17remove redundant ~= nilVanessa Ezekowitz
2013-12-17don't write pipeworks config file anymore. if a user needs one, they canVanessa Ezekowitz
create it themselves :-)
2013-12-15fix incorrect variable nameVanessa 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-25Split pipe and tube autorouting functions into separate files.Vanessa Ezekowitz
2013-10-29make worldpath and modpath pipeworks-namespace-specific and globalVanessa Ezekowitz
2013-10-21FiX CYCLIC option being ignored.Novatux
2013-10-06Better deployer and node breaker mesecons rules.Novatux
2013-08-05always read default_settings.txt before reading the world-folder's settings fileVanessa Ezekowitz
also close the file after copying.
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-04remove a bunch of useless metadata and settingsVanessa Ezekowitz
("pipelike" everywhere, but it isn't used for anything)
2013-07-04got rid of oldpipes.luaVanessa Ezekowitz
2013-06-30Phased out all deprecated minetest.env:* uses in favor of minetest.*Vanessa Ezekowitz
2013-06-28Add option to disable cyclic behaviourNovatux
2013-06-23Super duper pipeworks deployer and node breaker updates.Anthony Zhang
2013-06-22minor tweaks to various dofile() calls, moved one from tubes.lua to init.luaVanessa Ezekowitz
2013-06-09more minor lighting/texture tweaksVanessa Ezekowitz
2013-06-08Add vertical version of airtight pipe entryVanessa Ezekowitz
if automatically rotates to connect to the thing you point at, if a connection is possible.
2013-03-18Add inventory images for pipes.Anthony
2013-01-31Removed node breaker and deployer. These belong in technic, not pipeworks.Vanessa Ezekowitz
Added aliases to avoid unknown nodes/map breakage. Old code has been moved into pipeworks/attic/
2013-01-20Changed the name of some textures for naming conventions. Added deployer and ↵Novatux
node breaker (most of the code is from Technic, the textures too).
2013-01-19Added autocrafter.Novatux
Fixed a bug where items in mese tubes disappeared whan placing or removing a tube next to it.
2013-01-13Added Nore's item transport mod and integrated it into pipeworksVanessa Ezekowitz
Items can now flow from one chest (or Nore's filter object) to another via the pneumatic tubes! Thanks to Nore and RealBadAngel for the code. Note that this mod has to redefine the default chests and furnaces (see compat.lua) in order to add some new group definitions so that tubes can appear to connect to these objects.
2013-01-05made storage tanks connect from top/bottom, made storage tank and pipeVanessa Ezekowitz
textures use the ^ combine operator so they can show the actual liquid going through the pipes/tanks.
2013-01-04Made pipes able to carry water!Vanessa Ezekowitz
It was just a minor logic error resulting from moving the water flowing code into it's own file when I originally imported it. Many thanks to Mauvebic for writing it!
2013-01-04First stage of integrating Mauvebic's water flowing code. This is experimentalVanessa Ezekowitz
and doesn't move water yet - but at least it doesn't break anything :-)
2013-01-01Minor tweak to fix missing smooth bend on some T-junctions.Vanessa Ezekowitz
2013-01-01added a "sealed" entry/exit panel (really just a horizontal pipe with a metalVanessa Ezekowitz
panel overlayed into the middle). Also, tweaked pipes to always drop the empty ones.
2013-01-01revamped pumps so that now they should sit in/on liquid and be connected onlyVanessa Ezekowitz
from the top, relegated grates to decorational-only, added outlet spigot. Got rid of a few obsolete textures. Got rid of that whole _x and _z naming thing, now all directional devices (pumps, valves, spigots, tanks) use facedir. Valves, spigots no longer auto-rotate to find nearby pipes.
2012-09-02Added crafting recipes for various objects, with options: If homedecor isVanessa Ezekowitz
installed, use the plastic sheeting therein. If not, we define it manually. If the Technic mod is installed, don't define any recipes at all. Also removed the extra "loaded!" messages and tweaked the default pipe alias to point to something that is actually visible :-)
2012-08-24Added pneumatic tubes with their own autoplace code (does not connect toVanessa Ezekowitz
steel pipes). Fixed a recursion bug that sometimes caused a stack overflow.
2012-08-24old pipes were overridind the pipeworks:pipe defintion that belongs with theVanessa Ezekowitz
new pipes.
2012-08-21reorganized code a bit to allow for upcoming rules changes.Vanessa Ezekowitz
2012-08-19Update init.luaRealBadAngel
2012-08-19Pumps and valves now fully participate in the auto-rotate/auto-route process.Vanessa Ezekowitz
These devices can only be connected to horizontal pipes or to each other. Note that only the device being placed and the pipes around it will adapt; if you have a valve and pump next to one another and they won't connect, put a piece of pipe at one end to show the auto-rotator which way they should go. Removal of a pipe or device will not change the orientation of surrounding devices.
2012-08-18better pipe end textures, made 'cut' ends also display them.Vanessa Ezekowitz
2012-08-18minor wording tweak to comments at top.Vanessa Ezekowitz
2012-08-18Re-enabled old pipes by default. Only horizontal pipe appears in creativeVanessa Ezekowitz
inventory now (for both old and new), as well as "off" valve and "off" pump.
2012-08-18Total rewrite again. All pipes are now nice and round-looking, and they ↵Vanessa Ezekowitz
auto-connect! Also added temporary nodes for pump and valve (each with an on/off setting - punch to change). No crafting recipes yet and the pipes still don't do anything useful yet. Soon.
2012-08-05Made the empty/loaded indication at the capped end more prominent.Vanessa Ezekowitz
2012-08-05changed the default pipe segment to the aforementioned "short centered"Vanessa Ezekowitz
segment, renamed it to just "pipeworks:pipe" (and pipe_loaded), added empty/loaded indicator images to the capped ends, removed some redundant comments
2012-08-05Added -X, +X, -Y, +Y, -Z, +Z capped stubs and a short centered horizontalVanessa Ezekowitz
segment.
2012-08-05rewrote pipeworks to use loops and tables to create the nodes. Requires farVanessa Ezekowitz
less code now.
2012-07-31disable debug by defaultVanessa Ezekowitz
2012-07-18Fixed pipeworks filenames, tweaked init.lua to match. Whole mode is nowVanessa Ezekowitz
"pipeworks" as it shoulda been, instead of just "pipes".
2012-07-12first commitVanessa Ezekowitz