Commit Graph

978 Commits

Author SHA1 Message Date
kno10
a8cc6ae097 template specialization for param2 2024-12-31 17:49:50 +01:00
kno10
226c5fdc40 Split biomes into separate files. 2024-12-31 17:49:50 +01:00
kno10
b3b87fe2d3 igloo less slope, more snow, more rare 2024-12-31 17:49:50 +01:00
kno10
a8f0b32031 height difference for villages 2024-12-31 17:49:50 +01:00
kno10
f925f987ff better paths, better village layouts 2024-12-31 17:49:50 +01:00
kno10
136a0afea7 improve shipwrecks
reduce frequency, trim schematics, disable foundations again
2024-12-31 17:49:50 +01:00
kno10
6a832fffde more structures, more to discover. 2024-12-31 17:49:49 +01:00
kno10
a95249dca8 hollow fallen trees 2024-12-31 17:49:49 +01:00
kno10
e38f224005 add command /emerge 512 to emerge an area 2024-12-31 17:49:49 +01:00
kno10
14284958ad improvements to mineshaft cart variety + /locate 2024-12-31 17:49:49 +01:00
kno10
cfa504ee0e use swap_node instead of set_node in mapgen, tweaks to end 2024-12-31 17:49:48 +01:00
kno10
f4dffffc33 eliminate the static_pos kludge except for strongholds for now 2024-12-31 17:48:20 +01:00
kno10
6c583a2e7e cleanups and fixes 2024-12-31 17:48:20 +01:00
kno10
732508ee81 clean up villages code, add biome farming support 2024-12-31 17:48:20 +01:00
kno10
3b500a9347 More fixes, make shulkers spawn on the floor. 2024-12-31 17:48:20 +01:00
kno10
d653e207b9 fix, and add small end city from MCLA 2024-12-31 17:48:20 +01:00
kno10
cad2574906 disable foliage 'fixes' that cause multi-colored trees 2024-12-31 17:48:20 +01:00
kno10
0a3e8c77a9 code restructuring and cleanups 2024-12-31 17:48:18 +01:00
kno10
b3aeb2ebb0 Huge update of new terraforming, structures, and village code 2024-12-31 17:48:02 +01:00
kno10
ab331ed637 Big rewrite of structure spawning using voxel manipulators 2024-12-31 17:48:02 +01:00
kno10
97cb74c26e fix bamboo biomes, add new schematic 2024-12-31 17:48:02 +01:00
kno10
1c40b71e2b allow generating towns on mapblocks emerged with previous versions that did not become full settlements yet 2024-12-31 17:48:02 +01:00
kno10
3b41e2d2cc fixes and parameter tuning 2024-12-31 17:48:02 +01:00
kno10
8a9962fb58 more voxelmanipulator, more MCLA 2024-12-31 17:48:01 +01:00
kno10
bc59d14d35 finetuning 2024-12-31 17:48:01 +01:00
kno10
8355b1f0fe add MCLA schematics 2024-12-31 17:48:01 +01:00
kno10
faa81deaf7 Big villages overhaul 2024-12-31 17:48:01 +01:00
kno10
a4ef5e3863 move structures code from mcl_mapgen_core to mcl_structures 2024-12-31 17:48:01 +01:00
kno10
436a3e7ee7 prioritize map decorations to make the generations more deterministic 2024-12-31 17:48:01 +01:00
kno10
e7c093a177 Make structure generation more deterministic
Pseudorandom now depends on position hash, not on blockseed + structure table order.
This should make structure generation more deterministic.
2024-12-31 17:48:01 +01:00
teknomunk
0dbf3fcd62 Fix crash in rail corridor generation, fix missing globals warnings, fix floating rail in rail corridors 2024-12-31 02:36:18 +01:00
teknomunk
e28b55c16a Replace linear cart fill with mcl_loot.fill_inventory() using a fake inventory, remove debug print 2024-12-31 02:36:18 +01:00
teknomunk
bf3e9190b3 Fix syntax error from rebase, fix cart tilt, change cart speed to 4 blocks/second and make into a setting, make minecart settings compatibily with upcoming dynamic rules PR (#4662) 2024-12-31 02:36:18 +01:00
teknomunk
356328ce4b Revert changed made to debug minecart-updates integration into tsm_railcorridors 2024-12-31 02:36:18 +01:00
teknomunk
d93cf5d4f5 Update mineshafts for new rail and minecarts, add loot to generated chest and hopper minecarts (and remove notes about a hack) 2024-12-31 02:36:18 +01:00
kno10
306f10b3b8 Update translations to follow string changes 2024-12-16 01:16:32 +01:00
kno10
62ac7fd4b9 fix some typos 2024-12-16 01:16:32 +01:00
kno10
3ecda2e70d auto-update translation files 2024-12-16 01:16:32 +01:00
kno10
f9d331e0de Update German translations 2024-12-16 01:16:32 +01:00
ethan
4db34098d9 Contributed simplified Chinese translations 2024-12-16 01:16:32 +01:00
Bloodaxe
7856f97f8e Added all my localization files for Norwegian Bokmål 2024-12-16 01:16:32 +01:00
kno10
28e028aa65 add missing 'local' (#4733)
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4733
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-12-06 22:20:14 +01:00
kno10
a55293d893 Some optimizations for mapgen (#4566)
Some savings due to, e.g., `area:iter`, and some unnecessary code removal / code simplifications

Some additional logging for getting more precise timings.

Not very spectacular, but also not invasive. The slow parts seem to be data transfer to/from the voxelmanip, lighting/water updates and the ore generation in nether, so not much in lua code.

Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4566
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-12-04 19:52:44 +01:00
teknomunk
b582afeb1f Update documentation for Minetest rename to Luanti (#4706)
This updates the VoxeLibre documentation by replacing "Minetest" with "Luanti" and updating links.

Done:
* Update "Minetest" in documentation and comments to "Luanti"
* Update links to forums, ContentDB and Luanti project web page

Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4706
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-11-28 20:55:48 +01:00
kno10
f6f5481f30 Attempt to fix chest minecarts, at least for 5.9 (#4684)
Not using the `RecheckCartHack` on >5.9 seems to help with #4670 - not tested on older minetest; chest minecarts might still be empty there when the block is unloaded in the meantime. For <5.9, maybe it helps to decrease the time interval, 3 seconds seems to fairly long.

This also makes the minecarts random: 40% minecart, 40% chest minecart, 20% tnt minecart.

Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4684
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: kno10 <erich.schubert@gmail.com>
Co-committed-by: kno10 <erich.schubert@gmail.com>
2024-11-10 11:41:19 +01:00
kno10
f219e5f4ae Fix structure spawns under water + peaceful spawns (#4607)
- peaceful structure spawns would not run in peaceful mode (e.g., parrots)
- water structure spawns (e.g., guardians) would not run because the code required air above
- small code improvements

Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4607
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: kno10 <erich.schubert@gmail.com>
Co-committed-by: kno10 <erich.schubert@gmail.com>
2024-09-15 23:15:30 +02:00
kno10
72c7489976 use vector.new in mcl_dungeons (#4567)
No functional changes, just more vector API, which supposedly is faster?

Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4567
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: kno10 <erich.schubert@gmail.com>
Co-committed-by: kno10 <erich.schubert@gmail.com>
2024-09-09 20:08:30 +02:00
kno10
71881154e9 use vector.in_area instead of own code in mapgen (#4562)
`between` and `in_cube` duplicate functionality already in minetest `vector`.

Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4562
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: kno10 <erich.schubert@gmail.com>
Co-committed-by: kno10 <erich.schubert@gmail.com>
2024-09-09 20:05:59 +02:00
kno10
dd4898b319 Fix surface pools with deep holes (#4571)
Sometimes, pools would spawn deep underground and then produce deep holes.
I noticed that such pools would be at +48, at the block boundary.
IMHO this may be an error in minetest surface detection.

Nevertheless, here is a workaround: require air above pool spawns.

Also clean up the pool code

Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4571
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-09 13:25:30 +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: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/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