1
0
mirror of https://github.com/mt-mods/pipeworks.git synced 2024-12-26 02:40:23 +01:00
Commit Graph

755 Commits

Author SHA1 Message Date
thetaepsilon-gamedev
caacc2a261 devices.lua: create local variables for device node names in preparation for flow logic registration 2017-10-01 17:24:39 +01:00
thetaepsilon-gamedev
0fb0eab723 move pipe node registration for new flow logic closer to their definition in pipes.lua 2017-10-01 16:54:24 +01:00
thetaepsilon-gamedev
f3cd1b61d7 new flow logic: flowable_node_registry_install.lua: add registration tracing 2017-10-01 16:17:35 +01:00
thetaepsilon-gamedev
d9b616c5f0 new flow logic: node registry: add initial stub for flow directionality check 2017-10-01 15:47:21 +01:00
thetaepsilon-gamedev
f7b1719767 new flow logic: node registry: split registration functions into seperate file to allow ABM code to inspect tables 2017-10-01 15:18:00 +01:00
thetaepsilon-gamedev
3a1edac06c new flow logic: register_local_pipes.lua: make spigots work again 2017-10-01 13:00:41 +01:00
thetaepsilon-gamedev
e615a1013b new flow logic: flowable_node_registry.lua: add output node registration 2017-10-01 12:45:12 +01:00
thetaepsilon-gamedev
f3a94fcd24 new flow logic: abm_register.lua: add register_abm_output routine 2017-10-01 12:34:20 +01:00
thetaepsilon-gamedev
15b41d14f3 new flow logic: abm_register.lua: update doc comments for register_abm_input() 2017-10-01 12:28:22 +01:00
thetaepsilon-gamedev
463e7a206a new flow logic: abms.lua: start splitting apart spigot code into generalised output ABM 2017-10-01 12:25:43 +01:00
thetaepsilon-gamedev
4cf9c90bb9 new flow logic: register_local_pipes.lua: fix leftover calls to abmregister 2017-10-01 12:25:03 +01:00
thetaepsilon-gamedev
3486ee319e abms.lua: refactor and generalise run_pump_intake() to allow passing custom intake functions 2017-10-01 00:44:14 +01:00
thetaepsilon-gamedev
aee23d7642 new_flow_logic/register_local_pipes.lua: remove old ABM note in header 2017-10-01 00:24:45 +01:00
thetaepsilon-gamedev
ec9cf1df50 new_flow_logic/flowable_node_registry.lua: integrate existing ABM registration from register_local_pipes.lua 2017-10-01 00:16:37 +01:00
thetaepsilon-gamedev
31741e33e2 new_flow_logic/abms.lua: run_pump_intake(): use passed-in maxpressure instead of table lookup, pass through in abm_register.lua 2017-10-01 00:00:33 +01:00
thetaepsilon-gamedev
21892456f5 init.lua: move non-destructive new_flow_logic code outside if-guard 2017-09-30 23:55:16 +01:00
thetaepsilon-gamedev
c3627551b0 move all current new_flow_logic code to dedicated sub-directory 2017-09-30 23:42:26 +01:00
thetaepsilon-gamedev
d69941a0ae temporarily move ABM registration out of register_flow_logic.lua to allow refactoring it into flowable registry 2017-09-30 23:22:04 +01:00
thetaepsilon-gamedev
afcec82ae3 register_flow_logic.lua: expose ABM registration functions 2017-09-30 23:02:11 +01:00
thetaepsilon-gamedev
aaef5eb22b register_flow_logic.lua: factor out per-node input ABM registration 2017-09-30 22:56:12 +01:00
thetaepsilon-gamedev
7498a32364 new_flow_logic.lua: fix callback crash due to check_for_liquids_v2() being moved to sub-table 2017-09-30 22:46:21 +01:00
thetaepsilon-gamedev
8dfbcad949 register_flow_logic.lua: begin refactoring abm registration to allow use by other mods 2017-09-30 22:41:38 +01:00
thetaepsilon-gamedev
0251baf692 new_flow_logic.lua: move logic functions inside pipeworks.flowlogic sub-table 2017-09-30 21:27:50 +01:00
thetaepsilon-gamedev
40eeaac2ec internal refactoring of flowable node registration in preparation for enhanced flow checking logic 2017-09-30 21:27:50 +01:00
thetaepsilon-gamedev
10221c6c15 add TODO list extracted from new_flow_logic changelog entries 2017-09-30 21:27:50 +01:00
thetaepsilon-gamedev
ca4837f1c6 changelog.txt: back-entries for new flow logic work 2017-09-30 21:27:50 +01:00
Vanessa Ezekowitz
879b4489b2 Merge pull request #202 from thetaepsilon-gamedev/master
start of new_flow_logic reimplementation
2017-09-30 08:52:13 -04:00
thetaepsilon-gamedev
1666dfc2c7 register_flow_logic.lua: add author notice 2017-09-27 17:54:13 +01:00
thetaepsilon-gamedev
9d01482488 init.lua: add missing dofile for new flow logic 2017-09-27 17:53:08 +01:00
thetaepsilon-gamedev
3e827c23b9 flowing_logic.lua: separate out new logic into seperate file 2017-09-27 17:49:49 +01:00
thetaepsilon-gamedev
2d70d2b657 init.lua: turn off by-default new flow logic for now 2017-09-27 17:37:46 +01:00
thetaepsilon-gamedev
df8ef255a3 flowing_logic.lua: add new spigot code + ABM registration 2017-09-27 17:25:16 +01:00
thetaepsilon-gamedev
69133818f7 pipes.lua: split out new flow logic registration and make it respect feature toggles 2017-09-27 17:01:46 +01:00
thetaepsilon-gamedev
d6dcd51302 devices.lua: replace calls to add_node() with swap_node() to preserve node metadata 2017-09-27 16:42:15 +01:00
thetaepsilon-gamedev
c3708b154c flowing_logic.lua: fix pressure limit bug due to accessing non-existant variable 2017-09-27 16:32:22 +01:00
thetaepsilon-gamedev
67350b55bb pipes.lua: wire up pump intake ABM and add pumps to balancing logic 2017-09-27 16:20:07 +01:00
thetaepsilon-gamedev
c5e5aa069f flowing_logic.lua: add start of new pump handler code 2017-09-27 16:02:30 +01:00
thetaepsilon-gamedev
6a0fe9f3c0 flowing_logic.lua: add new version of check_for_liquids() 2017-09-27 15:49:03 +01:00
thetaepsilon-gamedev
59ac978093 pipes.lua: place old ABM code registration behind if-guard for new flag 2017-09-27 15:19:20 +01:00
thetaepsilon-gamedev
64a5b18e89 flowing_logic.lua: implement initital pressure balancing behaviour 2017-09-27 14:59:25 +01:00
thetaepsilon-gamedev
f82570f580 initial stub patches to re-implement new_flow_logic 2017-09-27 14:14:33 +01:00
Vanessa Ezekowitz
2adcd3e777 hard dep on mesecons 2017-09-27 02:23:28 -04:00
Thomas--S
cf93eca017 Replace old nodeupdate() with new minetest.check_for_falling() (#200)
Otherwise pipeworks crashes on 0.5.0-dev.

This is not tested, but should work.
2017-09-25 23:55:11 -04:00
DS
b2bb4c5280 make the filters use ghostitems (#197) 2017-09-25 23:22:25 -04:00
DS
736d67784c fix digiline_filter crashing when getting a string as count (#196)
* fix digiline_filter crashing when getting a string as count

* move it to somewhere else

* 🐈
2017-09-25 23:21:49 -04:00
DS
e8e9de04dd Add lua controlled tube (#199)
* add lua controlled tube

* make textures and fix some bugs
2017-09-25 23:21:15 -04:00
DS
05c0a8670b Add digiline_conductor and mesecon_and_digiline_conductor tubes (#195)
* add digiline_connecting_tube

* add mesecon and digiline conductiong tube

* add more recipes
2017-09-25 23:19:35 -04:00
DS
a5e1bfa0e8 give more possibilities to mods (#194)
* add owner to tubed items

* allow custom inventories
2017-08-20 18:05:08 -04:00
DS
c57a35d5bd filter: allow to take items out of locked chests if same owner (#193) 2017-08-17 15:20:38 -04:00
DS
f9f436fd7e fix a crash (#190) 2017-07-20 01:42:34 -04:00