Commit Graph

13217 Commits

Author SHA1 Message Date
kno10
f1b7cccc1f allow generating towns on mapblocks emerged with previous versions that did not become full settlements yet 2025-01-08 15:15:04 +01:00
kno10
00542c0f0b fixes and parameter tuning 2025-01-08 15:15:04 +01:00
kno10
bfd1e0e4e5 more voxelmanipulator, more MCLA 2025-01-08 15:15:04 +01:00
kno10
6372a0327a finetuning 2025-01-08 15:15:04 +01:00
kno10
c4356fd5e6 add MCLA schematics 2025-01-08 15:15:04 +01:00
kno10
2ec440132a Big villages overhaul 2025-01-08 15:15:04 +01:00
kno10
ad6a3792f3 Unnecessary use of mcl_util.get_node 2025-01-08 15:15:04 +01:00
kno10
e4df46312f Avoid multiple ruined portals in the same chunk
This reduces the fill rate from 38 to 1 spawn attempts, and to counter this effect increases the chunk probability by a factor of 40.

This should yield roughly the same amount of portals, but never produce two in the same map generation chunk. Before, they would frequently cluster. (Although out of the 38 attempts, apparently only 0-3 are usually successful).
2025-01-08 15:15:04 +01:00
kno10
2f457d9c32 Drop non-persistent tracking of generated chunks. (#4834)
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4834
Reviewed-by: teknomunk <teknomunk@protonmail.com>
Co-authored-by: kno10 <erich.schubert@gmail.com>
Co-committed-by: kno10 <erich.schubert@gmail.com>
2025-01-08 04:51:21 +01:00
kno10
11ff8b319d Use mcl_util function in mcl_flowers (#4833)
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4833
Reviewed-by: teknomunk <teknomunk@protonmail.com>
Co-authored-by: kno10 <erich.schubert@gmail.com>
Co-committed-by: kno10 <erich.schubert@gmail.com>
2025-01-08 02:22:06 +01:00
the-real-herowl
71256def7f Merge pull request 'Fix indestructable blocks provided by mods' (#4285) from teknomunk/MineClone2:fix-indestructable-blocks into master
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4285
Reviewed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
2025-01-07 16:18:09 +01:00
teknomunk
a9f50e68af Cleanup 2025-01-07 16:18:09 +01:00
teknomunk
dccb07d36f Remove log dump 2025-01-07 16:18:09 +01:00
teknomunk
e8b9346026 Make blocks breakable when not passing in node definition to mcl_autogroup.group_compatibility() 2025-01-07 16:18:09 +01:00
teknomunk
5257e7bc80 Address review comments 2025-01-07 16:18:09 +01:00
teknomunk
b6164ab6e6 Fix spelling 2025-01-07 16:18:09 +01:00
teknomunk
517024f9c1 Finish adding backticks to documentation, switch from indestructable to unbreakable and make nodes with either group indestructable 2025-01-07 16:18:09 +01:00
teknomunk
e7978fc515 Move documentation to correct location, add backticks to existing mcl_autogroups documentation 2025-01-07 16:18:09 +01:00
teknomunk
28b5e00e37 Add API documentation, change ndef to node_def to match documentation, change log message according to review comment 2025-01-07 16:18:09 +01:00
teknomunk
b5a05857eb Add conversion for nodes that shears act on 2025-01-07 16:18:09 +01:00
teknomunk
d7995d81bb Fix indestructable blocks provided by mods 2025-01-07 16:18:09 +01:00
the-real-herowl
64b92a5b0b Merge pull request 'Optimize finding lightning rods' (#4665) from optimize-lightning into master
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4665
Reviewed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
2025-01-07 16:17:19 +01:00
teknomunk
ba631d3af7 Remove overtime warning (will be introduced as part of https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4716), update type annotations, resolve warnings 2025-01-07 16:17:19 +01:00
teknomunk
911e203fd7 Add server lag tracking to mcl_player global step, maintain an index of lightning attractors in mod storage for mcl_lightning_rods and use this instead of minetest.find_node_near during lightning strikes, modify node definition to allow for additional lightning attractors 2025-01-07 16:17:19 +01:00
kno10
288bdf18b4 Always use standing animation in player formspec (#4686)
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4686
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>
2025-01-07 16:14:02 +01:00
the-real-herowl
3c0f45c231 Merge pull request 'Make structure generation more deterministic' (#4550) from kno10/VoxeLibre:mapgen-random-structures into master
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4550
Reviewed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
2025-01-07 16:13:12 +01:00
kno10
3e618c2d3e move structures code from mcl_mapgen_core to mcl_structures 2025-01-07 16:13:12 +01:00
kno10
6f97c04a3c prioritize map decorations to make the generations more deterministic 2025-01-07 16:13:12 +01:00
kno10
ebb25450d2 Make structure generation more deterministic
Pseudorandom now depends on position hash, not on blockseed + structure table order.
This should make structure generation more deterministic.
2025-01-07 16:13:12 +01:00
the-real-herowl
38a1635a38 Merge pull request 'release/0.88.1' (#4824) from release/0.88.1 into master
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4824
2025-01-06 01:28:58 +01:00
the-real-herowl
19ada6db49 Post-hotfix reset version 0.89.0-SNAPSHOT 2025-01-05 19:37:33 +01:00
the-real-herowl
b21d7cba0a Update release notes for hotfix v0.88.1 0.88.1 2025-01-05 19:32:02 +01:00
the-real-herowl
b9088a5d4c Updated release credits and set version for hotfix v0.88.1 2025-01-05 19:10:31 +01:00
Mikita Wiśniewski
f2f322daa5 vl_fireworks: Call pointed node's on_rightclick first (#4823)
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4823
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>
2025-01-05 19:07:19 +01:00
Mikita Wiśniewski
6011a31aad Fix crash when trying to strip hollow logs (#4822)
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4822
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>
2025-01-05 18:40:38 +01:00
the-real-herowl
ae5353b070 Merge pull request 'Fix bobber collision, ender pearl crash' (#4806) from fix-bobber into master
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4806
Reviewed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
2025-01-05 18:39:34 +01:00
teknomunk
5009d403c1 Ensure the bobber remains after it collides with something solid 2025-01-05 09:34:05 -06:00
teknomunk
9df4a57945 Remove unused locals, resolve all but one luacheck finding (incorrect finding of value not used) 2025-01-05 16:05:28 +01:00
teknomunk
98f115eb31 Update flying bobber detection to work with Projectile API changes 2025-01-05 16:05:28 +01:00
teknomunk
6824ce0428 Give snowballs, eggs and ender pearls a collision box 2025-01-05 16:05:28 +01:00
teknomunk
bd31808bed Fix ender pearl crash 2025-01-05 16:05:28 +01:00
teknomunk
70d05a6720 Fix bobber colliding with doors,trapdoors, rework vl_projectile collides_with handling to affect all entities physical or not 2025-01-05 16:05:28 +01:00
Mikita Wiśniewski
0385abc277 Fix undeclared (global) variable usage (#4803)
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4803
Reviewed-by: teknomunk <teknomunk@protonmail.com>
Co-authored-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-committed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
2025-01-05 15:57:02 +01:00
Mikita Wiśniewski
013679507b Use meshes for cocoa pods instead of nodeboxes (fixes #4808) (#4811)
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4811
Reviewed-by: teknomunk <teknomunk@protonmail.com>
Co-authored-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-committed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
2025-01-05 15:48:48 +01:00
teknomunk
6913465531 Remove explicit inventory size parameter (#4820)
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4820
Reviewed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-authored-by: teknomunk <teknomunk@protonmail.com>
Co-committed-by: teknomunk <teknomunk@protonmail.com>
2025-01-05 15:44:13 +01:00
kno10
3d862a0336 Cooldown for dispensers and droppers (#4814)
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4814
Reviewed-by: teknomunk <teknomunk@protonmail.com>
Co-authored-by: kno10 <erich.schubert@gmail.com>
Co-committed-by: kno10 <erich.schubert@gmail.com>
2025-01-05 15:43:04 +01:00
the-real-herowl
1521d202aa Merge pull request 'Fix undeclared (global) variables, other linter issues with minecarts' (#4805) from fix-luacheck-minecart into master
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4805
Reviewed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
2025-01-05 02:37:51 +01:00
teknomunk
7c7c2bcb6d Address review comments 2025-01-05 02:37:51 +01:00
teknomunk
cc125d8eac Fix all luacheck findings except two empty if branches, two references to math.round and the *_physics variables from optional mods (each guarded by modpath checks) 2025-01-05 02:37:51 +01:00
teknomunk
24ca1b20a8 Export handle_cart_leave from movement, resolve luacheck and lua-language-server findings, fix typo 2025-01-05 02:37:51 +01:00