Commit Graph

265 Commits

Author SHA1 Message Date
Joachim Stolberg
873a51e3db Add Flow Limiter mode to TA4 pusher 2022-09-04 18:05:37 +02:00
Joachim Stolberg
15a4765b6f Add Flow Limiter mode to TA4 pump 2022-09-03 19:22:43 +02:00
Joachim Stolberg
3426712006 Change behavior of push_items function 2022-09-02 21:12:25 +02:00
Joachim Stolberg
c78ea7eb66 Fix ICTA controller bugs 2022-08-09 20:27:33 +02:00
Joachim Stolberg
79ad815ed6 Fix use_texture_alpha issues 2022-07-11 20:16:23 +02:00
Joachim Stolberg
7082e1ab0d Add time & name commands to the TA4 button 2022-07-03 16:07:38 +02:00
Joachim Stolberg
b936024113 Minor improvements 2022-06-23 20:36:36 +02:00
Joachim Stolberg
998689aafd Fiy beduino command bug 2022-06-21 20:21:16 +02:00
Joachim Stolberg
ce839fead3 Add new config & get commands 2022-06-12 18:35:06 +02:00
Joachim Stolberg
07a7f2fffa Fix chest chain bug 2022-06-12 18:34:06 +02:00
Joachim Stolberg
6a71892799 Fix beduino command bugs 2022-06-09 12:59:17 +02:00
Joachim Stolberg
e2bd472408 Minor improvements 2022-06-07 19:14:43 +02:00
Joachim Stolberg
b6eeef358a Add support for beduino commands 2022-06-05 21:20:43 +02:00
Joachim Stolberg
54ed4e60c5 Fix wind turbine and concentrator bugs 2022-05-06 23:02:22 +02:00
Joachim Stolberg
4570a10241 Fix bugs for ta5 heat exchanger and ta4 electronic fab 2022-05-03 21:08:35 +02:00
Joachim Stolberg
e0269da493 Fix ta3 lightdetector drop bug 2022-03-11 21:46:36 +01:00
Joachim Stolberg
aedf234ae5 Allow to turn the concentrator with the new screwdriver 2022-01-06 10:13:18 +01:00
Joachim Stolberg
ca8929fa9d Allow to turn the pusher with the new screwdriver 2022-01-05 21:41:30 +01:00
Joachim Stolberg
f8ca493a6b Fix ta5 hyperloop tank bug, EOF blank added 2022-01-04 19:40:27 +01:00
Joachim Stolberg
f96abd97b7 Improve manual 2022-01-04 10:46:55 +01:00
Joachim Stolberg
8a21364d4b delete EOL blanks 2022-01-03 21:40:31 +01:00
Joachim Stolberg
577a4e8bd3 Add ta5 teleport tubes 2022-01-02 21:00:46 +01:00
Joachim Stolberg
e2834a20ff ta5 hyperloop tank addded 2021-12-31 17:25:37 +01:00
Joachim Stolberg
8f037a4ec0 Add ta5 chest for hyperloop transfer 2021-12-30 15:05:20 +01:00
Joachim Stolberg
45479bf153 Support for i3 added 2021-12-25 17:18:34 +01:00
Joachim Stolberg
79890c1c1b Activate TA5, improve move/fly controller 2021-12-25 16:12:09 +01:00
Joachim Stolberg
dee6c47555 Collider system added 2021-12-11 20:15:55 +01:00
Joachim Stolberg
fea1a6981c Add recipeblock and mba_detector, improve ta4 pump and ta4 autocrafter 2021-11-28 14:42:18 +01:00
Joachim Stolberg
793ef84a8c Improvements on move-, fly-, and turn controllers 2021-11-16 20:07:52 +01:00
Joachim Stolberg
6a1beeaaec Add TA5 ex points feature for hyperloop tank and chest 2021-11-05 20:26:07 +01:00
Joachim Stolberg
cf3415a1d6 Add hyperloop support to ta4 chest and tank 2021-11-02 21:28:22 +01:00
Joachim Stolberg
801d2f5492 Improve injector and detector 2021-09-27 21:34:24 +02:00
Joachim Stolberg
1e36775c18 Allow pushing of items 'into' a techage:ta4_chest_dummy 2021-09-19 12:56:03 +02:00
Joachim Stolberg
3ff6ca909f fix ta4_injector and detector issues 2021-09-17 18:57:14 +02:00
Joachim Stolberg
9cc6b93f58 fix concentrator bug 2021-09-14 20:07:41 +02:00
Thomas--S
6a9ccd34e5 TA4 Chest: Fix items disappearing 2021-09-14 13:23:17 +02:00
Joachim Stolberg
58d8142495 Add TA1 watermill 2021-08-16 17:57:54 +02:00
Joachim Stolberg
fe37465f65 Reactivate grinder recipes 2021-08-01 16:32:52 +02:00
Joachim Stolberg
4dbf460715 Add minor improvements 2021-07-29 21:08:44 +02:00
Joachim Stolberg
875c3dc9de Convert liquid filter and blackhole 2021-07-24 11:26:13 +02:00
Joachim Stolberg
8e249248dc Merge branch 'networks' 2021-07-23 19:47:43 +02:00
Joachim Stolberg
086594e24c Adapt to networks v0.08 2021-07-06 21:37:29 +02:00
Joachim Stolberg
da15e05496 fix v1 transition bugs 2021-07-06 19:39:32 +02:00
Joachim Stolberg
1d7db7943b Prepare for lib 'networks' 2021-06-19 15:06:08 +02:00
Joachim Stolberg
054283cc4d Add ta2 gravity energy storage system 2021-06-16 22:51:30 +02:00
Joachim Stolberg
60487a232f Add grinder bugfix from Micu 2021-06-14 23:23:56 +02:00
Joachim Stolberg
ef9d904917 Prepare for lib 'networks' 2021-06-09 22:09:59 +02:00
Joachim Stolberg
d80304b449 Prepare for lib 'networks' 2021-06-07 22:00:52 +02:00
Joachim Stolberg
282f52d77e Prepare for lib 'networks' 2021-06-05 11:42:30 +02:00
Joachim Stolberg
f93773ef31 Fix wheat recipe issue 2021-05-18 21:28:14 +02:00
Joachim Stolberg
6ea6933001 Fix ta4 chest take_item bug 2021-05-16 20:01:41 +02:00
Joachim Stolberg
c5a030b9e5 Fix ta4 chest take_item bug 2021-05-16 19:56:44 +02:00
Joachim Stolberg
62be5cf818 Fix no-power issues for several machines, fix grinder recipe bug 2021-05-14 18:38:08 +02:00
Joachim Stolberg
67fd148241 Add ta2 + ta4 concentrator tubes, add grinder farming recipes 2021-05-13 17:52:07 +02:00
Joachim Stolberg
57c82c55a3 Add ta2 + ta4 concentrator tubes, add grinder farming recipes 2021-05-13 17:24:02 +02:00
Thomas--S
b6d709bb16 Limit the number of items in the filters of the distributor 2021-05-09 15:34:25 +02:00
Thomas--S
d544224dd6 Allow to configure item ratios in distributor filters
It allows to control the ratio in which certain items will use the different outputs.
This is done by adding an item multiple times to the same filter.

