Commit Graph

265 Commits

Author SHA1 Message Date
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
Jacob Lifshay
b8e27678b0
fix quarry returning unknown item when mining clay block
quarry used to return an item with the name "default:clay_lump 4" instead of returning 4 clay lump items when mining a clay block.
2020-07-05 16:19:57 -07:00
Joachim Stolberg
3e45868372 v0.14 with several changes (see readme) 2020-06-29 19:09:12 +02:00
Joachim Stolberg
a45bf2249c node number bugfixes 2020-06-13 23:32:00 +02:00
Joachim Stolberg
2d1afbe0d0 minor quarry und distibutor bugfixes, quarry depth cmnd added, TA1 stone hammer added 2020-06-04 18:56:10 +02:00
Joachim Stolberg
97f7dad3af tubes upgraded, manuals updated 2020-05-31 20:41:17 +02:00
Joachim Stolberg
376e29b854 sqlite3 support added, furnace bugfix 2020-05-23 14:11:35 +02:00
Joachim Stolberg
bb6f85c9c7 storage backend prepared for sqlite 2020-05-19 18:43:24 +02:00
Joachim Stolberg
0ac3d3fc85 bugfixes on chest command and Plastic Granules recipe (thanks to Thorviss) 2020-05-12 17:11:32 +02:00
Joachim Stolberg
5a86ecdec0 forceload tile bugfix 2020-05-01 16:53:16 +02:00
Joachim Stolberg
0c3138ac50 power distribution bugfix, redstone recipe changed, display infotext added, silo and tank bugfixes, tin probability increased 2020-05-01 14:43:08 +02:00
Joachim Stolberg
9a4a8c58c2 ta4 injector added, ta4 pusher and distributor changed, maintenance and minor bugfixes 2020-04-25 21:06:19 +02:00
Joachim Stolberg
61bbf5ea52 improvements on door controller and pusher 2020-04-15 18:08:05 +02:00
Joachim Stolberg
59a0a3248e ta4_chest and display improvements 2020-04-14 18:46:50 +02:00
Joachim Stolberg
867227dbfd ta4_chest and distributor modes enhanced, further improvements 2020-04-13 22:55:49 +02:00
Joachim Stolberg
ea4765ce46 distri 1:1 mode changed, drill pipe wrench added, ta4_chest modes enhanced, further improvements 2020-04-13 13:20:38 +02:00
Joachim Stolberg
f3d8002832 ta4_chest bugfix 2020-04-12 14:45:58 +02:00
Joachim Stolberg
6c0737be1b ta4_chest bugfix 2020-04-12 09:54:05 +02:00
Joachim Stolberg
3dbf81365b XL display, stackable 8x2000 chests added 2020-04-11 23:21:54 +02:00
Joachim Stolberg
5146d50d4b ta4_chest bugfixwith unstackable items, ta4_doser bugfixes, waterpump bugfix 2020-04-07 22:19:36 +02:00
Joachim Stolberg
f956c19988 quarry and power distribution improvements 2020-04-05 12:59:02 +02:00
Joachim Stolberg
f10dae4a20 quarry and power distribution improvements 2020-04-05 12:36:32 +02:00
Joachim Stolberg
22c561a6e2 minor improvements 2020-04-03 21:45:36 +02:00
Joachim Stolberg
50d0ae4ebd TA4 8x2000 chest improvement 2020-04-02 23:00:02 +02:00
Joachim Stolberg
1024f8ccc5 TA4 chest,quarry, and oil explorer reworked 2020-03-31 18:27:15 +02:00
Joachim Stolberg
7536a2fa47 LEDs, TA4 ele fab, LED grow light added and some bugfixes 2020-03-27 19:44:19 +01:00
Joachim Stolberg
2b441930d4 TA4 chest recipe bugfix 2020-03-24 16:29:07 +01:00
Joachim Stolberg
28eb8e0487 TA4 chest and pusher changed and redone 2020-03-22 11:01:44 +01:00
Joachim Stolberg
a9d4d91bb6 recipe bugfix 2020-03-18 12:57:48 +01:00
Joachim Stolberg
b2eb3ce11a further ta4 machines and ta4 tube added 2020-03-17 21:43:30 +01:00
Joachim Stolberg
4d67e95c17 display bugfix, TA4 state collector, button and player detector added 2020-03-15 23:50:15 +01:00
Joachim Stolberg
2a8dfd755f ICTA controller added 2020-02-29 19:20:54 +01:00
Joachim Stolberg
a6c7fc3731 removed unneeded code and some bugfixes 2020-02-28 21:27:52 +01:00
Joachim Stolberg
2905a45774 removed unneeded code 2020-02-27 22:33:42 +01:00
Joachim Stolberg
3b33cfec36 bugfixes and improvements 2020-02-24 20:59:26 +01:00
Joachim Stolberg
c8f685c0d5 LBMs and repair tool added for the migration 2020-02-22 20:43:14 +01:00
Joachim Stolberg
4f17604cb1 funnel removed, quarry added, hopper removed, instead use of minecart hopper 2020-02-16 18:10:40 +01:00
Joachim Stolberg
402c00a584 improvements on distributor, hopper, and liquidsampler 2020-02-14 22:59:16 +01:00
Joachim Stolberg
d4bd5118b0 waterpump added 2020-02-11 22:34:58 +01:00
Joachim Stolberg
d4f8b742f5 bugfixes 2020-02-01 22:08:06 +01:00
Joachim Stolberg
4a9ca006d6 bugfixes 2020-02-01 22:00:58 +01:00
Joachim Stolberg
859587713d power bugfixes 2020-01-26 20:15:40 +01:00
Joachim Stolberg
eb77e68991 complete restructured 2020-01-25 23:22:06 +01:00
Joachim Stolberg
05f0fe64bd complete restructured 2020-01-25 23:15:44 +01:00
Joachim Stolberg
ce2a35e5b7 TA3 rinser added
recipes changed
2019-11-17 01:04:00 +01:00
Joachim Stolberg
0a6392b2b9 items bauxite, gibbsite, aluminum, red mud, powders, lye added
nodes silo and furnace heater added
chemical doser/reactor activated
netID location (networks) moved to pumps
expoxy recipe changed
files/folders restructured
2019-11-17 00:08:10 +01:00
Joachim Stolberg
406b5ad6a5 bugfixes, recipes changed, electronic fab menu changed 2019-11-10 21:08:37 +01:00
Joachim Stolberg
68c8a74da8 networks, liquids, reactor, barrels, tanks, and pumps introduced, still untested 2019-10-27 11:14:37 +01:00
Joachim Stolberg
7b180200bc central power distribution function added
power terminal improvements
bauxite and reactor added
2019-10-17 21:26:39 +02:00
Joachim Stolberg
4611cc05ae fuell cell and electrolyzer added
power improvements
2019-10-07 00:09:39 +02:00
Joachim Stolberg
14bc0b19cb bugfixes for solar inverter and energy storage
power distribution changed
solar inverter in two nodes divided
manuals revised
2019-10-05 19:19:18 +02:00
Joachim Stolberg
bb2b4d2b0a bugfixes for inverter and power line protection
api.md added
-
2019-10-04 00:54:51 +02:00
Joachim Stolberg
4346e0e584 translation and manual improvements 2019-09-26 23:44:34 +02:00
Joachim Stolberg
77a7417cf4 switched from internal doc strings to md file based documentation
translation strings added
door block bugfix
player detector bugfix
2019-09-26 22:32:37 +02:00
Joachim Stolberg
fbf8207a68 new operational mode added 2019-09-20 21:43:06 +02:00
Joachim Stolberg
33675b64ce formspec improved 2019-09-19 20:02:59 +02:00
Joachim Stolberg
5baec009ca ingame docu improved 2019-09-17 23:37:29 +02:00
Joachim Stolberg
a9151bfd3e sequencing mode added to force the order of filter items 2019-09-16 22:47:45 +02:00
Joachim Stolberg
0a9b300136 some configuration modifications 2019-09-15 23:30:04 +02:00
Joachim Stolberg
19fbdbec87 furnace bugfixes, lamp improvements, standby power consumption bugfix, further work on TES 2019-09-08 21:54:34 +02:00
Joachim Stolberg
56ed4ccad0 Liquid Sampler node added 2019-09-05 22:47:29 +02:00
Joachim Stolberg
e4b0ba3110 distributor bugfix 2019-09-03 22:08:11 +02:00
Joachim Stolberg
270990cdee wind turbine finished and recipes added 2019-08-31 21:19:09 +02:00
Joachim Stolberg
c871a9a2e3 tubelib2.init_mem(pos) bugfixes
power_pole with protection
wind turbine prototype added
2019-08-31 01:35:46 +02:00
Joachim Stolberg
2174916b01 cart detector and funnel added 2019-08-29 22:25:31 +02:00
Joachim Stolberg
2267f00fec cart detector and funnel added 2019-08-29 21:43:00 +02:00
Joachim Stolberg
f30ff6ab51 pillar added
minor bugfixes
2019-08-26 22:19:59 +02:00
Joachim Stolberg
2721fc72cd source number added for command interface 2019-08-25 18:08:30 +02:00
Joachim Stolberg
266195db74 sequencer and timer added
further code improvements
2019-08-24 14:12:33 +02:00
Joachim Stolberg
b2ff68fe8c further logic nodes added 2019-08-23 23:35:37 +02:00
Joachim Stolberg
f085883e55 missing recipes added
TA3 Terminal activated
minor improvements
2019-08-22 20:49:47 +02:00
Joachim Stolberg
88691ab4df missing recipes added
TA3 Terminal activated
minor improvements
2019-08-22 20:22:52 +02:00
Joachim Stolberg
4d30ba4bef bugfixes and improvements 2019-08-21 21:52:11 +02:00
Joachim Stolberg
806248eb71 improvements 2019-08-18 18:02:14 +02:00
Joachim Stolberg
7b79a6c942 power distribution changed 2019-08-16 23:44:11 +02:00
Joachim Stolberg
a65aefbc36 generator bugfix
some logic items added
2019-08-07 22:26:38 +02:00
Joachim Stolberg
567bd040b7 power distribution reworked, bugs fixed 2019-08-01 22:31:43 +02:00
Joachim Stolberg
7db45b187c WLAN chip recipe bug fixed
hidden secondary nodes bug fixed
power distribution bug fixed
2019-07-12 23:27:29 +02:00
Joachim Stolberg
ec9c89c377 further in-game doc added, German translation started 2019-07-02 21:33:12 +02:00
Joachim Stolberg
ac0e8f3978 node states changed, bugs fixed, command interface to several nodes added 2019-06-28 23:46:44 +02:00
Joachim Stolberg
d7ecb4818e some bugfixes 2019-06-25 20:35:51 +02:00
Joachim Stolberg
1c4bd6eed2 Tiny Generator added
Generator burning times modified
2019-06-20 23:44:04 +02:00
Joachim Stolberg
582926b783 help page added 2019-06-17 22:09:40 +02:00
Joachim Stolberg
224689f3f2 some bugfixes 2019-06-17 21:24:48 +02:00
Joachim Stolberg
85661da287 power distribution changed 2019-06-16 21:06:16 +02:00
Joachim Stolberg
8abb6444d3 basalt glass added 2019-06-09 22:29:59 +02:00
Joachim Stolberg
f642bfee60 pumpjack added 2019-06-09 17:20:40 +02:00
Joachim Stolberg
ae085ddc3f bugfixes 2019-06-09 15:02:17 +02:00
Joachim Stolberg
a067e77723 oil tower added 2019-06-09 00:25:25 +02:00
Joachim Stolberg
9b0c84c4d7 oil tower added 2019-06-08 22:57:01 +02:00
Joachim Stolberg
314c32e946 explorer improved 2019-05-27 21:12:17 +02:00
Joachim Stolberg
d342a3d669 lamps, oil and oil explorer added 2019-05-26 23:22:29 +02:00
Joachim Stolberg
fbe7508a0a bug fixes 2019-05-22 11:53:54 +02:00
Joachim Stolberg
f777123b58 Reworked for a new power model 2019-05-21 17:46:59 +02:00
Joachim Stolberg
4dc7239e0a Reworked for a new power model 2019-05-21 13:15:13 +02:00
Joachim Stolberg
46509bec3c repearkit wearing added, recipe changed 2019-05-16 22:22:24 +02:00
Joachim Stolberg
18f791956b battery added 2019-05-12 20:27:54 +02:00
Joachim Stolberg
68e21afc15 rinser bugfix 2019-05-12 14:45:32 +02:00
Joachim Stolberg
6e9849f7d0 rinser added, bugfixes 2019-05-11 16:52:59 +02:00
Joachim Stolberg
ebccc240ae further nodes added 2019-05-11 01:21:03 +02:00
Joachim Stolberg
7705374d1c bugfixes 2019-05-04 22:31:53 +02:00