Commit graph

12581 commits

Author SHA1 Message Date
kno10
38c333981f polishing 2024-10-29 19:28:43 +01:00
kno10
3799f61626 use mcl_util function 2024-10-29 19:28:43 +01:00
kno10
54d1c4f774 template specialization for param2 2024-10-29 19:28:43 +01:00
kno10
c2a1833aeb Split biomes into separate files. 2024-10-29 19:28:43 +01:00
kno10
b2f7c04c85 igloo less slope, more snow, more rare 2024-10-29 19:28:43 +01:00
kno10
30eab42f45 height difference for villages 2024-10-29 19:28:43 +01:00
kno10
182bb9c0d6 better paths, better village layouts 2024-10-29 19:28:43 +01:00
kno10
34a8ebf023 add color tools for minetestmapper 2024-10-29 19:28:43 +01:00
kno10
62bb73539b improve shipwrecks
reduce frequency, trim schematics, disable foundations again
2024-10-29 19:28:43 +01:00
kno10
c6598e1b09 more structures, more to discover. 2024-10-29 19:28:43 +01:00
kno10
ba90d8cb31 hollow fallen trees 2024-10-29 19:28:43 +01:00
kno10
ea2d04609c add command /emerge 512 to emerge an area 2024-10-29 19:28:43 +01:00
kno10
3436e6a545 improvments to mineshaft cart variety + /locate 2024-10-29 19:28:43 +01:00
kno10
9ba0337a36 use swap_node instead of set_node in mapgen, tweaks to end 2024-10-29 19:28:43 +01:00
kno10
faf2408681 eliminate the static_pos kludge except for strongholds for now 2024-10-29 19:28:43 +01:00
kno10
badf041d8c cleanups and fixes 2024-10-29 19:28:43 +01:00
kno10
eaaa2a4dd2 clean up villages code, add biome farming support 2024-10-29 19:28:43 +01:00
kno10
92cffe42b4 More fixes, make shulkers spawn on the floor. 2024-10-29 19:28:43 +01:00
kno10
e2a0afe451 fix, and add small end city from MCLA 2024-10-29 19:28:43 +01:00
kno10
4430d1299e further fixes and improvements. 2024-10-29 19:28:43 +01:00
kno10
99e3aeea4e disable foliage 'fixes' that cause multi-colored trees 2024-10-29 19:28:43 +01:00
kno10
0a8bf42b03 code restructuring and cleanups 2024-10-29 19:28:42 +01:00
kno10
49a90a0dc4 Huge update of new terraforming, structures, and village code 2024-10-29 19:28:42 +01:00
kno10
acb5aef76b Big rewrite of structure spawning using voxel manipulators 2024-10-29 19:28:42 +01:00
kno10
0e98c651f4 fix bamboo biomes, add new schematic 2024-10-29 19:28:42 +01:00
kno10
cfa2780554 allow generating towns on mapblocks emerged with previous versions that did not become full settlements yet 2024-10-29 19:28:42 +01:00
kno10
7eb970e21c fixes and parameter tuning 2024-10-29 19:28:42 +01:00
kno10
347b8b954f more voxelmanipulator, more MCLA 2024-10-29 19:28:42 +01:00
kno10
f9b07adbc2 finetuning 2024-10-29 19:28:42 +01:00
kno10
08b14ecb13 add MCLA schematics 2024-10-29 19:28:42 +01:00
kno10
c1125c7a48 Big villages overhaul 2024-10-29 19:28:42 +01:00
kno10
27802fe2df move structures code from mcl_mapgen_core to mcl_structures 2024-10-29 19:28:42 +01:00
kno10
2a4fe39d5c prioritize map decorations to make the generations more deterministic 2024-10-29 19:28:42 +01:00
kno10
9a305b56a8 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-10-29 19:28:42 +01:00
kno10
5fe4822f30 Some optimizations for mapgen 2024-10-29 19:28:42 +01:00
kno10
1d00b4cd7d Bigger cleanup of mcl_core/functions 2024-10-27 17:11:13 +01:00
Mikita Wiśniewski
41b188caea Remove "double drop" mechanics for bamboo (fixes #4514) (#4642)
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4642
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-committed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
2024-10-27 14:16:06 +01:00
kno10
ae7995d195 Fix axolotl attacking water mobs (#4675)
Also avoid jumping out of the water closes #4644

Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4675
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-10-27 14:10:11 +01:00
kno10
e293cbe631 Better handling of touching_ground for bouncing on beds (#4689)
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4689
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-10-27 14:03:50 +01:00
the-real-herowl
fd6cac5f0c Merge pull request 'Fix fog tint in overworld, apply memory leak fix, fix rain->clear clouds' (#4669) from weather-fixes into master
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4669
Reviewed-by: kno10 <kno10@noreply.git.minetest.land>
2024-10-11 07:14:01 +02:00
teknomunk
e864cc19ed Make fog_tint_type = "default" when weather is present to match behavior at 0.87.2 2024-10-09 01:05:20 +02:00
teknomunk
66c3c014a1 Make sure fog tints are preserved during weather is present 2024-10-09 01:05:20 +02:00
teknomunk
7807093b50 Another correction to color interpolation, change day color from layer position 0.15 to 0.50 2024-10-09 01:05:20 +02:00
teknomunk
f6c3f4bd16 Correct value clamping 2024-10-09 01:05:20 +02:00
teknomunk
96a03b1923 Remove posibility of nil sky colors in overworld, add line break 2024-10-09 01:05:20 +02:00
teknomunk
2145470f63 Fix clouds during rain->clear weather transition 2024-10-09 01:05:20 +02:00
teknomunk
2ca0ccd8fe Fix fog tint in overworld, apply memory leak fix from rain.lua to snow.lua and thunder.lua 2024-10-09 01:05:20 +02:00
teknomunk
614518c6cd Revert minetest.add_entity() -> mcl_mobs.spawn() from #4445 (#4679)
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4679
Reviewed-by: kno10 <kno10@noreply.git.minetest.land>
Co-authored-by: teknomunk <teknomunk@protonmail.com>
Co-committed-by: teknomunk <teknomunk@protonmail.com>
2024-10-08 15:34:30 +02:00
kno10
253a06fa08 Fix mob egg double-spawns (#4657)
If you spawn a mob clicking on a wall, two mobs will be spawned.

To reproduce: face a stack of stones, with a spawn egg click on the side of a stone. It does not happen when you click the top of a node, because spawning below fails and only the second one succeeds.

Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4657
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-30 19:21:40 +02:00
kno10
dcfd31d17a Avoid random jumps when standing due to gravity (fewer villagers on the roofs) (#4547)
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4547
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-30 11:22:31 +02:00