teknomunk
|
e4b5673642
|
Resolve some review comments
|
2025-01-20 18:37:09 +01:00 |
|
teknomunk
|
35fafc9928
|
Resolve several lua-language-server findings, add missing get_item_group, remove spawn_def usage (didn't exist where attempted to be used)
|
2025-01-20 18:37:09 +01:00 |
|
teknomunk
|
add61ad6b2
|
Change main spawning look to use adaptive delay based on last run with maximum period of 2.5 seconds, put some logging behind a flag, remove unused constants
|
2025-01-20 18:37:09 +01:00 |
|
teknomunk
|
8b13b36a6a
|
Move raycast_line_of_sight function to mcl_mobs/functions.lua, rework group spawn point selection code, add line of sight check to group origin
|
2025-01-20 18:37:09 +01:00 |
|
teknomunk
|
8c42694ac9
|
Change logging default and one log message
|
2025-01-20 18:37:09 +01:00 |
|
teknomunk
|
78aa99eacd
|
Refactor spawn_group() so that each spawn point can only be used once and protection is respected
|
2025-01-20 18:37:09 +01:00 |
|
teknomunk
|
97a674e8c9
|
Fix passive spawning, disable some debug logging
|
2025-01-20 18:37:09 +01:00 |
|
teknomunk
|
28a058f8b7
|
Stop mobs that require ground from spawning in water, remove unused code and variables, some minor microoptimizations
|
2025-01-20 18:37:09 +01:00 |
|
teknomunk
|
61c9f9eade
|
Drop biome group generation and replace with spawn state checks for much improved performance (but has regressions), change logging of failure to find spawn point, increase spawn attempts to 4 per second with no position retries and only a single mob or group per attempt
|
2025-01-20 18:37:09 +01:00 |
|
teknomunk
|
8af26e2e75
|
Replace biome_check() with table.find()
|
2025-01-20 18:37:09 +01:00 |
|
teknomunk
|
b636a2e831
|
Implement generating biome groups for spawning (not actually used yet)
|
2025-01-20 18:37:09 +01:00 |
|
teknomunk
|
0cb2ef8957
|
Initial changes to spawn_check() and spawn_a_mob(), add profiling for mob spawning
|
2025-01-20 18:37:09 +01:00 |
|
kno10
|
36bededf5d
|
use helper function for cleaner code
|
2025-01-09 13:01:25 +01:00 |
|
kno10
|
f8a6172ca3
|
actually support spawnbox, drop old collisionbox workaround
|
2025-01-09 13:01:25 +01:00 |
|
kno10
|
2c2e5d7dc8
|
allow spawning medium size mobs in 2x2
|
2025-01-09 13:01:25 +01:00 |
|
kno10
|
a4fa9c1913
|
make fly_in a map
|
2025-01-09 13:01:25 +01:00 |
|
kno10
|
ac1333be94
|
spawn room check that tolerates plants
|
2025-01-09 13:01:25 +01:00 |
|
Mikita Wiśniewski
|
2df6f7d5d4
|
Fix jockey spawn room check (#4812)
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4812
Reviewed-by: kno10 <kno10@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 02:23:48 +01:00 |
|
teknomunk
|
dfc8733261
|
Change the default logging setting in mob movement from true to false
|
2025-01-03 13:20:21 +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
|
470ce57ff5
|
More translations in Spanish
|
2024-12-31 02:39:28 +01:00 |
|
kno10
|
28c0a3072c
|
set_yaw for shulker returns nil, causing a nil arithmetic error. (#4775)
Fixes a prevented crash error.
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4775
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>
|
2024-12-31 01:23:47 +01:00 |
|
the-real-herowl
|
bf77996b57
|
Added spears
|
2024-12-29 08:09:33 +01:00 |
|
the-real-herowl
|
ce95290fa8
|
Added hammers
|
2024-12-29 08:09:33 +01:00 |
|
the-real-herowl
|
43539e1392
|
Make sure self.rotate is not nil before use (#4759)
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4759
Co-authored-by: the-real-herowl <wiktor_t-i@proton.me>
Co-committed-by: the-real-herowl <wiktor_t-i@proton.me>
|
2024-12-29 08:05:52 +01:00 |
|
teknomunk
|
7de503770f
|
Address review concerns
|
2024-12-25 11:52:24 +01:00 |
|
teknomunk
|
60e3c139cc
|
Change mcl_mobs to use mcl_util.remove_entity() when killing mobs, add guard in vl_projectile against removed mobs
|
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
|
a2167e7dfc
|
Change to use nil radius in within_limits(pos,radius) check
|
2024-12-25 11:52:24 +01:00 |
|
teknomunk
|
88cd54a03b
|
Add reference to Projectile API documentatino from mob API documentation
|
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
|
7c8da2eba7
|
Rework self.timer and _owner collision conditions
|
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
|
2fcd4ff69f
|
Fix condition on node collision for mob projectiles
|
2024-12-25 11:52:24 +01:00 |
|
teknomunk
|
1df10c8dd3
|
Correct damage for mob projectiles
|
2024-12-25 11:52:24 +01:00 |
|
teknomunk
|
efa6e7d2d0
|
Move arrow self-collision grace logic to vl_projectile then apply to mob projectiles and splash and linger potions, allow entity luaentity to be passed to mcl_util.get_entity_id()
|
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 |
|
teknomunk
|
642c474012
|
Stop wither from shooting itself
|
2024-12-25 11:52:24 +01:00 |
|
teknomunk
|
f9aa61ff5a
|
Fix unintentional collision box change
|
2024-12-25 11:52:24 +01:00 |
|
teknomunk
|
b821f3d72f
|
Fix luacheck findings for this PR: remove unused variables, remove overwritten value, add missing dependencies, fix undefined variable usage
|
2024-12-25 11:52:24 +01:00 |
|
teknomunk
|
b23b16842c
|
Allow mob projectiles to hit their owner after 2 seconds (used by ghast fireball)
|
2024-12-25 11:52:24 +01:00 |
|
teknomunk
|
b339d5f13f
|
Remove redundant check
|
2024-12-25 11:52:24 +01:00 |
|
teknomunk
|
2864e8fa30
|
Correct behavior when ignore_gravity flag is true, fix mob projectile velocity calculation, add missing entity_def lookup
|
2024-12-25 11:52:24 +01:00 |
|
teknomunk
|
b4e6417b92
|
Convert mcl_mobs.register_arrow() to use vl_projectile, tested only with shulker bullet so far
|
2024-12-25 11:52:24 +01:00 |
|
kno10
|
e96bec0ad0
|
Fix strider spawning (#4747)
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4747
Reviewed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-authored-by: kno10 <erich.schubert@gmail.com>
Co-committed-by: kno10 <erich.schubert@gmail.com>
|
2024-12-23 13:48:18 +01:00 |
|
kno10
|
c73baa3886
|
German translation updates
|
2024-12-18 18:42:25 +01:00 |
|