Commit Graph

12557 Commits

Author SHA1 Message Date
kno10 edaf158686 more structures, more to discover. 2024-09-20 17:19:19 +02:00
kno10 162749decc hollow fallen trees 2024-09-20 17:19:19 +02:00
kno10 1435867673 add command /emerge 512 to emerge an area 2024-09-20 17:19:19 +02:00
kno10 4496f7adfc improvments to mineshaft cart variety + /locate 2024-09-20 17:19:19 +02:00
kno10 465b4162e7 use swap_node instead of set_node in mapgen, tweaks to end 2024-09-20 17:19:19 +02:00
kno10 e746ef46a9 eliminate the static_pos kludge except for strongholds for now 2024-09-20 17:19:19 +02:00
kno10 d7ac288ba1 cleanups and fixes 2024-09-20 17:19:19 +02:00
kno10 27b6963d20 clean up villages code, add biome farming support 2024-09-20 17:19:19 +02:00
kno10 0c4a120191 More fixes, make shulkers spawn on the floor. 2024-09-20 17:19:19 +02:00
kno10 1b5598f527 fix, and add small end city from MCLA 2024-09-20 17:19:19 +02:00
kno10 7cde4976de further fixes and improvements. 2024-09-20 17:19:19 +02:00
kno10 201ba616fe disable foliage 'fixes' that cause multi-colored trees 2024-09-20 17:19:19 +02:00
kno10 e8aeb34b93 code restructuring and cleanups 2024-09-20 17:19:19 +02:00
kno10 9411e60b8c Huge update of new terraforming, structures, and village code 2024-09-20 17:19:19 +02:00
kno10 b3efd6f681 Big rewrite of structure spawning using voxel manipulators 2024-09-20 17:19:19 +02:00
kno10 a22dadf412 fix bamboo biomes, add new schematic 2024-09-20 17:19:19 +02:00
kno10 73268386ec allow generating towns on mapblocks emerged with previous versions that did not become full settlements yet 2024-09-20 17:19:18 +02:00
kno10 eb2b1f8704 fixes and parameter tuning 2024-09-20 17:19:18 +02:00
kno10 5b520d8713 more voxelmanipulator, more MCLA 2024-09-20 17:19:18 +02:00
kno10 8e94eca3be finetuning 2024-09-20 17:19:18 +02:00
kno10 79d96e9ea0 add MCLA schematics 2024-09-20 17:19:18 +02:00
kno10 d89eec9d98 Big villages overhaul 2024-09-20 17:19:18 +02:00
kno10 238c5a650e move structures code from mcl_mapgen_core to mcl_structures 2024-09-20 17:19:18 +02:00
kno10 2564fdcf5b prioritize map decorations to make the generations more deterministic 2024-09-20 17:19:16 +02:00
kno10 f9a8033410 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-09-20 17:18:22 +02:00
kno10 b42f883131 Avoid random jumps when standing due to gravity.
Closes: #4493 on VL side, further fixes in minetest pending
2024-09-20 17:18:22 +02:00
kno10 f73580bf3f Some optimizations for mapgen 2024-09-20 17:18:20 +02:00
kno10 e7fa2b8fb5 Bigger cleanup of mcl_core/functions 2024-09-20 17:11:19 +02:00
kno10 d264ba70d8 Fix growth logic, clean up mcl_farming/shared_functions (#4640)
Reviewed-on: VoxeLibre/VoxeLibre#4640
Reviewed-by: teknomunk <teknomunk@protonmail.com>
Co-authored-by: kno10 <erich.schubert@gmail.com>
Co-committed-by: kno10 <erich.schubert@gmail.com>
2024-09-20 14:00:49 +02:00
Mikita Wiśniewski 513413afc7 Use `remove_node` instead of `dig_node` in mcl_core ABMs (fixes #4628) (#4629)
The mycelium ABM has been left untouched because of the potential destructiveness. If we ever find that to be an issue, it can be fixed as part of a bigger PR.

Reviewed-on: VoxeLibre/VoxeLibre#4629
Reviewed-by: teknomunk <teknomunk@protonmail.com>
Co-authored-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-committed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
2024-09-19 18:54:39 +02:00
kno10 011be754ca Allow deepslate copper to be mined with stone pickaxe (#4635)
Reviewed-on: VoxeLibre/VoxeLibre#4635
Reviewed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-authored-by: kno10 <kno10@noreply.git.minetest.land>
Co-committed-by: kno10 <kno10@noreply.git.minetest.land>
2024-09-18 10:11:55 +02:00
teknomunk eea96867c4 Don't add rain skycolor layer if the current layer is already the rain skycolor (#4648)
Fixes #4647 Rain makes the sky black until restart. This also fixes a memory leak caused by rain adding a color layer every time step.

Reviewed-on: VoxeLibre/VoxeLibre#4648
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-09-18 10:10:53 +02:00
the-real-herowl cd2ee49591 Merge pull request 'Make Soul Speed work on Soul Soil' (#4604) from upstream/soul_soil_speed into master
Reviewed-on: VoxeLibre/VoxeLibre#4604
Reviewed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
2024-09-18 10:06:03 +02:00
seventeenthShulker de3b34f5ea Update English translation keys with soul soil 2024-09-18 10:06:03 +02:00
seventeenthShulker e2bcd129c1 Use soul_block group for soul speed bonus 2024-09-18 10:06:03 +02:00
seventeenthShulker 79e8452f62 Soul speed works on soul soil too
(needs localization)
2024-09-18 10:06:03 +02:00
the-real-herowl b239549774 Merge pull request 'Correct space check when spawning mobs' (#4445) from fix-has_room into master
Reviewed-on: VoxeLibre/VoxeLibre#4445
Reviewed-by: kno10 <kno10@noreply.git.minetest.land>
2024-09-17 11:49:29 +02:00
teknomunk 0b62c827aa Remove has_room debug data 2024-09-16 13:32:06 +02:00
teknomunk 626bdd13d8 Change several places where mobs are created to use mcl_mobs.spawn() instead of minetest.add_entity() 2024-09-16 13:32:06 +02:00
teknomunk 31a3788ce1 Address review comments 2024-09-16 13:32:06 +02:00
teknomunk e65370b845 Fixes 2024-09-16 13:32:06 +02:00
teknomunk 6c50e0a82b Fix volume used for room check during spawn, make mcl_mobs.spawn check for room before adding entity, change iron golems and mob spawners to use mcl_mobs.spawn 2024-09-16 13:32:06 +02:00
teknomunk 8ef08128b1 Add short circuit if sub-node space check isn't possible: 2024-09-16 13:32:06 +02:00
teknomunk 15efd00a29 Replace second call to minetest.find_nodes_in_area with checking top layer for matching nodes, change p2 calculation to use ceil(value) - 1, fix dx*dy*dz calculation 2024-09-16 13:32:06 +02:00
teknomunk fa3df0d8c6 Add check for presence of minetest.get_node_boxes before attempting sub-node space checks 2024-09-16 13:32:06 +02:00
teknomunk c41ce8ba59 Make spiders require 3x1x3 space to spawn 2024-09-16 13:32:06 +02:00
teknomunk 4d58f63485 Implement partial node spawning check 2024-09-16 13:32:06 +02:00
teknomunk fa09b65010 Add most of the code for sub-node accurate spawning volume check (needs a function to calculate bounding box height of nodes) 2024-09-16 13:32:06 +02:00
teknomunk d8d39ffd52 Add spawnbox parameter that overrides collision box for spawn volume checks 2024-09-16 13:32:06 +02:00
teknomunk b6aafedf25 Fix space check function has_room() in mcl_mobs/spawning.lua so it allows spiderproofing 2024-09-16 13:32:06 +02:00