Because of this, the hardcoded permutations are replaced with a Fisher-Yates-Shuffle.
This is theoretically a little bit slower; but according to my measurements, about one million of copy-shuffle operations can be executed per second (tested with a table length of four); so it doesn't seem to be a big problem.

Additionally, a bit of outdated information was removed from the manuals.
2021-05-08 16:57:53 +02:00
Thomas--S
f4bbb6df3a Necessary adjustments in techage.register_consumer for upcoming ts_vehicles mod
- Allow to use a prefix other than "techage:ta"
- Copy custom properties (starting with an underscore)

Additionally, some dead code (regarding on_recv_message) is removed; it had no effect.
2021-05-06 15:12:19 +02:00
Joachim Stolberg
1b8978326b minor improvements 2021-04-30 19:00:59 +02:00
Joachim Stolberg
7f39cceb0f Adapt use_texture_alpha and change node state for inactive nodes 2021-04-24 19:24:15 +02:00
Joachim Stolberg
8f73850f40 Adapt to minecart v2.00 2021-04-22 17:32:02 +02:00
Joachim Stolberg
d89b83ce18 Fix logic block bug, protect forceload block from digtron 2021-03-30 22:17:22 +02:00
Thomas--S
ad86a7668f Fix TA4 chest client crash
The client crashed when opening a 8x2000 chest with an animal inside; most likely due to the rather uncommon form of their metadata.
2021-03-25 22:13:21 +01:00
Joachim Stolberg
29ad918960 Fix MT v5.4 issues #52 and #53 2021-03-17 19:36:47 +01:00
Joachim Stolberg
276a6a37f3 Revice TA4 Injector, add TA3 Injector 2021-03-08 21:27:51 +01:00
Joachim Stolberg
48f22090e8 Allow pusher to pull honey from xdecor:hive and mobs:beehive 2021-02-22 20:42:16 +01:00
Joachim Stolberg
e82c621f5c Add new logic block which will replace the current one 2021-02-22 20:35:22 +01:00
Joachim Stolberg
dfc49e127b Add TA4 recycle machine 2021-02-06 17:33:21 +01:00
Joachim Stolberg
c4e381687d Add TA4 recycle machine 2021-02-06 17:20:45 +01:00
Joachim Stolberg
e69e6f5370 Add TA4 recycle machine 2021-02-05 20:12:12 +01:00
Michal Cieslakiewicz
336fef53af Allow read of Distributor slot status
Add support for reading distributor slot status. This action
is complementary to already present filter setting function.
'port' distributor message is modified to accept filter color
only (without '=on/off'), device returns selected filter state.
A wrapper function ($get_filter(...)) for Lua Controller and
condition selector for ICTA Controller are implemented as well.

Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
2021-01-31 19:10:14 +01:00
Joachim Stolberg
29aacdd579 Fix door controller bugs & add item source test block 2020-12-19 19:14:20 +01:00
Joachim Stolberg
dd462aa220 Generators: Show network overload 2020-12-04 17:52:27 +01:00
Joachim Stolberg
aa97c061cf TA4 Wind tubine: Change the setup requirements 2020-11-02 21:27:12 +01:00
Joachim Stolberg
7b12603fb3
Merge pull request #39 from Thomas--S/refactor-8x2000
Refactor TA4 8x2000 chest
2020-11-02 19:24:07 +01:00
Thomas--S
9c9dcf8a37 Refactor TA4 8x2000 chest
Advantages:
* Code uses common functions for manual usage and automation where possible. This avoids forgetting half of the adjustments like it happened in #14
* Support for meta and wear
* Code duplication for the different automatic modes is reduced/avoided

