2680 Commits

Author SHA1 Message Date
teknomunk
fbf9e1eb0f Add logging of possibly corrupted mob entity staticdata 2025-03-14 08:41:27 +01:00
teknomunk
c3321105a4 Add another texture validity check 2025-03-14 08:41:27 +01:00
teknomunk
b42993c46d Change self.visual_size to self.initial_properties.visual_size 2025-03-14 08:39:03 +01:00
teknomunk
c04d643b0c Move hp_max in minecarts inside initial_properties 2025-03-14 08:39:03 +01:00
teknomunk
7c2238f456 Move mesh,visual,visual_size,glow,make_footstep_sound,stepheight,automatic_face.. to initial_properties 2025-03-14 08:39:03 +01:00
teknomunk
277755ce8f Fix up selectionbox 2025-03-14 08:39:03 +01:00
teknomunk
98feab34b2 Fix startup crash 2025-03-14 08:39:03 +01:00
teknomunk
26aa7d3feb Update collisionbox code 2025-03-14 08:39:03 +01:00
teknomunk
4b7e752323 Fix hp_max and hp_min for mobs 2025-03-14 08:39:03 +01:00
James David Clarke
e5f931a0ea Added more entity's properties into initial_properties table. 2025-03-14 08:39:03 +01:00
James David Clarke
76d7f9f349 lack of initial_properties Deprecation warning for entities solved mostly. fixes #4090 2025-03-14 08:39:03 +01:00
Mikita Wiśniewski
f72a069c09 mobs_mc: Fix sheep graze core.sound_play usage (#5018)
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/5018
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-03-14 08:31:18 +01:00
teknomunk
d6339a7649 Fix crash when trying to convert spawned creepers and endermen (#5014)
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/5014
Reviewed-by: kno10 <kno10@noreply.git.minetest.land>
Reviewed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-authored-by: teknomunk <teknomunk@protonmail.com>
Co-committed-by: teknomunk <teknomunk@protonmail.com>
2025-03-13 16:17:22 +01:00
kno10
1e9ee97a7d update locales 2025-03-07 20:57:37 +01:00
teknomunk
6fab15e8df Fix crash when hostile mobs are disabled (#4989)
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4989
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>
2025-03-07 20:05:47 +01:00
Mikita Wiśniewski
45ebb11e5f Update squid's appearance 2025-03-06 16:55:45 +01:00
Mikita Wiśniewski
50273e642b Update spiders' appearances 2025-03-06 16:55:45 +01:00
Mikita Wiśniewski
7a0f56e203 Update chicken's appearance 2025-03-06 16:55:45 +01:00
teknomunk
be83392a05 Guard against invalid ObjectRefs in mcl_burning.get_touching_nodes(), compensate for corrupted boat staticdata 2025-03-06 15:19:28 +01:00
teknomunk
17db7c2d7e Force loaded cart data to have uuid the same as in the mod storage key 2025-03-06 15:19:28 +01:00
teknomunk
1247140faa Change scale to fix upside-down head 2025-03-04 20:58:52 +01:00
teknomunk
e471a29b2d Fix axolotl heads on 5.11.0 2025-03-04 20:58:52 +01:00
Mikita Wiśniewski
ef0d38e530 Fix "hud_elem_type" deprecation warning spam (5.9+) (#4965)
`mcl_vars.hud_type_field` is introduced to determine the right HUD element type field to use. All mods adding HUDs, together with their `mod.conf` files, are changed accordingly to silence the warnings.

Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4965
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-03-04 20:50:10 +01:00
teknomunk
814068197b Add friction back in 2025-03-01 16:32:23 +01:00
Robert de Forest
1b60c7fae0 Fixes #4831: add gravity to acceleration on sloped track
I noticed that at
[movement.lua:303](cfd214df76/mods/ENTITIES/mcl_minecarts/movement.lua (L303))
in calculate_acceleration, the check for applying gravity overrides the
acceleration instead of taking power (`node_dev._rail_acceleration`)
into account.

I changed this to adding the gravity to the acceleration calculated so
far and confirmed that it fixes the bug.
2025-03-01 16:32:23 +01:00
cora
204fddebd2 Fix occurences of old itemframes itemstring in code 2025-02-21 19:39:13 +01:00
teknomunk
dd0aa487f5 Change all water mobs to use mobs_mc.water_level instead of assuming water = 0 2025-02-10 20:04:44 +07:00
teknomunk
ed66fdcc35 Finish converting to new mcl_mobs:spawn_setup() API 2025-02-10 20:04:44 +07:00
teknomunk
84a7787aff Next batch of mobs 2025-02-10 20:04:44 +07:00
teknomunk
e1d567fb0f Convert more mobs to the new spawn_setup() API 2025-02-10 20:04:44 +07:00
teknomunk
c8d2e74cf5 Correct chance/interval swap 2025-02-10 20:04:44 +07:00
teknomunk
7bf1c958e4 Start converting mob spawn registrations to use mcl_mobs:spawn_setup() 2025-02-10 20:04:44 +07:00
Nicu
bed4734618 Increase volume of sheep grazing (#4910)
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4910
Reviewed-by: kno10 <kno10@noreply.git.minetest.land>
Co-authored-by: Nicu <kneekoo@noreply.git.minetest.land>
Co-committed-by: Nicu <kneekoo@noreply.git.minetest.land>
2025-02-09 17:10:43 +01:00
Nicu
7f01e46fd5 Tweak head_bone_position to fix head placement for sheared sheep (#4909)
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4909
Reviewed-by: kno10 <kno10@noreply.git.minetest.land>
Reviewed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-authored-by: Nicu <kneekoo@noreply.git.minetest.land>
Co-committed-by: Nicu <kneekoo@noreply.git.minetest.land>
2025-02-09 17:09:42 +01:00
teknomunk
15ed7895cd Fix crash in skyblock spawning (#4905)
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4905
Reviewed-by: kno10 <kno10@noreply.git.minetest.land>
Co-authored-by: teknomunk <teknomunk@protonmail.com>
Co-committed-by: teknomunk <teknomunk@protonmail.com>
2025-02-09 16:59:22 +01:00
teknomunk
da7cf8a723 Don't display global mob cap reached unless logging setting has been enabled (#4901)
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4901
Reviewed-by: kno10 <kno10@noreply.git.minetest.land>
Co-authored-by: teknomunk <teknomunk@protonmail.com>
Co-committed-by: teknomunk <teknomunk@protonmail.com>
2025-02-09 16:58:26 +01:00
Mikita Wiśniewski
12ad6f586d Update erle's name in code and docs (#4844)
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4844
Reviewed-by: kno10 <kno10@noreply.git.minetest.land>
Reviewed-by: teknomunk <teknomunk@protonmail.com>
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-02-09 16:49:58 +01:00
kno10
60b01a4daa Remove unnecessary jumping on breeding (#4900)
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4900
Reviewed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-authored-by: kno10 <erich.schubert@gmail.com>
Co-committed-by: kno10 <erich.schubert@gmail.com>
2025-02-09 16:42:03 +01:00
kno10
df08ba7e82 use new hashing functions 2025-02-09 16:41:22 +01:00
kno10
9472017fdb improve UUID functionality 2025-02-09 16:41:22 +01:00
teknomunk
73b675448e Prevent minecarts from being placed above air nodes (#4888)
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4888
Reviewed-by: kno10 <kno10@noreply.git.minetest.land>
Co-authored-by: teknomunk <teknomunk@protonmail.com>
Co-committed-by: teknomunk <teknomunk@protonmail.com>
2025-01-25 20:15:49 +01:00
SmokeyDope
22ff4d3694 Add some missing sounds for mobs (#4875)
- Eating sound for Sheep (file already here)
- Damage sound for Sheep
  - mobs_mc_sheep_damage.ogg all taken from https://freesound.org/people/Breviceps/sounds/644830/ released under CC0
- More random baa sounds for Sheep
  - mobs_mc_sheep_random.1.ogg is taken from here https://freesound.org/people/michaelperfect/sounds/710298/ and is released under CC0
  - mobs_mc_sheep_random.2.ogg is taken from here https://freesound.org/people/satoristudios3/sounds/677221/ and is released under CC0
- Footsteps for Skeletons fixed
- Random Sounds for Skeletons fixed
- Sounds for Iron Golem
  - mobs_mc_iron_golem_clank_damage.1.ogg comes from https://freesound.org/people/F.M.Audio/sounds/616200/ CC-BY-4.0
  - mobs_mc_iron_golem_clank_damage.2.ogg comes from https://freesound.org/people/F.M.Audio/sounds/620435/ CC-BY-4.0
  - mobs_mc_iron_golem_clank_damage.3.ogg comes from https://freesound.org/people/F.M.Audio/sounds/620830/ CC-BY-4.0
  - mobs_mc_iron_golem_death.ogg taken from https://freesound.org/people/yottasounds/sounds/175180/ under cc-by-3.0
  - mobs_mc_iron_golem_random.1.ogg taken from https://freesound.org/people/LemmaEOF/sounds/538065/ under cc-by-4.0
  - mobs_mc_iron_golem_random.2.ogg taken from  https://freesound.org/people/newagesoup/sounds/337841/ released under CC0

Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4875
Reviewed-by: kno10 <kno10@noreply.git.minetest.land>
Co-authored-by: SmokeyDope <smokey@tilde.team>
Co-committed-by: SmokeyDope <smokey@tilde.team>
2025-01-25 20:13:13 +01:00
kno10
36f5abc4df Fix spawning ignoring mob cap (#4891)
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4891
Reviewed-by: teknomunk <teknomunk@protonmail.com>
Reviewed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-authored-by: kno10 <erich.schubert@gmail.com>
Co-committed-by: kno10 <erich.schubert@gmail.com>
2025-01-25 14:22:30 +01:00
teknomunk
feaf000b00 Turn powered rail conductor states into functions 2025-01-25 14:19:51 +01:00
kno10
9564b69e6a Unnecessary use of mcl_vars.get_node (#4781)
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4781
Reviewed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-authored-by: kno10 <erich.schubert@gmail.com>
Co-committed-by: kno10 <erich.schubert@gmail.com>
2025-01-24 22:37:07 +01:00
kno10
a0fe68a6f1 Tiny fix in door pathfinding (#4893)
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4893
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>
2025-01-24 22:32:42 +01:00
teknomunk
c72ff616ab Change hopper minecart delay to 0.25 seconds from 0.05 seconds 2025-01-20 18:42:40 +01:00
teknomunk
53e1546219 Fix crash when hopper minecart is off rails 2025-01-20 18:42:40 +01:00
teknomunk
e08505d24d Make hopper minecart pull items from containers when stopped 2025-01-20 18:42:40 +01:00
teknomunk
9474da5e75 Fix crash 2025-01-20 18:37:09 +01:00