Commit Graph

  • 07e769d1b9 new flow logic: abms.lua: pass finite mod flag to output handler callbacks in flowlogic.run_output() thetaepsilon-gamedev 2017-10-07 22:07:30 +01:00
  • bd32b4fca2 new flow logic: abms.lua: pass finite mode flag to run_output() thetaepsilon-gamedev 2017-10-07 22:03:53 +01:00
  • 453a114cd0 new flow logic: flowable_node_registry_install.lua: add cleanupfn argument to register.output() thetaepsilon-gamedev 2017-10-07 21:55:49 +01:00
  • 187e755aa5 new flow logic: abms.lua: don't unpack outputdef variables in flowlogic.run(), leave to flowlogic.run_output() thetaepsilon-gamedev 2017-10-07 21:44:33 +01:00
  • ea92bfe4d3 devices.lua: raise maximum pressure for pumps thetaepsilon-gamedev 2017-10-07 21:36:41 +01:00
  • 91d057fcab new flow logic: tear out old abm registration code thetaepsilon-gamedev 2017-10-07 19:42:49 +01:00
  • 9c770532e6 new flow logic: abms.lua: refactor run_input to run as part of master run() ABM thetaepsilon-gamedev 2017-10-07 19:19:09 +01:00
  • be1a6d53aa new flow logic: flowable_node_registry_install.lua: factor out register.intake_simple into generic registration and helper wrapper thetaepsilon-gamedev 2017-10-07 18:07:55 +01:00
  • 65b3448796 new flow logic: abms.lua: refactor flowlogic.run_output() into a processing stage of flowlogic.run() thetaepsilon-gamedev 2017-10-07 17:55:14 +01:00
  • 016f9de82f new flow logic: abms.lua: refactor ABM logic into new master ABM, make balance_pressure() take current pressure and return new pressure thetaepsilon-gamedev 2017-10-07 17:33:42 +01:00
  • 608a9a6980 new flow logic: abms.lua: wrap up pressure value accesses behind accessor object thetaepsilon-gamedev 2017-10-07 17:14:50 +01:00
  • 34cfee8a2f new flow logic: start adding replacement ABM logic thetaepsilon-gamedev 2017-10-07 16:12:36 +01:00
  • 1669cfd451 new flow logic: flowable_node_registry_install.lua: add duplicate registration guard for register.output() thetaepsilon-gamedev 2017-10-07 15:42:00 +01:00
  • d175f0b94f todo: new flow logic: add item for node variant switching thetaepsilon-gamedev 2017-10-07 13:49:33 +01:00
  • 157f117c62 todo: new flow logic: add directionality code and ABM ordering items thetaepsilon-gamedev 2017-10-07 13:40:38 +01:00
  • 57362118dc todo: remove old item for is_node_flowable() thetaepsilon-gamedev 2017-10-07 13:25:44 +01:00
  • 6f90ee0875 new flow logic: abms.lua: add companion cleaner helper for neighbour output thetaepsilon-gamedev 2017-10-07 13:24:46 +01:00
  • 31a67cf4f9 new flow logic: flowable_node_registry_install.lua: add proper documentation for register.output_simple() thetaepsilon-gamedev 2017-10-07 13:15:42 +01:00
  • 4f58a3039c new flow logic: flowable_node_registry_install.lua: separate pressure threshold into upper and lower hysteresis values thetaepsilon-gamedev 2017-10-07 13:05:52 +01:00
  • 465e28cbd3 devices.lua: factor out usage of flowlogic helper into dedicated registry function thetaepsilon-gamedev 2017-10-07 12:16:36 +01:00
  • 7eb5dc6aca flowable_node_registry_install.lua: silence registration debugging by default thetaepsilon-gamedev 2017-10-04 18:54:51 +01:00
  • 750612181a add finite water feature toggle and auto-detect code thetaepsilon-gamedev 2017-10-03 20:53:49 +01:00
  • 894ea5174f move new flow logic flag to dedicated toggles table thetaepsilon-gamedev 2017-10-03 20:38:56 +01:00
  • 8e53526b54 new flow logic: abms.lua: rename neighbour output helper to better indicate lack of rotation support thetaepsilon-gamedev 2017-10-01 21:20:30 +01:00
  • 76ebd0a0e1 devices.lua: make fountains functional under new flow logic using new neighbour output helper thetaepsilon-gamedev 2017-10-01 21:17:05 +01:00
  • 667eeb7d09 new flow logic: abms.lua: generalise spigot output code to support arbitary neighbour lists thetaepsilon-gamedev 2017-10-01 21:04:07 +01:00
  • dc13ec619f new flow logic: abms.lua: remove intake limit coercion causing water to be vanished thetaepsilon-gamedev 2017-10-01 20:27:30 +01:00
  • 9abdeb3d62 new flow logic: abms.lua: use flowable nodes registry to determine viable neighbours thetaepsilon-gamedev 2017-10-01 20:12:19 +01:00
  • df3d54f58a move flowable registration for flow sensor to devices.lua near node definition thetaepsilon-gamedev 2017-10-01 18:34:55 +01:00
  • de44593b41 move flowable registration for airtight entry panel to devices.lua near node definition thetaepsilon-gamedev 2017-10-01 18:30:32 +01:00
  • 396a4fdacd remove register_local_pipes.lua as node registration has been moved to more appropriate files thetaepsilon-gamedev 2017-10-01 18:23:58 +01:00
  • 13383770ef move spigot behaviour registration to devices.lua thetaepsilon-gamedev 2017-10-01 18:18:47 +01:00
  • a1fc493de1 migrate flowable registration for valve nodes to devices.lua thetaepsilon-gamedev 2017-10-01 18:05:44 +01:00
  • e6b55028fc move pump flow logic registration to devices.lua thetaepsilon-gamedev 2017-10-01 17:36:03 +01:00
  • caacc2a261 devices.lua: create local variables for device node names in preparation for flow logic registration thetaepsilon-gamedev 2017-10-01 17:24:39 +01:00
  • 0fb0eab723 move pipe node registration for new flow logic closer to their definition in pipes.lua thetaepsilon-gamedev 2017-10-01 16:54:24 +01:00
  • f3cd1b61d7 new flow logic: flowable_node_registry_install.lua: add registration tracing thetaepsilon-gamedev 2017-10-01 16:17:35 +01:00
  • d9b616c5f0 new flow logic: node registry: add initial stub for flow directionality check thetaepsilon-gamedev 2017-10-01 15:47:21 +01:00
  • f7b1719767 new flow logic: node registry: split registration functions into seperate file to allow ABM code to inspect tables thetaepsilon-gamedev 2017-10-01 15:18:00 +01:00
  • 3a1edac06c new flow logic: register_local_pipes.lua: make spigots work again thetaepsilon-gamedev 2017-10-01 13:00:41 +01:00
  • e615a1013b new flow logic: flowable_node_registry.lua: add output node registration thetaepsilon-gamedev 2017-10-01 12:45:12 +01:00
  • f3a94fcd24 new flow logic: abm_register.lua: add register_abm_output routine thetaepsilon-gamedev 2017-10-01 12:34:20 +01:00
  • 15b41d14f3 new flow logic: abm_register.lua: update doc comments for register_abm_input() thetaepsilon-gamedev 2017-10-01 12:28:22 +01:00
  • 463e7a206a new flow logic: abms.lua: start splitting apart spigot code into generalised output ABM thetaepsilon-gamedev 2017-10-01 12:25:43 +01:00
  • 4cf9c90bb9 new flow logic: register_local_pipes.lua: fix leftover calls to abmregister thetaepsilon-gamedev 2017-10-01 12:25:03 +01:00
  • 3486ee319e abms.lua: refactor and generalise run_pump_intake() to allow passing custom intake functions thetaepsilon-gamedev 2017-10-01 00:44:14 +01:00
  • aee23d7642 new_flow_logic/register_local_pipes.lua: remove old ABM note in header thetaepsilon-gamedev 2017-10-01 00:24:45 +01:00
  • ec9cf1df50 new_flow_logic/flowable_node_registry.lua: integrate existing ABM registration from register_local_pipes.lua thetaepsilon-gamedev 2017-10-01 00:13:43 +01:00
  • 31741e33e2 new_flow_logic/abms.lua: run_pump_intake(): use passed-in maxpressure instead of table lookup, pass through in abm_register.lua thetaepsilon-gamedev 2017-10-01 00:00:33 +01:00
  • 21892456f5 init.lua: move non-destructive new_flow_logic code outside if-guard thetaepsilon-gamedev 2017-09-30 23:55:16 +01:00
  • c3627551b0 move all current new_flow_logic code to dedicated sub-directory thetaepsilon-gamedev 2017-09-30 23:42:26 +01:00
  • d69941a0ae temporarily move ABM registration out of register_flow_logic.lua to allow refactoring it into flowable registry thetaepsilon-gamedev 2017-09-30 23:22:04 +01:00
  • afcec82ae3 register_flow_logic.lua: expose ABM registration functions thetaepsilon-gamedev 2017-09-30 23:02:11 +01:00
  • aaef5eb22b register_flow_logic.lua: factor out per-node input ABM registration thetaepsilon-gamedev 2017-09-30 22:56:12 +01:00
  • 7498a32364 new_flow_logic.lua: fix callback crash due to check_for_liquids_v2() being moved to sub-table thetaepsilon-gamedev 2017-09-30 22:46:21 +01:00
  • 8dfbcad949 register_flow_logic.lua: begin refactoring abm registration to allow use by other mods thetaepsilon-gamedev 2017-09-30 22:41:38 +01:00
  • 0251baf692 new_flow_logic.lua: move logic functions inside pipeworks.flowlogic sub-table thetaepsilon-gamedev 2017-09-30 20:47:00 +01:00
  • 40eeaac2ec internal refactoring of flowable node registration in preparation for enhanced flow checking logic thetaepsilon-gamedev 2017-09-30 20:16:00 +01:00
  • 10221c6c15 add TODO list extracted from new_flow_logic changelog entries thetaepsilon-gamedev 2017-09-30 17:32:09 +01:00
  • ca4837f1c6 changelog.txt: back-entries for new flow logic work thetaepsilon-gamedev 2017-09-30 17:18:53 +01:00
  • 879b4489b2 Merge pull request #202 from thetaepsilon-gamedev/master Vanessa Ezekowitz 2017-09-30 08:52:13 -04:00
  • 1666dfc2c7 register_flow_logic.lua: add author notice thetaepsilon-gamedev 2017-09-27 17:54:03 +01:00
  • 9d01482488 init.lua: add missing dofile for new flow logic thetaepsilon-gamedev 2017-09-27 17:53:08 +01:00
  • 3e827c23b9 flowing_logic.lua: separate out new logic into seperate file thetaepsilon-gamedev 2017-09-27 17:49:49 +01:00
  • 2d70d2b657 init.lua: turn off by-default new flow logic for now thetaepsilon-gamedev 2017-09-27 17:37:46 +01:00
  • df8ef255a3 flowing_logic.lua: add new spigot code + ABM registration thetaepsilon-gamedev 2017-09-27 17:25:16 +01:00
  • 69133818f7 pipes.lua: split out new flow logic registration and make it respect feature toggles thetaepsilon-gamedev 2017-09-27 17:00:18 +01:00
  • d6dcd51302 devices.lua: replace calls to add_node() with swap_node() to preserve node metadata thetaepsilon-gamedev 2017-09-27 16:42:15 +01:00
  • c3708b154c flowing_logic.lua: fix pressure limit bug due to accessing non-existant variable thetaepsilon-gamedev 2017-09-27 16:32:22 +01:00
  • 67350b55bb pipes.lua: wire up pump intake ABM and add pumps to balancing logic thetaepsilon-gamedev 2017-09-27 16:20:07 +01:00
  • c5e5aa069f flowing_logic.lua: add start of new pump handler code thetaepsilon-gamedev 2017-09-27 16:02:30 +01:00
  • 6a0fe9f3c0 flowing_logic.lua: add new version of check_for_liquids() thetaepsilon-gamedev 2017-09-27 15:49:03 +01:00
  • 59ac978093 pipes.lua: place old ABM code registration behind if-guard for new flag thetaepsilon-gamedev 2017-09-27 15:19:20 +01:00
  • 64a5b18e89 flowing_logic.lua: implement initital pressure balancing behaviour thetaepsilon-gamedev 2017-09-27 14:59:25 +01:00
  • f82570f580 initial stub patches to re-implement new_flow_logic thetaepsilon-gamedev 2017-09-27 14:14:33 +01:00
  • 2adcd3e777 hard dep on mesecons Vanessa Ezekowitz 2017-09-27 02:22:05 -04:00
  • cf93eca017 Replace old nodeupdate() with new minetest.check_for_falling() (#200) Thomas--S 2017-09-26 05:55:11 +02:00
  • b2bb4c5280 make the filters use ghostitems (#197) DS 2017-09-26 05:22:25 +02:00
  • 736d67784c fix digiline_filter crashing when getting a string as count (#196) DS 2017-09-26 05:21:49 +02:00
  • e8e9de04dd Add lua controlled tube (#199) DS 2017-09-26 05:21:15 +02:00
  • 05c0a8670b Add digiline_conductor and mesecon_and_digiline_conductor tubes (#195) DS 2017-09-26 05:19:35 +02:00
  • a5e1bfa0e8 give more possibilities to mods (#194) DS 2017-08-21 00:05:08 +02:00
  • c57a35d5bd filter: allow to take items out of locked chests if same owner (#193) DS 2017-08-17 21:20:38 +02:00
  • f9f436fd7e fix a crash (#190) 0.4.16 DS 2017-07-20 07:42:34 +02:00
  • 769dd7fe7b Adjust rate control code to work better Vanessa Ezekowitz 2017-07-03 18:38:18 -04:00
  • 3c20e91029 prevent crash if node being taken from has no inv Vanessa Ezekowitz 2017-06-23 14:11:19 -04:00
  • 1273d82917 only return true from receive_fields() when actually needed Vanessa Ezekowitz 2017-06-19 22:59:37 -04:00
  • 078161c51d Pipeworks uses LGPL code from minetest_game, changed license accordingly. Vanessa Ezekowitz 2017-06-18 19:32:05 -04:00
  • 11d57cc02b Change compat-chests.lua to block top-mounted tube connections when chest is open ForbiddenJ 2017-06-17 19:52:55 -05:00
  • 018accd1ae Change compat-chests.lua to handle modern chests and be clean. (Addresses https://github.com/minetest-mods/pipeworks/issues/177) ForbiddenJ 2017-06-17 13:32:10 -05:00
  • 2eff6e36ea Change scope of local variable 'nodecolor': (#185) Jordan Irwin 2017-06-07 22:54:09 -07:00
  • 69d994a2a2 Replace deprecated methods: (#179) Jordan Irwin 2017-05-18 02:33:56 -07:00
  • 7d70d79cda improve node breaker textures (#173) DS 2017-05-18 11:32:01 +02:00
  • d82227942d Nice settings (#171) DS 2017-04-14 03:13:30 +02:00
  • 3679943620 also check for group "tubedevice" (fixes injecting into one-way tube) Vanessa Ezekowitz 2017-04-12 16:15:39 -04:00
  • 0c0e6a6b66 make sure there's something appropriate to inject an item into (fixes #123) Vanessa Ezekowitz 2017-04-12 16:03:41 -04:00
  • 9d6881deca fix scale of on/off switch in teleport tube Vanessa Ezekowitz 2017-04-12 14:36:50 -04:00
  • f44993cd84 allow external devices to connect to pipes and use that feature to handle most of the existing devices) also, fix the "xray" glitch in the grating Vanessa Ezekowitz 2017-04-12 03:39:43 -04:00
  • acc2b6802e fix scale on autocrafter's on/off switch Vanessa Ezekowitz 2017-04-12 07:03:17 -04:00
  • d78364570c use "base" field in a couple more places Vanessa Ezekowitz 2017-04-11 20:05:58 -04:00