Additionally, the `techage.item_image` function was adjusted:
* added support meta and wear
* removed duplicate stack size labels for non-tools with max_stack=1
* added optional parameter to "overwrite" stacksize for tools (necessary because of minetest limitations)
2020-10-31 19:10:47 +01:00
Joachim Stolberg
90e1af7e85 TA4 chest/tank: Add 'public' checkbox to allow public access 2020-10-30 20:46:58 +01:00
Joachim Stolberg
b5bc1751b5 Fix bug: Tubes do not recognize when TA2 nodes are added/removed 2020-10-30 17:49:01 +01:00
Joachim Stolberg
976dd379ca Autocrafter: Add register function for uncraftable items 2020-10-23 16:33:39 +02:00
Joachim Stolberg
028a1591c2 Switch license from GPL to AGPL 2020-10-19 19:09:17 +02:00
CosmicConveyor
1da84cdf91
Fixed Gravel Sieve bug 2020-10-10 00:27:13 +07:00
Thomas--S
af97e126c0 Add TA4 High Performance Distributor
(36 items/4s; 8 items can be configured per direction)

Additionally the distributor bottom textures are fixed.
2020-10-03 10:58:08 +02:00
Joachim Stolberg
7200f08c5c Fix distributor bug 2020-09-21 19:58:48 +02:00
Joachim Stolberg
e13cd8b924 Fix ta4 chest bugs 2020-09-20 12:11:26 +02:00
Joachim Stolberg
73c4b95051 Fix ta4 chest and ta3 firebox issues 2020-09-19 11:00:36 +02:00
Joachim Stolberg
3c19345aaa
Merge pull request #28 from Thomas--S/quarry-dig-like-player
Quarry: Improve digging behaviour
2020-09-13 12:42:29 +02:00
Thomas--S
c2164a06f2 Distributor: Keep metadata 2020-09-12 10:29:50 +02:00
Thomas--S
0375cb1480 Quarry: Improve digging behaviour
Quarry now digs nodes like a player.
Additionally, some possible causes for crashes are fixed.
E.g. the `inv` in the `after_dig_node` callbacks were not guaranteed to exist.

