Commit graph

1181 commits

Author SHA1 Message Date
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 ()
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 ()
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
Mikita Wiśniewski
12ad6f586d Update erle's name in code and docs ()
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
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
SmokeyDope
22ff4d3694 Add some missing sounds for mobs ()
- 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
9564b69e6a Unnecessary use of mcl_vars.get_node ()
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
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
2626a475ee Redo guardian spawn registration (copy biomes from glow squid) 2025-01-20 18:37:09 +01:00
kno10
25a832c4b6 rerun mod_translation_updater 2025-01-03 11:56:04 +01:00
ninjum
b407cc9628 Squashed: Galician translation 2025-01-03 11:56:04 +01:00
kno10
b39cee7c5c rerun translation updater 2024-12-31 02:39:28 +01:00
JOSE DANIEL ANGULO PLATA
79fb8b6371 More translations in Spanish 2024-12-31 02:39:28 +01:00
kno10
631162e24c Switch from deg to rad. 2024-12-27 10:48:00 +07:00
kno10
dd165ec0e9 Update to set_bone_override 2024-12-27 10:48:00 +07:00
teknomunk
7de503770f Address review concerns 2024-12-25 11:52:24 +01:00
teknomunk
2732976404 Move fireball redirection service award check to ghast from fireball 2024-12-25 11:52:24 +01:00
teknomunk
bb934d09ee Break long lines, add space between functions in vl_projectile/init.lua 2024-12-25 11:52:24 +01:00
teknomunk
bc321ccae4 Add _vl_projectile.can_punch() to mob API and move hard-coded entity behavior from arrow to rover code 2024-12-25 11:52:24 +01:00
teknomunk
0d8f7515c6 Update minetest->Luanti in affected documentation, update minetest. -> core. in affected code, factor out common subexpressions in mods/ITEMS/vl_projectile/init.lua 2024-12-25 11:52:24 +01:00
teknomunk
aa8cec9911 Implement mcl_util.remove_entity() and convert projectile code to use it 2024-12-25 11:52:24 +01:00
teknomunk
1df10c8dd3 Correct damage for mob projectiles 2024-12-25 11:52:24 +01:00
teknomunk
2d56deacf6 Replace _puncher with _owner, rework projectile code to make _owner a string, copy mcl_util.gen_uuid() from minecart branch, add mcl_util.get_entity_id(), fix crash 2024-12-25 11:52:24 +01:00
the-real-herowl
515b5bc5c7 Fixed abnormal skull rotation 2024-12-25 11:52:24 +01:00
the-real-herowl
254b100fac Fixed wither skulls
- wither skulls now hit players again
- wither skulls (strong version) don't cause a crash anymore
2024-12-25 11:52:24 +01:00
teknomunk
ee3ea9d3f5 Prevent dereferencing nil in wither.lua, fix minor typo in debug statement 2024-12-25 11:52:24 +01:00
teknomunk
642c474012 Stop wither from shooting itself 2024-12-25 11:52:24 +01:00
teknomunk
b8fcc4c02e Prevent projectiles from crashing server when removed when it punched something (wither skull hitting the wither will cause this), mark wither skull with _removed = true when death timer removes it 2024-12-25 11:52:24 +01:00
kno10
2fb04076f8 fix inconsistent capitalization of Tropical fish 2024-12-19 08:47:40 +01:00
kno10
6f12e173aa Improve extraction of strings, for banner colors and villagers 2024-12-19 08:47:40 +01:00
kno10
979105efbf German translation updates 2024-12-18 21:30:19 +01:00
kno10
c73baa3886 German translation updates 2024-12-18 18:42:25 +01:00
kno10
3ecda2e70d auto-update translation files 2024-12-16 01:16:32 +01:00
ethan
4db34098d9 Contributed simplified Chinese translations 2024-12-16 01:16:32 +01:00
Bloodaxe
277a5d5857 Added mobs_mc.nb.tr 2024-12-16 01:16:32 +01:00
0ldude
3fd1b9d96f tr mods/CORE & mods/ENTITIES to it 2024-12-16 01:16:32 +01:00
villager8472
c6c5de7335 Fixed hoglins never dropping leather. ()
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4736
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: villager8472 <gecko15x@gmx.de>
Co-committed-by: villager8472 <gecko15x@gmx.de>
2024-12-06 20:26:40 +01:00
kno10
f14ff83737 mob attack tweaks 2024-12-01 00:53:42 +01:00
kno10
f377f97348 pathfinding improvements 2024-12-01 00:53:42 +01:00
kno10
a67938904e small code cleanups 2024-12-01 00:53:42 +01:00
kno10
ef763e396c Adjust bones, animations slightly from b3d data.
Initialize bones on spawn.

Note: to obatin bone values, try in Blender

"%.3f, %.3f, %.3f" % tuple((bpy.context.object.pose.bones["head.control"].head - bpy.context.object.pose.bones["head.control"].tail) * Vector((1,-1,1)))

or

"{0:.3f}, {1:.3f}, {2:.3f}".format(*(bpy.context.object.pose.bones["head.control"].head - bpy.context.object.pose.bones["head.control"].tail) @ bpy.context.object.pose.bones["head.control"].matrix * Vector((1,-1,1)))
2024-12-01 00:31:48 +01:00
kno10
c6c77766e3 Rewrite the head swivel code math 2024-12-01 00:31:48 +01:00
teknomunk
2f4e23e403 Add parenthesis for clarity, check pos before using, endermen->rovers in comment 2024-11-30 09:03:36 -06:00