summaryrefslogtreecommitdiff
path: root/init.lua
AgeCommit message (Collapse)Author
2017-10-01remove register_local_pipes.lua as node registration has been moved to more ↵thetaepsilon-gamedev
appropriate files
2017-10-01new flow logic: flowable_node_registry_install.lua: add registration tracingthetaepsilon-gamedev
2017-10-01new flow logic: node registry: split registration functions into seperate ↵thetaepsilon-gamedev
file to allow ABM code to inspect tables
2017-09-30init.lua: move non-destructive new_flow_logic code outside if-guardthetaepsilon-gamedev
2017-09-30move all current new_flow_logic code to dedicated sub-directorythetaepsilon-gamedev
2017-09-30temporarily move ABM registration out of register_flow_logic.lua to allow ↵thetaepsilon-gamedev
refactoring it into flowable registry
2017-09-30internal refactoring of flowable node registration in preparation for ↵thetaepsilon-gamedev
enhanced flow checking logic
2017-09-27init.lua: add missing dofile for new flow logicthetaepsilon-gamedev
2017-09-27init.lua: turn off by-default new flow logic for nowthetaepsilon-gamedev
2017-09-27pipes.lua: split out new flow logic registration and make it respect feature ↵thetaepsilon-gamedev
toggles
2017-09-27pipes.lua: place old ABM code registration behind if-guard for new flagthetaepsilon-gamedev
2017-09-25Add lua controlled tube (#199)DS
* add lua controlled tube * make textures and fix some bugs
2017-09-25Add digiline_conductor and mesecon_and_digiline_conductor tubes (#195)DS
* add digiline_connecting_tube * add mesecon and digiline conductiong tube * add more recipes
2017-05-18Replace deprecated methods: (#179)Jordan Irwin
- 'setting_get' with 'settings:get' - 'setting_getbool' with 'settings:get_bool'
2017-04-13Nice settings (#171)DS
* improve style * do something * make settingtypes nicer * fix settingtypes new lines * fix it and so make it work :cat2:
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