Please note that TA4 batteries that were dug before this change are considered as full.
2020-09-12 09:45:33 +02:00
Thomas--S
d4a65cfb63 Digtron Battery: Fix duplication bug
This is done by using `preserve_metadata` instead of a custom `after_dig_node` callback.
2020-08-23 17:51:07 +02:00
Joachim Stolberg
d661525db2 Add support for digtron and protector:chest 2020-08-22 19:42:44 +02:00
Joachim Stolberg
7f4a35950c
Merge pull request #24 from realmicu/master
distributor: improve fairness by using random spread
2020-08-08 12:12:54 +02:00
Joachim Stolberg
698cea5843
Merge pull request #18 from Thomas--S/digtron-battery
Add a simple Digtron battery.
2020-08-08 12:08:25 +02:00
Michal Cieslakiewicz
fbe4c914d7 distributor: improve fairness by using random spread
Distributor iterates through filter indices always in the same order,
accidentally favouring certain ports. This is particularly noticeable
for 3 outputs configured with the same item - lowest numbered port
is receiving double quantity (TA2 distributor moves items in pack of 4).

Fix provided in this patch adds an extra mapping for filter indexing,
permutating randomly outputs with identical items so no ports are
preferred anymore.

Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
2020-08-07 22:16:21 +02:00
Joachim Stolberg
c6082ef8ce v0.20 with improvements and bugfixes 2020-07-31 12:41:12 +02:00
Thomas--S
61f874a918 Lua Controller: Allow to get itemstring and description of 8x2000 chest contents
As suggested by the player "baumeister".
2020-07-27 21:52:52 +02:00
Thomas--S
cb5d6eb619 Add a simple Digtron battery.
Further balancing or adjustments might be necessary.
2020-07-21 21:41:31 +02:00
Joachim Stolberg
01089d69b0
Merge pull request #14 from Thomas--S/repair-fix
Don't allow to put items with meta or wear information into the 8x2000 chest
2020-07-21 14:12:33 +02:00
Thomas--S
698eeb63a9 Blackhole: Add support for liquids
Left side is used for items; right side is used for liquids.
As far as I know, there is no other way to get rid of liquids.
2020-07-17 20:01:04 +02:00
Thomas--S
8dcf8b3108 Don't allow to put items with meta or wear information into the 8x2000 chest
This information would get lost, which can be abused to repair tools for free.
2020-07-17 18:31:32 +02:00
Joachim Stolberg
849fb91918 cracking and hydrogenation recipes added 2020-07-06 20:18:38 +02:00