summaryrefslogtreecommitdiff
path: root/init.lua
AgeCommit message (Collapse)Author
2017-04-11cache button "base" field since it's also standardVanessa Ezekowitz
2017-04-11cache on/off button image refs and commonly-used label for sameVanessa Ezekowitz
2017-04-11allow stack per-chest/per-furnace stack splittingVanessa Ezekowitz
defaults to disabled, whether the node has a new formspec or not note that furnace fuel stacks can't be split.
2016-05-27Don't make passing arguments this complex.Auke Kok
This shouldn't be this complex. For me, both syntaxes work, but I bet it breaks others.
2016-05-23Fixed settings file leak and invalid io.close (#136)electrodude
Before, init.lua called io.open on pipeworks.worldpath..'/pipeworks_settings.txt' to see if it existed, but did not close the resulting file handle if it was found to exist. It instead erroneously called io.close() with no argument, which does nothing if the default output file is set to stdout, which it is. Now, the result of io.open is saved to a local variable. If that value is not nil (i.e. if the world settings file exists), the file handle is passed to io.close before calling dofile. Also, this saves pipeworks.worldpath..'/pipeworks_settings.txt' to a local variable to reduce redundancy.
2015-03-23drop direct support for dedicated protection modsVanessa Ezekowitz
just use minetest's standard protection functions instead (leave it up to those protection mods to do their job properly)
2015-03-11add ownership/protection handling for device configurationTim
take any available ownership into account before deciding on area protection
2015-02-01add decorative tubes: one steel block embedded the other passing through an ↵Tim
airtight pane
2015-01-29rename tubes to tube_registration to avoid catch-all usageTim
2015-01-29split the big tubes file up into functional modules independend from the ↵Tim
tube registration and add their respective crafting recipes use this opportunity to remove some whitespaces issues from it
2015-01-29chmod -x *.luaTim
2015-01-29split the filter-injector specific code out of the generic item_transportTim
2015-01-15Use mesh nodes for all nodebox-based pipe-related nodesVanessa Ezekowitz
2014-08-14Major rewrite of items in tubesNovatux
2014-07-23Refactor node breakerZefram
Merge node breaker into the generic wielder mechanism. Center the wield inventory in all wielders' formspecs. Implement full auto-upgrade of legacy node breakers, occurring upon use or punching of the node breaker. Make node breaker respect on_dig hooks.
2014-07-23Refactor deployer and dispenserZefram
Merge implementations into a single "wielder" mechanism. Clean up the code a bit. Fix get_player_control_bits for the dispenser (it wasn't indicating the sneak setting). Fix drops for dispenser (dispenser_on was dropping as itself). Show item image, as well as name, at head of form.
2014-07-21Add dispenserZefram
The dispenser is an automated item dropper.
2014-07-15Add trash canZefram
The trash can can be used either manually (via form) or at the end of a pipe. It destroys whatever is placed in it.
2014-07-11add conversion routine for cheapie's auto tree tapsVanessa Ezekowitz
turns them into nodebreakers with technic taps if auto tree taps are not defined and if technic tree taps are.
2013-12-21mesecons_rules must be global. made so, confined to pipeworks.{} table.Vanessa Ezekowitz
2013-12-21rules_all has to be global. made it so, confined to pipeworks.{} tableVanessa Ezekowitz
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!