AFCMS
4bd91750bc
add target with API
2022-02-26 19:12:01 +01:00
Nils Dagsson Moskopp
41550da87b
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-24 15:52:01 +01:00
Elias Fleckenstein
e2360204a7
Revert "fixed daylightsensor's register_abms"
...
This reverts commit 5a4abcbcb7
.
2021-12-12 15:55:52 +01:00
chmodsayshello
5a4abcbcb7
fixed daylightsensor's register_abms
...
By changing the check if a normal/inverted daylightsensor should update by turning on and off, I made them workling again
2021-12-10 13:59:31 +00:00
Elias Fleckenstein
d3015edeb9
Fix reference dupes for droppers and dispensers
2021-11-29 19:12:49 +01:00
NO11
fe91d7f3e0
use mcl_util.replace_mob function to simplify dispenser code
2021-10-05 04:15:48 +00:00
NO11
1a5339e907
Only use the shears once in dispenser if there are more mobs in front of the dispenser
2021-09-08 14:22:53 +00:00
NO11
f41cea71fd
Make it possible to use shears in the dispenser for mobs ( Fix #1233 )
2021-09-06 13:30:08 +00:00
Elias Fleckenstein
fb01e61946
Fix server crash when dispensing an unknown item
...
This works similar to 2aafb2f2d01a6ece9ed4642a7081c53dbf22f773, however it is a cleaner way to do it.
2021-07-08 15:31:27 +02:00
AFCMS
e81da3c4ff
fix some mods using "core" insteed of "minetest"
2021-06-12 00:18:52 +02:00
AFCMS
a896d7f5e4
replace deprecated "current_name" by "context" for inventory location
2021-06-12 00:09:39 +02:00
marcin-serwin
cbe8583cef
Merge branch 'master' into polish-translation
2021-06-02 10:14:25 +00:00
Marcin Serwin
6715aecd63
Add polish translation of mcl_comparators
2021-06-02 12:13:16 +02:00
Marcin Serwin
b06bc276dc
Add polish translation of mesecons_commandblock
2021-06-02 11:34:32 +02:00
Marcin Serwin
06984fa486
Add polish translation of mesecons_pistons
2021-06-02 09:45:16 +02:00
Marcin Serwin
4bd49f7eb0
Add polish translation of mcl_observers
2021-06-02 09:40:08 +02:00
AFCMS
cd33d406b2
fix many codestyle issues (functions, strings, modpaths)
2021-05-29 16:12:33 +02:00
AFCMS
f8ee9c79c2
fix crash :-(
2021-05-27 09:34:58 +02:00
AFCMS
00063cde73
speedup mcl_observer
2021-05-27 09:34:12 +02:00
AFCMS
9e074af07f
unify code style [1]
2021-05-25 12:52:25 +02:00
AFCMS
52b1473657
[mcl_comparators] fix warnings
2021-05-23 11:53:05 +02:00
AFCMS
d43b2149e6
[mcl_dispensers] fix warnings
2021-05-23 11:50:16 +02:00
AFCMS
b814fe47f9
[mcl_observers] fix warnings
2021-05-23 11:47:59 +02:00
AFCMS
962ae359af
[mesecons] fix warnings
2021-05-23 11:41:01 +02:00
AFCMS
ddc157acbf
[mesecons_commandblock] fix warnings
2021-05-23 11:37:51 +02:00
AFCMS
4fd0ea8a88
[mesecons_delayer] fix code style issues
2021-05-23 11:36:30 +02:00
AFCMS
e6f72e0c60
[mesecons_delayer] fix warnings
2021-05-23 11:29:32 +02:00
AFCMS
dc10448c6e
[mesecons_mvps] fix warnings
2021-05-23 11:25:22 +02:00
AFCMS
43f418c6c0
[mesecons_wire] fix warnings
2021-05-23 11:22:45 +02:00
AFCMS
c580c1ccad
[mesecons_pistons] unify code style
2021-05-23 11:17:19 +02:00
AFCMS
e75a2e3a67
[mesecons_pistons] fix warnings
2021-05-23 11:02:13 +02:00
AFCMS
a9c49853aa
[mesecons_pressureplates] fix warnings
2021-05-23 11:01:29 +02:00
Marcin Serwin
e19d39f065
Add polish translation of mesecons_delayer
2021-04-29 17:26:47 +02:00
Marcin Serwin
5b3a156c09
Add polish translation of mesecons_pressureplates
2021-04-29 17:13:54 +02:00
Marcin Serwin
604af04849
Add polish translation of mesecons_noteblock
2021-04-29 17:08:11 +02:00
Marcin Serwin
77597f9bac
Add polish translation of mesecons_torch
2021-04-29 16:53:47 +02:00
Marcin Serwin
65846cb6d8
Add polish translation of mesecons_button
2021-04-29 16:47:41 +02:00
Marcin Serwin
97e50714fe
Add polish translation of mesecons_lightstone
2021-04-29 16:43:08 +02:00
Marcin Serwin
d74e1fd162
Add polish translation of mcl_dispensers
2021-04-29 16:34:26 +02:00
Marcin Serwin
0e52e09cc8
Add polish translation of mesecons_wires
2021-04-29 16:21:08 +02:00
Marcin Serwin
ffd28c259d
Add polish translation of mcl_droppers
2021-04-29 16:11:43 +02:00
AFCMS
ae83e44149
remove duplicated line
2021-04-27 23:50:18 +02:00
Marcin Serwin
eeaf4e09c6
Add polish translation of mesecons_solarpanel
2021-04-25 14:34:15 +02:00
Marcin Serwin
29001086c3
Add polish translation of mesecons_walllever
2021-04-25 14:30:42 +02:00
Elias Fleckenstein
222104b3cb
Integrate dispensers
2021-04-22 13:51:36 +02:00
Elias Fleckenstein
ca74f23094
Merge branch 'master' into damage
2021-04-19 18:58:00 +02:00
Elias Fleckenstein
d8d4cb5def
Revert color changes to GUI.
...
The Minecraft colorset (net.minecraft.util.text.TextFormatting) is only used for chat and tooltips.
This partically reverts 84819bf9f5
.
2021-04-19 14:44:20 +02:00
Elias Fleckenstein
ce0148d9a8
Rewrite armor; new damage system
2021-04-14 15:46:52 +02:00
Elias Fleckenstein
78d387e2df
Rewrite mcl_torches API
2021-04-13 09:59:51 +02:00
kay27
d50fd06c82
Revert "Attemp to fix #1513 " in favour of next commit 3375e903ce
...
This reverts commit f5f6e232cc
.
2021-04-09 19:03:45 +04:00
kay27
3375e903ce
[mesecons] Fix attempt to call upvalue in internal.lua
2021-04-09 18:52:33 +04:00
AFCMS
f5f6e232cc
Attemp to fix #1513
2021-04-09 16:46:41 +02:00
kay27
a733eb8e0c
[mesecons] Localise several things in internal.lua
2021-04-09 02:08:03 +04:00
Nils Dagsson Moskopp
7c8cf6f79f
Do not crash server if world border is depowered
2021-04-09 01:33:22 +04:00
kay27
f0c2eb86a2
Revert (3/3) "Fix extreme mesecons/redstone crashing at world border"
...
This reverts commit 0842a36aa6
.
2021-04-09 01:32:58 +04:00
kay27
26ce10d25c
Revert (2/3) "Add erlehmann fix to redstone world border crash"
...
This reverts commit b9d175e6a5
.
2021-04-09 01:32:27 +04:00
kay27
6b31e85385
Revert (1/3) "Revert fixes to crash world border"
...
This reverts commit 18f73ba31f
.
2021-04-09 01:31:21 +04:00
jordan4ibanez
18f73ba31f
Revert fixes to crash world border
2021-04-08 15:48:53 -04:00
jordan4ibanez
b9d175e6a5
Add erlehmann fix to redstone world border crash
2021-04-08 15:16:38 -04:00
jordan4ibanez
0842a36aa6
Fix extreme mesecons/redstone crashing at world border
2021-04-08 14:28:07 -04:00
iliekprogrammar
52c788f197
Merge branch 'master' into kelp
2021-03-31 13:59:27 +08:00
AFCMS
84819bf9f5
MAKE EVERY SINGLE MOD USE PROPER COLORS!!!
2021-03-30 00:01:29 +02:00
AFCMS
53d7134437
remove unuseful spamming messages
2021-03-26 10:00:48 +01:00
AFCMS
78bad87a72
fix transation
2021-03-26 09:59:58 +01:00
AFCMS
0e5bbd6d3d
fix msg to be mc like
...
https://www.digminecraft.com/game_commands/enable_command_blocks.php
2021-03-26 09:57:28 +01:00
AFCMS
8258dae1b8
setting working
2021-03-25 22:13:37 +01:00
AFCMS
e4a6244fdd
add basic setting
2021-03-25 22:07:38 +01:00
AFCMS
b9301f12ce
Update mod.conf
2021-03-25 21:59:21 +01:00
AFCMS
86a18802dc
use proper colors
2021-03-25 21:57:07 +01:00
iliekprogrammar
23f69dfd1e
Core implementation of MC-like kelp drops.
...
Highlights:
* Kelp should no longer be able to survive without water
(by decreasing its height)
* When kelp is destroyed, each segment now drop a single kelp similar to MC.
* Significantly refactor how kelp grows and dig. Possible optimizations might be
included.
2021-03-21 02:22:25 +08:00
Elias Åström
ed30fa0868
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.
This was done with a shell script :)
2021-03-18 17:37:12 +01:00
Elias Åström
dc41c594aa
Move depends.txt into mod.conf for mcl_comparators
...
Fixes a crash in mcl_comparators caused by attempting to index global
'mesecon' (a nil value).
2021-03-18 13:45:29 +01:00
AFCMS
8f30e223e2
I hate reverting something xD
2021-03-16 17:39:06 +01:00
AFCMS
3635b848d5
add API for mcl_wip
2021-03-07 00:42:34 +01: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
Wuzzy
96b30b918c
Tweak commandblock button position
2020-03-10 05:17:53 +01:00
Wuzzy
1ea2b09ecb
Commandblock: Fix help btn not working if no priv
2020-03-10 05:15:32 +01:00
Wuzzy
03ad3cca29
Major default formspec style update
...
- Uses formspec_prepend to set e.g. button style
- Make all formspecs use the MCL2 style consistently
2020-03-10 05:01:49 +01:00
Wuzzy
cbda2ef326
Add _tt_help to many more items
2020-03-08 03:30:40 +01:00
Wuzzy
ba74546d48
Add extended tooltips
2020-02-19 04:54:17 +01:00
Wuzzy
565806558c
Play armor equip sound when armor got dispensed
2020-02-18 22:33:58 +01:00
Wuzzy
a52976a918
Rename 3d_armor_stand to mcl_armor_stand
2020-02-18 16:10:50 +01:00
Wuzzy
fb251db925
Rename mod: 3d_armor → mcl_armor
2020-02-18 15:44:54 +01:00
wuniversales
15481cb24d
Add Spanish translation
2020-02-04 21:43:50 +01:00
Wuzzy
f2b7392a30
Use "minetest" instead of "core" table
2020-01-06 13:02:30 +01:00
Wuzzy
101c9b7322
Use minetest.LIGHT_MAX
2019-12-14 18:57:17 +01:00
Wuzzy
1a02ccd36f
Add more node groups
2019-12-13 10:20:08 +01:00
Wuzzy
231493cb1b
Merge branch 'screwdriver'
2019-12-11 04:47:53 +01:00
Wuzzy
e09a72ed59
Tweak item appearance of internal items
2019-12-09 22:32:40 +01:00
Wuzzy
47f7b21190
Add missing translation for some redstone nodes
2019-12-09 22:02:35 +01:00
Wuzzy
f04170d66b
Piston heads no longer drop themselves
2019-12-09 21:25:27 +01:00
Wuzzy
ad13c71bf1
Add partial rotation of levers
2019-12-09 18:49:59 +01:00
Wuzzy
33ef45245c
Fix incorrect return value of piston on_rotate
2019-12-09 18:34:40 +01:00
Wuzzy
5fd746710f
Add rotation support for pistons
2019-12-09 16:08:24 +01:00
Wuzzy
c9b642a706
Remove unused file in mcl_dispensers
2019-10-16 08:35:15 +02:00
Wuzzy
7b24ede582
Remove a couple of FIXMEs and legacy
2019-10-16 08:33:22 +02:00
Wuzzy
5b6cb0a441
Minor tweaks in commandblock help texts
2019-03-25 12:34:12 +01:00
Wuzzy
418368fbc5
Squash daylight sensor help pages to 1 page
2019-03-25 12:15:37 +01:00
Wuzzy
967905264d
Make many help texts translatable and fix bugs
2019-03-25 12:05:57 +01:00
Wuzzy
c5db9987c3
Fix various typos in German translation
2019-03-25 11:01:52 +01:00
Wuzzy
1719c3e4e1
Add LBMs to update formspecs of 4 nodes
...
Dispenser, dropper, ender chest, shulker box.
2019-03-21 16:08:29 +01:00
Wuzzy
b44f4f456d
Add sound pitch for other noteblock sounds
2019-03-18 17:54:14 +01:00
Wuzzy
95d2465901
Noteblock: Higher kick sound
2019-03-18 17:40:45 +01:00
Wuzzy
9cef74c03b
Replace GUI image texts with translatable labels
2019-03-16 05:21:27 +01:00
Wuzzy
522a2b9a73
Fix uneditable command block when empty
2019-03-16 03:19:54 +01:00
Wuzzy
8cfcbea9cb
Fix commandblock crash if opening empty one
2019-03-16 03:09:51 +01:00