Commit graph

579 commits

Author SHA1 Message Date
teknomunk
4607221b99 Add type annotations to vl_tuning, convert minetest->core in vl_tuning, remove last remnants of [1] value accesses, fix several issues uncoverted by type checking, rename some fields 2025-01-23 07:11:01 -06:00
teknomunk
fca0d6d7da Change from table indirection to getter/setter functions for dynamically updating local variables 2025-01-23 07:11:00 -06:00
teknomunk
c16ab64ca6 Get settings GUI implemented and functional 2025-01-23 07:10:38 -06:00
teknomunk
844f87689c Start GUI 2025-01-23 07:10:38 -06:00
teknomunk
1305e45d63 Implement respawnBlocksExplode gamerule 2025-01-23 07:10:38 -06:00
teknomunk
ff1431113d Add fireDamage game rule (fallDamage and drowningDamage don't work in mcl_damage) 2025-01-23 07:10:38 -06:00
teknomunk
330749f717 Add additional gamerules for damage types 2025-01-23 07:10:38 -06:00
teknomunk
564929796f Add settings file 2025-01-23 07:10:38 -06:00
teknomunk
7704e916df Add gamerule keepInventory and migrate existing setting value from mcl_keepInvetory 2025-01-23 07:10:38 -06:00
teknomunk
8c9d419c4c Add setting for damage_enabled 2025-01-23 07:10:38 -06:00
teknomunk
36b125dee1 Implement doDaylightCycle, add on_change hook for tunables and make sure they are not called when loaded 2025-01-23 07:10:38 -06:00
teknomunk
d61e1786a6 Remove debug print(), add game rules maxEntityCramming, snowAccumulationHeight 2025-01-23 07:10:38 -06:00
teknomunk
d4355556e7 Fix default value handling during set (allows bool settings to be set to false), add game rules: doMobSpawning, disableRaids, doWeatherCycle, doFireTick 2025-01-23 07:10:36 -06:00
teknomunk
449d686441 Change API so most parameters are in a definition table, add /gamerule chatcommand, implement gamerule announceAdvancements 2025-01-23 07:07:28 -06:00
teknomunk
b24a101769 Make awards use the notification delay setting 2025-01-23 07:07:28 -06:00
teknomunk
3bd587f9ed Finish initial implementation of setting tuning with get/set commands 2025-01-23 07:07:28 -06:00
teknomunk
eab54b24df Start implementing dynamic rules/tuning 2025-01-23 07:07:28 -06:00
Elias Åström
5b7b2d8eb7 Adjust node sounds levels 2025-01-20 18:48:07 +01:00
Elias Åström
19c4e2526f Lower gain of glass breaking sound 2025-01-20 18:48:07 +01:00
teknomunk
85155f8cd5 Convert state hash to number from string, exclude core.add_entity() time from profiling 2025-01-20 18:37:09 +01:00
teknomunk
3a54c67c4c Remove unused table.find(), add comment on fallthru, fix typo in log message, switch to using mcl_log for two log messages, set guardians to no biomes (structures only) 2025-01-20 18:37:09 +01:00
teknomunk
b568a5cc49 Fix rebase missing moving a function to new mcl_util/table.lua 2025-01-20 18:37:09 +01:00
teknomunk
ee386080eb Optimize table.intersect 2025-01-20 18:37:09 +01:00
teknomunk
e4b5673642 Resolve some review comments 2025-01-20 18:37:09 +01:00
teknomunk
bd7c926aaf Move table.* functions to separate file in mcl_utils, add table.find() and table.intersect() 2025-01-20 18:37:09 +01:00
OpenSauce04
7e96774b06 Remove clicking sound from walking on grass sound effects (#4727)
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4727
Reviewed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-authored-by: OpenSauce04 <opensauce04@gmail.com>
Co-committed-by: OpenSauce04 <opensauce04@gmail.com>
2025-01-16 23:52:43 +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
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
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
teknomunk
ab7d0544da Add TODO for future planned work 2025-01-03 20:07:12 +01:00
teknomunk
d7bb017dca Fix sweetberry bonemealing crash, fix sweetberry growth, fix double bonemeal usage 2025-01-03 20:07:12 +01:00
ninjum
b407cc9628 Squashed: Galician translation 2025-01-03 11:56:04 +01:00
teknomunk
3cc8a8474d Fix rebase duplicating code 2024-12-31 02:36:18 +01:00
teknomunk
9ef2e02463 Add guard that prevents crash when itemstack is nil 2024-12-31 02:36:18 +01:00
teknomunk
b963936c6d Add legacy node conversion to vl_legacy and update rails.lua to use it 2024-12-31 02:36:18 +01:00
teknomunk
00665063da Address additional review comments 2024-12-31 02:36:18 +01:00
teknomunk
16caed401c Rewrite mcl_util.hopper_pull in terms of mcl_util.hopper_pull_to_inventory 2024-12-31 02:36:18 +01:00
teknomunk
a176d04bda Correct documentation per review 2024-12-31 02:36:18 +01:00
teknomunk
c165938c1b Fix typo 2024-12-31 02:36:18 +01:00
teknomunk
b47288a260 Implement vl_legacy deprecated function and item conversion APIs 2024-12-31 02:36:18 +01:00
teknomunk
fa29e3410b Fix several undefined global warnings, fix cart movement when over maximum speed, fix cart reattachment to sloped track 2024-12-31 02:36:18 +01:00