Commit Graph

49 Commits

Author SHA1 Message Date
Joachim Stolberg
3426712006 Change behavior of push_items function 2022-09-02 21:12:25 +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
b6eeef358a Add support for beduino commands 2022-06-05 21:20:43 +02:00
Joachim Stolberg
f8ca493a6b Fix ta5 hyperloop tank bug, EOF blank added 2022-01-04 19:40:27 +01:00
Joachim Stolberg
8a21364d4b delete EOL blanks 2022-01-03 21:40:31 +01:00
Joachim Stolberg
da15e05496 fix v1 transition bugs 2021-07-06 19:39:32 +02:00
Joachim Stolberg
62be5cf818 Fix no-power issues for several machines, fix grinder recipe bug 2021-05-14 18:38:08 +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
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
028a1591c2 Switch license from GPL to AGPL 2020-10-19 19:09:17 +02: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
Thomas--S
c2164a06f2 Distributor: Keep metadata 2020-09-12 10:29:50 +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
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
9a4a8c58c2 ta4 injector added, ta4 pusher and distributor changed, maintenance and minor bugfixes 2020-04-25 21:06:19 +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
f10dae4a20 quarry and power distribution improvements 2020-04-05 12:36:32 +02:00
Joachim Stolberg
b2eb3ce11a further ta4 machines and ta4 tube added 2020-03-17 21:43:30 +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
402c00a584 improvements on distributor, hopper, and liquidsampler 2020-02-14 22:59:16 +01:00
Joachim Stolberg
05f0fe64bd complete restructured 2020-01-25 23:15:44 +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
4611cc05ae fuell cell and electrolyzer added
power improvements
2019-10-07 00:09:39 +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
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
19fbdbec87 furnace bugfixes, lamp improvements, standby power consumption bugfix, further work on TES 2019-09-08 21:54:34 +02:00
Joachim Stolberg
e4b0ba3110 distributor bugfix 2019-09-03 22:08:11 +02:00
Joachim Stolberg
2721fc72cd source number added for command interface 2019-08-25 18:08:30 +02:00
Joachim Stolberg
f085883e55 missing recipes added
TA3 Terminal activated
minor improvements
2019-08-22 20:49:47 +02:00
Joachim Stolberg
a65aefbc36 generator bugfix
some logic items added
2019-08-07 22:26:38 +02:00
Joachim Stolberg
ec9c89c377 further in-game doc added, German translation started 2019-07-02 21:33:12 +02:00
Joachim Stolberg
85661da287 power distribution changed 2019-06-16 21:06:16 +02:00
Joachim Stolberg
4dc7239e0a Reworked for a new power model 2019-05-21 13:15:13 +02:00
Joachim Stolberg
ebccc240ae further nodes added 2019-05-11 01:21:03 +02:00
Joachim Stolberg
38d115fdf3 Electronic Fab and Vacuum Tubes added 2019-05-01 23:01:14 +02:00
Joachim Stolberg
dc7777652a debug prints removed 2019-05-01 12:05:29 +02:00
Joachim Stolberg
1f4dcf7512 restructured 2019-04-28 16:04:45 +02:00
Joachim Stolberg
72ef48a6d1 Hammer and sieve added 2019-03-17 15:33:13 +01:00
Joachim Stolberg
80a2f67bcf distributor now working 2019-03-10 22:33:03 +01:00
Joachim Stolberg
6278a380e4 bugfixes 2019-03-09 13:42:51 +01:00