Commit Graph

786 Commits

Author SHA1 Message Date
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) 0.4.16 2017-07-20 01:42:34 -04:00
Vanessa Ezekowitz
769dd7fe7b Adjust rate control code to work better
now it'll run at full speed if there's enough time
else it'll throttle back to 1/3.
(at that point, the movement imprecision caused by this
will become hidden behind lag-induced imprecision)
2017-07-03 18:43:03 -04:00
Vanessa Ezekowitz
3c20e91029 prevent crash if node being taken from has no inv 2017-06-23 14:11:19 -04:00
Vanessa Ezekowitz
1273d82917 only return true from receive_fields() when actually needed 2017-06-19 22:59:37 -04:00
Vanessa Ezekowitz
078161c51d Pipeworks uses LGPL code from minetest_game, changed license accordingly. 2017-06-18 19:32:05 -04:00
ForbiddenJ
11d57cc02b Change compat-chests.lua to block top-mounted tube connections when chest is open 2017-06-17 19:52:55 -05:00
ForbiddenJ
018accd1ae Change compat-chests.lua to handle modern chests and be clean. (Addresses https://github.com/minetest-mods/pipeworks/issues/177) 2017-06-17 13:32:10 -05:00
Jordan Irwin
2eff6e36ea Change scope of local variable 'nodecolor': (#185)
Fixes warning about undefined global.
2017-06-08 01:54:09 -04:00
Jordan Irwin
69d994a2a2 Replace deprecated methods: (#179)
- 'setting_get' with 'settings:get'
- 'setting_getbool' with 'settings:get_bool'
2017-05-18 05:33:56 -04:00
DS
7d70d79cda improve node breaker textures (#173) 2017-05-18 05:32:01 -04:00
DS
d82227942d Nice settings (#171)
* improve style

* do something

* make settingtypes nicer

* fix settingtypes new lines

* fix it and so make it work 🐈
2017-04-13 21:13:30 -04:00
Vanessa Ezekowitz
3679943620 also check for group "tubedevice" (fixes injecting into one-way tube) 2017-04-12 16:15:39 -04:00
Vanessa Ezekowitz
0c0e6a6b66 make sure there's something appropriate to inject an item into
(fixes #123)
2017-04-12 16:03:41 -04:00
Vanessa Ezekowitz
9d6881deca fix scale of on/off switch in teleport tube 2017-04-12 14:36:50 -04:00
Vanessa Ezekowitz
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
2017-04-12 07:10:48 -04:00
Vanessa Ezekowitz
acc2b6802e fix scale on autocrafter's on/off switch 2017-04-12 07:09:35 -04:00
Vanessa Ezekowitz
d78364570c use "base" field in a couple more places 2017-04-11 20:05:58 -04:00
Vanessa Ezekowitz
1b2e94f199 remove some debug prints 2017-04-11 19:45:59 -04:00
Vanessa Ezekowitz
15fe8e068f cache button "base" field since it's also standard 2017-04-11 19:16:21 -04:00
Vanessa Ezekowitz
5e26aa5f91 cache on/off button image refs and commonly-used label for same 2017-04-11 18:52:39 -04:00