Commit Graph

444 Commits (9ab69c10e1274fb4aec34d6c3bec708a5dc499fc)

Author SHA1 Message Date
Joachim Stolberg e19843ab53
Merge pull request #30 from Thomas--S/liquid-filter
TA4: Add Liquid Filter
2020-09-20 20:16:10 +02:00
Thomas--S ec7e5cdce5 TA4: Add Liquid Filter
Red Mud -> Lye/Desert Cobble
The filter is an entirely passive machine.

Additional changes:
* Remove `not_in_creative_inventory` from battery (forgotten in #29)
* Improve pump leftover handling (needed for the filter)
* markdown2formspec.py: Switch to Python 3 (Python 2 is deprecated)
2020-09-20 13:58:14 +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 5e307bf5a7 v0.23 version update 2020-09-13 13:15:31 +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
Joachim Stolberg f7442d5e0b
Merge pull request #29 from Thomas--S/distributor-meta
Distributor: Keep metadata
2020-09-12 12:01:36 +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
Joachim Stolberg 3ca31bd0ba fix pump issue (silo source items can disappear) 2020-09-11 14:33:09 +02:00
Joachim Stolberg be8e9b3b8c
Merge pull request #27 from Thomas--S/tank_protection
Liquid Tanks: Add protection support
2020-09-09 22:00:21 +02:00
Thomas--S 92504a6bec Liquid Tanks: Add protection support 2020-09-08 21:39:34 +02:00
Joachim Stolberg 21d73a307f Firebox: Add check for free space when placing the node 2020-09-04 13:57:16 +02:00
Joachim Stolberg 947f4c56e5 Add 'get_gametime' function 2020-08-31 17:48:18 +02:00
Joachim Stolberg c4e431b46e improve ta4 sensor box 2020-08-30 21:12:10 +02:00
Joachim Stolberg dcb06e210e improve ta4 sensor box 2020-08-30 19:16:32 +02:00
Joachim Stolberg 5fbfe95011
Merge pull request #26 from Thomas--S/digtron_preserve_meta
Digtron Battery: Fix duplication bug
2020-08-23 18:20:25 +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 c2d0746eb9 v0.22 with improvements 2020-08-22 19:46:46 +02:00
Joachim Stolberg d661525db2 Add support for digtron and protector:chest 2020-08-22 19:42:44 +02:00
Joachim Stolberg ac81960f14
Merge pull request #25 from Thomas--S/growlight-flowers
Growlight: Improve flower registration
2020-08-22 19:21:20 +02:00
Thomas--S adf04af6e8 Growlight: Improve flower registration
- Avoid duplicate registrations
- Add support for Bakedclay flowers
2020-08-22 12:07:19 +02:00
Joachim Stolberg 2685054f24 v0.21 with bugfixes and improvements 2020-08-08 12:41:39 +02:00
Joachim Stolberg 157c050d87 ta1 hammer and power_available bugs fixed 2020-08-08 12:31:56 +02:00
Joachim Stolberg 96b227da2d lua manual adapted, bugfix in core function 2020-08-08 12:31:56 +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
Joachim Stolberg af451ef3bd
Merge pull request #23 from Thomas--S/item_description-fixes
Lua Controller: Fix $item_description() documentation and translation
2020-08-08 12:07:40 +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
Thomas--S 61e001dc6d Lua Controller: Fix $item_description() documentation and translation 2020-08-03 19:35:33 +02:00
Joachim Stolberg 240c6e20ab v0.20 with improvements and bugfixes 2020-07-31 12:48:28 +02:00
Joachim Stolberg c6082ef8ce v0.20 with improvements and bugfixes 2020-07-31 12:41:12 +02:00
Joachim Stolberg c1c7af6acc
Merge pull request #22 from Thomas--S/trowel_can_dig
Trowel: Prevent hidden nodes from being dug.
2020-07-31 12:35:13 +02:00
Joachim Stolberg 39d5704bff
Merge pull request #21 from Thomas--S/ta4-chest-itemstring
Lua Controller: Allow to get itemstring and description of 8x2000 chest contents
2020-07-31 12:32:59 +02:00
Thomas--S b35b053966 Trowel: Prevent hidden nodes from being dug.
As suggested by the player "felix7".
2020-07-29 18:38:28 +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
Joachim Stolberg eac2cef4c7
Merge pull request #20 from Thomas--S/lua-controller-fix
Lua Controller: Fix $display and $set_filter not working
2020-07-26 16:39:03 +02:00
Thomas--S 84bacb4dc0 Lua Controller: Fix $display and $set_filter not working 2020-07-26 15:43:44 +02:00
Joachim Stolberg 919522c458 version number added 2020-07-24 18:33:34 +02:00
Joachim Stolberg 01c49cadf1 state command added 2020-07-24 18:20:31 +02:00
Joachim Stolberg 2b6fcb5b9b
Merge pull request #19 from Thomas--S/icta-func
Refactor ICTA to use functions instead of loadstring
2020-07-24 18:17:56 +02:00
Thomas--S 912c8b5db0 Refactor ICTA to use functions instead of loadstring
This also fixes some small bugs.
2020-07-23 13:43:10 +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 848237ea86 v0.18, ICTA controller: quotation mark escape added 2020-07-21 17:34:13 +02:00
Joachim Stolberg 1048627101 bug fixes for redstone and legacy items 2020-07-21 14:17:01 +02:00
Joachim Stolberg 04d2ec85f5
Merge pull request #13 from Thomas--S/monospace
Use Monospace Font for Code-Related Formspecs
2020-07-21 14:13:03 +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
Joachim Stolberg 8e7cf70717
Merge pull request #15 from Thomas--S/blackhole-liquid
Blackhole: Add support for liquids
2020-07-21 14:11:59 +02:00
Joachim Stolberg f29f7f795f
Merge pull request #16 from Thomas--S/icta-valve
ICTA Controller: Add support for valves by adding on/off states
2020-07-21 14:10:59 +02:00
Thomas--S 1ccee06757 ICTA Controller: Add support for valves by adding on/off states 2020-07-18 13:59:41 +02:00