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

615 Commits

Author SHA1 Message Date
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
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
Vanessa Ezekowitz
a7c3908b61 remove old compat file (obsolete) 2017-04-11 09:02:04 -04:00
Vanessa Ezekowitz
698c83d626 chests/furnaces: cache tube overlay images 2017-04-11 09:01:12 -04:00
Vanessa Ezekowitz
fcd9b0fbf4 adjust sorting tube formspec
to account for re-sized button on/off/interm images
2017-04-11 01:34:12 -04:00
Vanessa Ezekowitz
8f3d8cc586 allow stack per-chest/per-furnace stack splitting
defaults to disabled, whether the node has a new formspec or not
note that furnace fuel stacks can't be split.
2017-04-11 01:33:06 -04:00
Vanessa Ezekowitz
cf97f02434 only reject part of itemtack from chest, if possible
(e.g. if there's room for 50 of some item, and you send a stack of 99,
50 are added to the chest and a stack of 49 is rejected and sent
on to the next destination)
2017-04-09 20:27:32 -04:00
Vanessa Ezekowitz
8d50c191c8 cap luaentities table entries to valid coords on load
(in case the file gets corrupted on write?)
2017-04-09 03:18:56 -04:00
DS
c9c4b4cd15 make item drop by tubes nicer (#168)
* make item drop by tubes nicer
2017-04-09 01:19:40 -04:00
Vanessa Ezekowitz
c2a288303f Merge pull request #169 from DS-Minetest/tube_blast_break
break tubes on blast
2017-04-09 01:19:21 -04:00
DS-Minetest
9ee97e1ed1 break tubes on blast 2017-04-08 16:47:42 +02:00
Vanessa Ezekowitz
2c02d792bf allow repairing a broken tube
by striking it with cottages:hammer, or castles modpack anvil:hammer,
or with any glooptest hammer except wood or stone.
2017-04-07 19:51:54 -04:00
Vanessa Ezekowitz
bea570555a remove "reversed" warning message
(not needed now that tube breaking is reliable)
2017-04-07 03:35:24 -04:00
Vanessa Ezekowitz
f3a74bb618 default breaking code to "enabled" and lower the default limit to 30. 2017-04-06 00:15:16 -04:00
Vanessa Ezekowitz
2aa9556748 tonumber() the config'd items limit 2017-04-06 00:02:31 -04:00
Ekdohibs
ef68e058ec Don't lose extra movement when entering new tube or turning around. 2017-04-06 05:13:40 +02:00
Ekdohibs
7680820d3e Make item counting more reliable and more efficient. 2017-04-06 03:46:23 +02:00
Novatux
33c4c9d552 let tubes break if they're "over-pressure"
that is, if there are more than X number of items in a tube.  Default is
40 in a tube, but breaking is also disabled by default.

(original framework by Novatux, with changes by VanessaE)
2017-04-05 11:43:41 -04:00
Vanessa Ezekowitz
eab59bfe19 always set item start pos on reverse. 2017-04-05 11:43:41 -04:00
ForbiddenJ
0056116148 Namespace pollution cleanup (Used list at #154) 2017-04-04 05:27:37 -03:00
Vanessa Ezekowitz
0639bb9706 allow pipeworks to skip server steps when moving entities around. 2017-03-31 18:27:44 -04:00
Vanessa Ezekowitz
3a77d1dd8e if an item should reverse dir (e.g. full destination),
and it's not going back into a tube, reject it and pop out as an item
2017-03-29 16:54:38 -04:00
Vanessa Ezekowitz
0e8a82fdba add a warning if a tubed item turns around
(too many means that something is wrong with that tube circuit)
2017-03-29 15:25:05 -04:00