Commit Graph

44 Commits

Author SHA1 Message Date
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
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
12b8325896 Add hopper mod support 2024-08-17 10:22:35 +02:00
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
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
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
f34f3b7724 Localise "node" 2020-10-18 00:00:25 +02:00
dd0c645899 Use LBM instead of ABM to fix rare half chests 2019-03-08 17:41:20 +01:00
6a9f308529 Do not open half of the chest when the other side is obstructed 2018-11-03 20:14:30 +01:00
cc90805986 Add Alias for old version connected_chests (#7) 2018-09-02 10:06:43 +02:00
c3695e69ec Add default's open chest model 2018-03-13 17:36:53 +01:00
4a521fd913 Fix simple mistake 2018-02-26 20:31:41 +01:00
631d4d83f8 Chest opening: Fix chest not closing itself 2018-02-26 15:47:15 +01:00
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
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
836de75a20 Add comments and fix a bit code style 2018-02-12 10:44:29 +01:00
244e7fbf3a Update for new minetest_game 2017-12-04 14:15:34 +01:00
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
187cac3c45 Use new setting functions 2017-06-18 12:39:15 +02:00
363a206a34 allow an on_rightclick
M  init.lua
2017-01-28 20:17:43 +01:00
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
482de1c06b few code for chest registration
M  init.lua
2017-01-12 17:47:16 +01:00
a158d5db4a update code
M  init.lua
2016-07-07 11:55:29 +02:00
ccac8fe4ca dont use table.copy for copying the original nodedef and update readme 2016-05-15 19:56:10 +02:00
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
f2aa5c1c95 fix pipeworks item inserting support, closes #1 2015-11-18 10:36:23 +01:00
acf8042587 untested: make it possible to pump items into the right side 2015-11-17 08:50:00 +01:00
973aa03180 small change 2015-09-19 09:40:14 +02:00
f14c6888d3 use the listring functionality (https://forum.minetest.net/viewtopic.php?f=18&t=12629) 2015-09-19 09:35:53 +02:00
971b5b3d13 reduce piston push problems 2015-04-18 15:45:11 +02:00
cf0b3a4915 support texture packs 2015-04-18 15:05:26 +02:00
f31f96b4bd fix another screwdriver crash 2015-04-18 11:51:06 +02:00
fd807b2d91 add pipeworks support 2015-04-18 11:39:01 +02:00
7efa31c726 fix screwdriver rotated big chest crash 2015-04-18 10:57:44 +02:00
36a49cc3be automatic update 2015-04-16 20:42:17 +02:00
2e0548ebc5 automatic update 2015-03-21 20:19:32 +01:00
533ef781b1 disallow removing nodes by digging the left part of big chests 2014-06-04 19:02:59 +02:00
afc271823c use abms to disallow half chests 2014-06-04 18:37:17 +02:00
c07226694d use more stuff from default 2014-06-03 20:47:29 +02:00
0162d972a7 update big locked chest 2014-06-03 20:38:52 +02:00
4a46667e28 start adding a big locked chest 2014-06-02 21:04:06 +02:00
6f181d1936 init 2014-06-02 20:38:58 +02:00