Commit graph

370 commits

Author SHA1 Message Date
cora
2617de9125 limit redstone distance by checking for players
This should probably be implemented by having redstone signals
lose strength like in mc. This just prevents redstone action
further than 40 nodes from each player.
2022-03-11 20:49:26 +01:00
Nils Dagsson Moskopp
be915478af
Fix redstone comparator flooding crash
Redstone comparators have two modes, comparison mode & subtraction mode.
Before this patch, the functions to turn comparators on or off attempted
to swap nodes with comparators in the same mode, but failed to determine
the correct replacement node, if the existing node was not a comparator.

When a comparator in an on state (e.g. powered by a filled cauldron) was
flooded, the flooding dropped the comparator and replaced the comparator
node that was to be swapped out with air, which lead to a server crash.

This patch changes the functions that turn comparators on or off so they
only swap existing nodes with comparators in the same mode if the name
of the replacement node can be determined – i.e. if it is not nil.
2022-02-23 00:27:56 +01:00
Nils Dagsson Moskopp
2aafb2f2d0
Fix server crash when dispensing an unknown item 2021-06-19 02:04:59 +02:00
Nils Dagsson Moskopp
27828b6317 Do not crash server if world border is depowered 2021-05-28 19:23:36 +02:00
Elias Åström
5d3514880a Move data from deprecated files to mod.conf
Move data from deprecated files (depends.txt and description.txt) into
fields in mod.conf for all mods.
2021-05-16 13:44:04 +02:00
Elias Fleckenstein
aeb7078c05 Update use_texture_alpha to the minetest 5.4 conventions 2021-02-18 14:00:17 +01:00
Laurent Rocher
303d286603 Update French translation 2021-02-13 00:09:59 +01:00
kay27
5b44eeb611 Teach observer to detect TNT in realtime mode, fix crash in mcl_spawn on restart server in less than 30s in new world 2021-01-17 02:48:36 +04:00
Elias Fleckenstein
0cfb60a826 Fix #941 2021-01-03 19:20:23 +01:00
kay27
d42ee00290 Fix piston owner metadata storage 2021-01-02 02:54:41 +04:00
kay27
5385a3f202 Fix piston protection check 2020-12-27 17:11:22 +04:00
Wuzzy
8e65876fdf Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 into master 2020-12-08 01:45:38 +01:00
kay27
a7c4d4ebd9 Fix obserber watch z coordinate in realtime mode 2020-12-08 00:57:15 +04:00
Wuzzy
ac782bac90 Remove unused mesecons_lever.ogg 2020-12-07 05:10:13 +01:00
Wuzzy
8dae3e3460 New button and lever sounds 2020-12-07 04:59:10 +01:00
Wuzzy
356977531e Remove all traces of all_pull_sticky 2020-12-03 14:21:25 +01:00
Wuzzy
51fea93905 Fix all_pull_sticky for real 2020-12-03 13:16:12 +01:00
Wuzzy
7e8c3aebd5 mesecons_mvps: Fix missing all_pull_sticky arg 2020-12-03 12:52:02 +01:00
Laurent Rocher
9010cf514d Fix some template.txt files (missing final = of some entries) 2020-11-18 23:05:07 +01:00
kay27
2b1d21a5b5 Merge branch 'kay27_mechanics' as a squash 2020-11-14 01:59:03 +04:00
kay27
f0afebea38 Remove double vector addition for piston pull/push - fix on_placenode() coordinates 2020-10-09 02:09:00 +04:00
kay27
d1807b5844 Remove double on_placenode() for push/pull, see https://git.minetest.land/Wuzzy/MineClone2/src/branch/master/mods/ITEMS/REDSTONE/mesecons_mvps/init.lua#L371 2020-10-08 21:51:07 +04:00
kay27
a78c613322 Fix slimeblock/piston behavior, https://github.com/kay27/MineClone2/issues/4 2020-10-07 23:28:21 +04:00
Wuzzy
731f42ac88 Rename and move texture: tnt_smoke 2020-08-19 18:47:58 +02:00
Wuzzy
7f1e90ada9 Move note particle to mcl_particles 2020-08-19 13:29:13 +02:00
Wuzzy
80e54bf44d Noteblock spawns note particle 2020-08-19 12:20:12 +02:00
kay27
d76b1a9065 Russian translation: commandblock: advanced topics/usage 2020-07-24 19:10:58 +02:00
Wuzzy
a430772c16 Fix incorrect string in mesecons_commandblock 2020-07-23 22:43:16 +02:00
Wuzzy
7c93f3f9f7 Remove trailing spaces in Russian translation 2020-07-23 22:35:09 +02:00
kay27
ba51686e6c Russian translation 2020-07-20 00:11:13 +00:00
Wuzzy
c106a62979 Use minetest.is_creative_enabled 2020-07-10 16:45:40 +02:00
Wuzzy
28710bb819 Add label to observer ABM 2020-06-04 16:04:46 +02:00
MysticTempest
a20637f68c Fix redstone dust climbing up doors, and fix redstone dust not turning off when redstone torch is destroyed through the destruction of an attached block 2020-05-13 21:11:17 +02:00
Wuzzy
c156398fb5 Merge branch 'translate-fr' of https://git.minetest.land/lrocher/MineClone2 into translate_fr 2020-05-09 18:57:40 +02:00
Rocher Laurent
c9a37d0dbc Translate In French 2020-05-05 21:02:21 +02:00
Rocher Laurent
4957bd1118 Translate In French 2020-05-03 22:39:07 +02:00
Wuzzy
3087621b11 Merge branch 'mcl_explosions' 2020-04-30 20:55:10 +02:00
Elias Åström
6315490b14 Update the rest of the blast resistance values
The values have been updated according to this list:

https://minecraft.gamepedia.com/Module:Blast_resistance_values
2020-04-19 13:08:36 +02:00
Wuzzy
e268370452 Add fire metadata to many nodes (unused for now) 2020-04-18 23:24:42 +02:00
Wuzzy
a2785041dd Remove mod startup debug messages 2020-04-11 02:56:46 +02:00
Wuzzy
c5e4ec5e27 Use ephemeral sounds 2020-04-07 00:55:45 +02:00
Wuzzy
e9f259881f Add LBMs to update to new node formspecs of 0.60.0 2020-03-29 14:35:01 +02:00
Wuzzy
ed63374480 Add missing slot images for dispenser+dropper 2020-03-29 14:15:00 +02:00
Wuzzy
a98dafb171 Nodeblock: Change snare sound 2020-03-28 07:54:14 +01:00
Wuzzy
baa02e19e1 Add many new sounds for noteblock 2020-03-28 07:20:16 +01:00
Wuzzy
7243a25fe6 Generate item slot images on the fly 2020-03-24 18:48:14 +01:00
wuniversales
3772dd51cc Update Spanish translation 2020-03-15 08:32:00 +01:00
Wuzzy
feba60cad8 Translate all extended tooltips to German 2020-03-12 01:35:11 +01:00
Wuzzy
9ef313d0a1 Fix bas variable name in commandblock mod 2020-03-11 00:54:06 +01:00
Wuzzy
070e928bf0 Merge branch 'tt' 2020-03-10 18:21:32 +01:00