kno10
f377f97348
pathfinding improvements
2024-12-01 00:53:42 +01:00
kno10
54bc4f7545
fix and optimize Fleckenstein
2024-12-01 00:53:42 +01:00
kno10
a67938904e
small code cleanups
2024-12-01 00:53:42 +01:00
kno10
83cec7ed23
some more cleanups, from code review
2024-12-01 00:53:42 +01:00
kno10
084211d87e
code cleanups
2024-12-01 00:53:42 +01:00
kno10
5b27cb80fe
movement improvements, door opening
2024-12-01 00:53:42 +01:00
kno10
e78f5cdbe9
further movement tweaks
2024-12-01 00:53:42 +01:00
kno10
e4deb9c7b5
Movement and path finding improvements.
2024-12-01 00:53:42 +01:00
kno10
77c6c34d0e
Mob pushing improvements
2024-12-01 00:53:42 +01:00
kno10
b91f48b419
add and use turn_by/turn_in_direction methods
2024-12-01 00:53:42 +01:00
kno10
67055959c6
fix delay=0 in combat code, tune turning parameters
2024-12-01 00:53:42 +01:00
kno10
1ac53b9c2a
More movement code cleanups.
...
Closes #4506 #4502
2024-12-01 00:53:42 +01:00
kno10
114a7d2b17
More cleanup and improvements to movement code
2024-12-01 00:53:42 +01:00
teknomunk
2f4e23e403
Add parenthesis for clarity, check pos before using, endermen->rovers in comment
2024-11-30 09:03:36 -06:00
teknomunk
835f97a61e
Add mcl_burning.is_affected_by_sunlight(), rework mob light/sunlight damage and burning code
2024-11-28 21:03:18 +01:00
teknomunk
42b7dc9ce8
Switch to using not mcl_burning.is_affected_by_rain()
2024-11-28 21:03:18 +01:00
seventeenthShulker
ae263a19c9
Remove unnecessary raycast from rover (and use the mcl_burning api where we can)
2024-11-28 21:03:18 +01:00
seventeenthShulker
14a0546dce
Whoopsie
2024-11-28 21:03:18 +01:00
seventeenthShulker
dc8219fe31
Check mobs are not touching nodes in group:puts_out_fire
BEFORE burninating. Should fix the remaining flashing (see #3655 ).
2024-11-28 21:03:18 +01:00
seventeenthShulker
b976c535ae
Fix flashing fire on burning mob during rain/thunder
2024-11-28 21:03:18 +01:00
kno10
e293cbe631
Better handling of touching_ground for bouncing on beds ( #4689 )
...
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4689
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-10-27 14:03:50 +01:00
kno10
dcfd31d17a
Avoid random jumps when standing due to gravity (fewer villagers on the roofs) ( #4547 )
...
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4547
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-09-30 11:22:31 +02:00
kno10
d85febdb15
Cactus damage cleanup, drop redundant conditions ( #4625 )
...
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4625
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-09-08 05:21:42 +02:00
the-real-herowl
dc7b1869b7
Move most of the game to the new API
2024-05-22 21:03:43 +02:00
Eliy21
aa4f8ba6cc
Add medium size mob distinction in the cactus mob damage area reach code
2024-01-21 09:18:43 +00:00
Eliy21
d41d29be58
Add distinction between regular sized mobs and large mobs in the cactus mob damage area reach
2024-01-21 09:18:43 +00:00
Eliy21
434bb33f72
Add mob cactus damage logic to /mcl_mobs/physics.lua
2024-01-21 09:18:43 +00:00
ancientmarinerdev
3564f6ebde
Fixed a crash in minetest vector code that isn't propogated to lua. Create util for ease of use.
2023-10-15 22:03:48 +01:00
the-real-herowl
966712f4ff
Optimisation and cleanup
...
-optimised and cleaned up wither rose withering effect code
-removed unused code
2023-10-11 00:54:31 +00:00
codiac
0d16acdd42
Use a vector and fix the merge fail >_<
2023-08-14 10:48:27 +10:00
codiac
034382c883
Fix float check :(
2023-08-13 12:14:52 +10:00
cora
898a183ccd
Prevent floating mobs from drowning all the time
...
Less dieing for mobs in deep water.
2023-08-13 12:12:03 +10:00
codiac
6ae597c97f
This changes mob floating so they stay inside the top water node instead of
...
standing on it. The head of the mod should still be above water.
Changes drowning so that mobs will not drown in one block of water. They will
drown in 2 or more blocks of water.
Does not appear to affect them getting out of deep water :( But they do seem to
die somewhat faster when they stay in deep water.
2023-08-12 14:01:26 +10:00
epCode
1f5247df06
Make mobs slide less, and fix ageold jump dilema
2023-06-04 22:41:35 +00:00
ancientmarinerdev
10a3d06360
Fix global variable references and exit mob_step if missing pos
2023-05-22 21:05:12 +00:00
ancientmarinerdev
5a059379b2
Group damage logic. Remove physics falling logic out of suspend with duplicate falling call
2023-05-15 13:54:23 +00:00
ancientmarinerdev
3d1fb8cf4a
Clean up and optimise falling
2023-05-15 13:54:23 +00:00
ancientmarinerdev
8092fd573c
Cleanup self.acc code and convert to new style vectors
2023-05-11 20:22:19 +01:00
ancientmarinerdev
7fe1be2c18
Add error handling to sunlight checking to prevent crashing and improve diagnosis.
2023-04-06 13:35:38 +00:00
ancientmarinerdev
ef633ce617
Do not throw XP if in creative
2023-03-17 20:36:53 +00:00
ancientmarinerdev
c6db032674
Rework sculk to be off the xp_step and triggered by events
2023-03-17 20:36:53 +00:00
ancientmarinerdev
97091de67f
Log pos info only prior to crash
2023-03-17 15:20:51 +00:00
ancientmarinerdev
ae7cfdff69
Ensure conditional doesn't mask bug crash issue
2023-03-17 15:20:50 +00:00
ancientmarinerdev
0dee7792f4
Log where map unloaded before light damage code. #3430 debugging
2023-03-17 15:20:50 +00:00
ancientmarinerdev
038d9ec014
Do not need to create new vector each time
2023-03-11 00:05:53 +00:00
ancientmarinerdev
ce6d9d561f
When mob out of range, avoid processing expensive or unneccessary things
2023-03-11 00:05:53 +00:00
epCode
e48dabc8be
Create the Jockey api and use it on Skel/Spid
2023-02-28 17:46:21 +00:00
ancientmarinerdev
2fd7f8c69f
Fix hungry sheep and hyrdophobic passive mobs
2023-02-11 00:37:16 +00:00
ancientmarinerdev
b834e790a7
Fix game crashes
2023-02-08 19:34:04 +00:00
ancientmarinerdev
4b9482cb09
Mobs should not drop XP when dying by fire from sunlight
2023-02-08 19:34:04 +00:00