Commit Graph

64 Commits

Author SHA1 Message Date
462fe3bbe3 Merge remote-tracking branch 'upstream/master' 2024-09-15 08:46:38 +02:00
HybridDog
044a91fcd5 Do not crash with tenplus1's hopper mod
There are multiple hopper mods and not all of them support the set_extra_container_info function,
so the mod crashes now if it is used together with an incompatible hopper mod.

To prevent the crash, execute the code for hopper compatibility if hopper and hopper.set_extra_container_info exist and not if a mod named hopper is installed.
2024-08-25 09:48:03 +02:00
HybridDog
71a8a57ff1 Fix luacheck linting
luacheck currently fails because of missing globals and exceeding line length.

To fix this, I add vector and hopper to the globals, add more line breaks in the code and remove outdated comments.
2024-08-17 11:05:08 +02:00
Ajrat Makhmutov
12b8325896 Add hopper mod support 2024-08-17 10:22:35 +02:00
Ajrat Makhmutov
0e4ef74b52 Add russian translation 2024-05-22 20:13:25 +02:00
Jaidyn Ann
8a46cd1054 Tweak Esperanto translation 2024-05-20 11:04:50 +02:00
Jaidyn Ann
afb999dbbd Add Esperanto translation 2023-12-16 12:28:11 +01:00
Jaidyn Ann
5a5f472d61 Add translation support
Edit by HybridDog:
The description of the chest should be specfied in the second argument (the table) passed to `connected_chests.register_chest`.
2023-12-16 12:25:14 +01:00
e13bb490d1 Merge remote-tracking branch 'upstream/master' 2023-11-22 23:27:18 +01:00
HybridDog
01da3bf0b1 Change License 2023-07-15 12:45:37 +02:00
HybridDog
e575714eba Old code removal
Logging the loading time is not needed since Minetest writes it to the info log now.
2023-07-15 12:45:20 +02:00
HybridDog
c12542270b Add .luacheckrc for code linting 2023-07-15 12:44:00 +02:00
HybridDog
35da02ed5f Sound changes: Use a lower pitch for the big chest
I haven't changed the pitch for default_chest_locked since the sound seems to emanate from the lock and is thus unrelated to the chest size.
Additional, hardly-noticeable changes: Enable ephemeral as recommended and reduce the default_chest_close gain.
2023-07-15 12:13:55 +02:00
00eac777d7 Merge remote-tracking branch 'upstream/master' 2021-03-12 12:16:00 +01:00
HybridDog
02f3589c7a Replace the depends.txt with a mod.conf 2021-03-11 13:58:45 +01:00
1ec3601f7f Merge remote-tracking branch 'upstream/master' 2020-10-18 12:24:49 +02:00
HybridDog
f34f3b7724 Localise "node" 2020-10-18 00:00:25 +02:00
53d2009680 Merge branch 'master' into nalc-1.2 2019-05-06 01:11:32 +02:00
HybridDog
baefd45248 Update README 2019-03-08 17:46:58 +01:00
HybridDog
dd0c645899 Use LBM instead of ABM to fix rare half chests 2019-03-08 17:41:20 +01:00
HybridDog
04c7f21624 Fix README 2019-03-08 17:20:44 +01:00
sys4-fr
7f5b39c673 Corrige assignation de variable globale vers locale 2019-02-03 15:07:22 +01:00
HybridDog
6a9f308529 Do not open half of the chest when the other side is obstructed 2018-11-03 20:14:30 +01:00
Jat15
cc90805986 Add Alias for old version connected_chests (#7) 2018-09-02 10:06:43 +02:00
Hybrid Dog
c3695e69ec Add default's open chest model 2018-03-13 17:36:53 +01:00
Hybrid Dog
4a521fd913 Fix simple mistake 2018-02-26 20:31:41 +01:00
Hybrid Dog
631d4d83f8 Chest opening: Fix chest not closing itself 2018-02-26 15:47:15 +01:00
Hybrid Dog
476338593b 0.4.16 compat: Add the chest_lid_obstructed function if default doesn't expose it 2018-02-26 15:43:51 +01:00
Hybrid Dog
e9aa55d4e6 Add the chest lid to connected default chests
The back texture doesn't fit yet
As side effect, fix broken listring functionality
2018-02-17 20:50:50 +01:00
Hybrid Dog
836de75a20 Add comments and fix a bit code style 2018-02-12 10:44:29 +01:00
Hybrid Dog
244e7fbf3a Update for new minetest_game 2017-12-04 14:15:34 +01:00
DS-Minetest
24c17ac7d6 Do not override tube fields in the original chest nodedef 2017-08-30 13:06:30 +02:00
DS
e7718a0aa5 disallow rotating and connect tube at front of both sides (#3) 2017-08-03 16:12:51 +02:00
Hybrid Dog
187cac3c45 Use new setting functions 2017-06-18 12:39:15 +02:00
̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄ ̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄̄
22d824e24f Update README.md 2017-02-22 15:57:07 +01:00
Hybrid Dog
363a206a34 allow an on_rightclick
M  init.lua
2017-01-28 20:17:43 +01:00
Hybrid Dog
a0df5845cd fix adding api
M  init.lua
D  textures/connected_chests_side.png
D  textures/connected_chests_top.png
2017-01-28 20:05:35 +01:00
Hybrid Dog
482de1c06b few code for chest registration
M  init.lua
2017-01-12 17:47:16 +01:00
HybridDog
a158d5db4a update code
M  init.lua
2016-07-07 11:55:29 +02:00
HybridDog
ccac8fe4ca dont use table.copy for copying the original nodedef and update readme 2016-05-15 19:56:10 +02:00
HybridDog
2702cf4ae8 get the player name fewer times 2016-03-28 12:53:12 +02:00
757be92d92 allow admin to look in locked connected chest 2016-03-28 12:51:38 +02:00
HybridDog
f2aa5c1c95 fix pipeworks item inserting support, closes #1 2015-11-18 10:36:23 +01:00
HybridDog
acf8042587 untested: make it possible to pump items into the right side 2015-11-17 08:50:00 +01:00
HybridDog
9a89a361d7 don't use a link for the unused top texture 2015-09-30 17:12:35 +02:00
HybridDog
973aa03180 small change 2015-09-19 09:40:14 +02:00
HybridDog
f14c6888d3 use the listring functionality (https://forum.minetest.net/viewtopic.php?f=18&t=12629) 2015-09-19 09:35:53 +02:00
HybridDog
971b5b3d13 reduce piston push problems 2015-04-18 15:45:11 +02:00
HybridDog
cf0b3a4915 support texture packs 2015-04-18 15:05:26 +02:00
HybridDog
f31f96b4bd fix another screwdriver crash 2015-04-18 11:51:06 +02:00