Commit Graph

25 Commits

Author SHA1 Message Date
ROllerozxa
76a97d1af7 Convert old inttlib to modern translation system 2022-12-26 21:48:41 +01:00
Niklp
3b4cc9c6c7
techage support for controller (#74) 2022-11-20 13:20:00 +01:00
Linus Jahn
53820e2091
Revert "Allow controller to store item even when current drawers are full (#69)" (#73)
This reverts commit 3e6ba27d49dec0bf76b7d59e8e82f756e97a1e28.

Fixes #72 caused by #69.
2022-10-15 13:24:19 +02:00
Tim Myers
3e6ba27d49
Allow controller to store item even when current drawers are full (#69) 2022-10-11 11:39:13 +02:00
OgelGames
508a8c38a5
Fix controller can_insert function returning number instead of boolean (#68) 2022-01-31 14:08:44 +01:00
SX
3a65bcfbbb Fix drawer controller formspec protection 2021-06-14 22:57:40 +02:00
Gabriel Pérez-Cerezo
b424bc3499 Fix #57 by using core.hash_node_position for reliable indexing
The previously used minetest.serialize function may provide different
results for the same table in certain circumstances, thus it is not
suitable for generating strings to index tables with.
2021-03-27 18:37:34 +01:00
SwissalpS
361719180b whitespace: readability improvements 2020-12-02 12:17:34 +01:00
Buckaroo Banzai
6603f27279
controller: Add nil check in for digiline pipeworks injection (#49)
Co-authored-by: BuckarooBanzay <BuckarooBanzay@users.noreply.github.com>
2020-06-25 12:11:20 +02:00
Linus Jahn
b97e905bc2
controller: Try to fix bugs with corrupted drawer index 2020-06-10 19:24:39 +02:00
Linus Jahn
62b5fa51ae
Large drawer controller refactoring 2020-06-09 20:06:16 +02:00
Linus Jahn
905af2ac1c
Fix luacheck errors 2020-06-06 11:59:16 +02:00
Linus Jahn
87bc535cc1
controller: Refactor index cache 2020-06-06 11:33:30 +02:00
Linus Jahn
ea209e51fa
controller: Make digiline channel configurable 2020-06-06 00:44:57 +02:00
Linus Jahn
439eb81ccd
Add digiline support 2020-06-04 23:18:36 +02:00
BuckarooBanzay
dccb164133 fix common luacheck errors 2020-02-17 12:55:07 +01:00
Thomas Rudin
0fc267da84
controller: Kick off sorting after pipeworks inserted an item (#40)
Controllers in unloaded/inactive areas would become jammed otherwise

Co-authored-by: BuckarooBanzay <39065740+BuckarooBanzay@users.noreply.github.com>
2020-02-14 17:40:49 +01:00
Linus Jahn
654959ac55
Change default value of drawer controller interval to 1.0 2019-05-18 23:10:53 +02:00
Linus Jahn
885f8daf7b
Rewrite drawer controller scanning
This fixes the issue that some drawers have not been found by the
controller.
2019-05-18 23:02:00 +02:00
isaiah658
df9bc95774 Fix MCL2 node groups for controller (#34)
Fixes the drawer controller being unbreakable in MCL2 due to MCL2 using different and extra groups to manage breaking nodes.
2019-05-05 20:03:25 +02:00
isaiah658
5f35fa308f Fix controller gui
Added the same changes that were made to the drawer formspec to the controller formspec to not rely on default.
2019-05-05 15:07:28 +02:00
gpcf
08a52054a6 Fix crash when drawers_controller_interval is undefined (#21) 2018-09-21 23:39:41 +02:00
Linus Jahn
8702b6ac92
Make drawer controller update interval configurable 2018-09-10 21:23:29 +02:00
isaiah658
e8ee40a141 Add drawer controller translations (#20)
Added "Drawer Controller", "Current State: ", "Running", "Jammed", and "Stopped" to the
translation files to be translated.

While testing out the drawer controller translations, I noticed that in certain cases the entity
infotext wasn't being translated. This fixes that.
2018-06-18 18:40:19 +02:00
isaiah658
60518668d5 Add drawer controller (#19)
Drawer controllers can sort items into drawer in a certain range. As normal drawers they have support
for pipeworks and MineClone 2. Crafting ingredients are one drawer, two diamonds, four steel/iron
ingots and a copper and tin ingot or two gold ingots.
2018-06-16 09:03:48 +02:00