Commit Graph

12479 Commits

Author SHA1 Message Date
kno10 ebee85db7e Fix incorrect usages of math.random (#4621)
random() does not support float arguments

Reviewed-on: VoxeLibre/VoxeLibre#4621
Reviewed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-authored-by: kno10 <erich.schubert@gmail.com>
Co-committed-by: kno10 <erich.schubert@gmail.com>
2024-09-07 14:58:12 +02:00
kno10 593a095a5f Fix "generateImagePart" warning (#4624)
Placing the texture at -16 with width 16 means it is not used. At most -14 may be used (0 indexed, I believe) if you want to retain 2x2 pixels.

Reviewed-on: VoxeLibre/VoxeLibre#4624
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: kno10 <kno10@noreply.git.minetest.land>
Co-committed-by: kno10 <kno10@noreply.git.minetest.land>
2024-09-05 09:31:03 +02:00
teknomunk e9bf509c85 Add crash guards against unknown items (#4623)
This adds defensive checks to guard against crashing when digging with an unknown item in hand.

Reviewed-on: VoxeLibre/VoxeLibre#4623
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: teknomunk <teknomunk@protonmail.com>
Co-committed-by: teknomunk <teknomunk@protonmail.com>
2024-08-31 23:41:06 +02:00
kno10 444c491e14 Remove mcl_structures:structblocks (#4619)
As spawning happens via gennotify anyway, we can omit placing a
structblock right away.

This also avoids certain cases of holes in snow cover or water.
Plus, the code is simpler.

Isolated from the big mapgen overhaul, for the main branch.

Reviewed-on: VoxeLibre/VoxeLibre#4619
Reviewed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-authored-by: kno10 <erich.schubert@gmail.com>
Co-committed-by: kno10 <erich.schubert@gmail.com>
2024-08-31 21:01:44 +02:00
the-real-herowl 05bfe5513f Merge pull request 'Convert stairs to nodebox and use world-aligned tiling (fixes #4578)' (#4588) from nodebox_stairs into master
Reviewed-on: VoxeLibre/VoxeLibre#4588
Reviewed-by: kno10 <kno10@noreply.git.minetest.land>
2024-08-31 19:54:02 +02:00
codiac 562a9d6d98 Convert stairs to nodebox 2024-08-31 19:52:41 +02:00
cora 0e4b8d9c27 Fix some cornerstairs missing textures 2024-08-31 19:52:41 +02:00
the-real-herowl 93165a042b Merge pull request 'Fix Honeycomb Right-click' (#4614) from fix-honeycomb into master
Reviewed-on: VoxeLibre/VoxeLibre#4614
Reviewed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
2024-08-31 19:43:41 +02:00
teknomunk 3e85736404 Change honeycomb to use same right-click logic recently added to buckets and bottles 2024-08-31 19:37:14 +02:00
teknomunk f10827d0d6 Rework code 2024-08-31 19:37:14 +02:00
teknomunk f9cd2500c0 Don't crash trying to right click unknown nodes while holding honeycomb 2024-08-31 19:37:14 +02:00
teknomunk 64c04a2f0a Fix #4613 2024-08-31 19:37:14 +02:00
kno10 ecfa42d51d Update railcorridors, enable chest minecarts (#4620)
Minecart chests seem to work by now.

Reviewed-on: VoxeLibre/VoxeLibre#4620
Reviewed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-authored-by: kno10 <erich.schubert@gmail.com>
Co-committed-by: kno10 <erich.schubert@gmail.com>
2024-08-31 19:36:18 +02:00
kno10 2dadfda76b Drop old (and disabled by default) fallen logs. (#4618)
There are better ones enabled in mods/MAPGEN/mcl_terrain_features/init.lua

Reviewed-on: VoxeLibre/VoxeLibre#4618
Reviewed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-authored-by: kno10 <erich.schubert@gmail.com>
Co-committed-by: kno10 <erich.schubert@gmail.com>
2024-08-31 19:35:16 +02:00
the-real-herowl d888e832ae Merge pull request 'Update German Translations' (#4529) from teknomunk/MineClone2:update-german-translations into master
Reviewed-on: VoxeLibre/VoxeLibre#4529
Reviewed-by: kno10 <kno10@noreply.git.minetest.land>
2024-08-31 19:25:58 +02:00
teknomunk 8e37f34b93 Fix swapped translations 2024-08-31 09:57:45 -05:00
teknomunk 88be86ab4b Remove stray merge conflict marking, add two additional empty translations to match template.txt 2024-08-31 16:39:43 +02:00
teknomunk 316d5bf197 Address review comments on translations/grammar 2024-08-31 16:39:43 +02:00
teknomunk bc00b8d11b Finish restoring inadvertently removed translations 2024-08-31 16:39:43 +02:00
teknomunk 0743112317 Remove extra line at end of file 2024-08-31 16:39:43 +02:00
teknomunk 0a83c73fe0 Restore inadvertantly removed translations 2024-08-31 16:39:43 +02:00
teknomunk 8a3ef9d4c8 Last three German translations for #4529 2024-08-31 16:39:43 +02:00
teknomunk 757d6761b2 Add German translations for mcl_crimson, update template.txt 2024-08-31 16:39:43 +02:00
teknomunk 15003b1c55 Fix orange->orange(r/s) where needed, synchronize mods/ITEMS/mcl_colorblocks/locale/mcl_colorblocks.de.tr with template.txt 2024-08-31 16:39:43 +02:00
teknomunk 485bce3df6 Add German translations of for part of the item descriptions 2024-08-31 16:39:43 +02:00
teknomunk 66a3fcb33c Add corrections to existing German translations 2024-08-31 16:39:43 +02:00
teknomunk 38585154cd Make German translation of mcl_stairs match template.txt 2024-08-31 16:39:43 +02:00
teknomunk 161655e87c Add German translation for mcl_target 2024-08-31 16:39:43 +02:00
teknomunk b072557a6a Add German translation for Suspicious Stew 2024-08-31 16:39:43 +02:00
teknomunk 157d72b593 Add German translation for mcl_spyglass 2024-08-31 16:39:43 +02:00
teknomunk 76b28a4fc5 Add German translations to mesecons_button 2024-08-31 16:39:43 +02:00
teknomunk 92d823deaf Add German translations for Netherite Scrap/Ingot 2024-08-31 16:39:43 +02:00
teknomunk c65bd27ad8 Add German translation for mcl_lightning_rods 2024-08-31 16:39:43 +02:00
teknomunk 398eb35858 Add German translations for mcl_honey 2024-08-31 16:39:43 +02:00
teknomunk 763902a877 Add German translation for mcl_grindstone 2024-08-31 16:39:43 +02:00
teknomunk 140d9014a0 Add new German translations to mesecons_pressureplates 2024-08-31 16:39:43 +02:00
teknomunk 043dc4487c Add more German translations to mcl_raw_ores 2024-08-31 16:39:43 +02:00
teknomunk cf6ee14e13 Add more German translations to vl_hollow_logs 2024-08-31 16:39:43 +02:00
teknomunk be69fdef8d Add new german translations for mcl_copper 2024-08-31 16:39:43 +02:00
teknomunk 6935bc2a18 Make mcl_copper.de.tr match template.txt 2024-08-31 16:39:43 +02:00
teknomunk 37d6ba392c Add more german translations for bamboo nodes 2024-08-31 16:39:43 +02:00
teknomunk 07bebe6c46 Add the new german translations for crimson/warped 2024-08-31 16:39:43 +02:00
teknomunk 63036c8d41 Update german translation for crimson/warped nodes 2024-08-31 16:39:43 +02:00
teknomunk 45b8d36f73 Add german translations for cherry tree blocks 2024-08-31 16:39:43 +02:00
teknomunk a44d8f43db Add missing trim in translation list 2024-08-31 16:39:43 +02:00
teknomunk 55b5dee827 Convert spaces to tabs 2024-08-31 16:39:43 +02:00
teknomunk adf64e81cd Allow translating trim names, add some German translations of trims 2024-08-31 16:39:43 +02:00
teknomunk 2b44abbceb More translations 2024-08-31 16:39:43 +02:00
teknomunk e9632b5317 Start adding next round of German translations 2024-08-31 16:39:43 +02:00
teknomunk df42751ae6 Add last of this latest round of new German translations provided by Laudrin 2024-08-31 16:39:43 +02:00