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
|
5eda59dc13
|
reduce code duplication, add mob:stand()
|
2024-12-01 00:53:42 +01:00 |
|
kno10
|
8c2289686d
|
cleanups
|
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
|
995f1386db
|
More help getting out of water
|
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 |
|
kno10
|
33454d7545
|
More movement code improvements.
|
2024-12-01 00:53:42 +01:00 |
|
kno10
|
05d6a283a0
|
Try to reduce how much mobs fall off cliffs.
See #4464 and many more.
|
2024-12-01 00:53:41 +01:00 |
|
kno10
|
c6c77766e3
|
Rewrite the head swivel code math
|
2024-12-01 00:31:48 +01:00 |
|
kno10
|
ebee85db7e
|
Fix incorrect usages of math.random (#4621)
random() does not support float arguments
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4621
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-07 14:58:12 +02:00 |
|
ancientmarinerdev
|
969a08b7be
|
Clean up
|
2023-09-03 22:02:34 +00:00 |
|
ancientmarinerdev
|
1749712318
|
Change creepers line of sight check to raycast and do it from eyes to targets feet and head
|
2023-09-03 22:02:34 +00:00 |
|
epCode
|
df8592df41
|
Revert add punch node
|
2023-06-04 21:53:39 -07:00 |
|
epCode
|
5e4fa30aae
|
Punch node after change
|
2023-06-04 20:19:18 -07:00 |
|
epCode
|
86cd5711ca
|
Rearange on replace code to be more general purpous
|
2023-06-04 22:41:35 +00:00 |
|
epCode
|
908ba9fba6
|
Put on_replace call in correct place (wool regrow on grass to dirt)
|
2023-06-04 22:41:35 +00:00 |
|
epCode
|
91d94800d7
|
Adjust grass replace timer
|
2023-06-04 22:41:35 +00:00 |
|
epCode
|
74e55ca361
|
Fix eat replace timer for sheep
|
2023-06-04 22:41:35 +00:00 |
|
epCode
|
c049113f26
|
Fix sheep sliding, make eating timed, fix animation repeat
|
2023-06-04 22:41:35 +00:00 |
|
epCode
|
1f5247df06
|
Make mobs slide less, and fix ageold jump dilema
|
2023-06-04 22:41:35 +00:00 |
|
epCode
|
2e2f56122d
|
Incorperate sheep eating animation. #3734
|
2023-06-04 22:41:35 +00:00 |
|
ancientmarinerdev
|
f326fa620f
|
Optimise do states and env danger check
|
2023-05-15 13:54:23 +00:00 |
|
ancientmarinerdev
|
519b237ba8
|
Jumping check only called once per mob_step and refactor duplicate water danger, cliff fall logic
|
2023-05-15 13:54:23 +00:00 |
|
ancientmarinerdev
|
72c3f87925
|
Reduce excessive mob overhead
|
2023-05-15 13:54:23 +00:00 |
|
ancientmarinerdev
|
09619a62ee
|
Clean up is_as_cliff code and convert to new style vector part 2
|
2023-05-11 20:22:49 +01:00 |
|
ancientmarinerdev
|
31e6e38013
|
Clean up is_as_cliff code and convert to new style vector
|
2023-05-11 20:22:49 +01:00 |
|
ancientmarinerdev
|
6097dacbab
|
Only check herd if in range
|
2023-03-11 00:05:53 +00:00 |
|
ancientmarinerdev
|
5b7132ac5e
|
Fix duplicate call for jump check
|
2023-03-11 00:05:53 +00:00 |
|
ancientmarinerdev
|
5fc78bf6b0
|
Use unique name for function. Add development flag to enable crashing locally
|
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 |
|
ancientmarinerdev
|
2fd7f8c69f
|
Fix hungry sheep and hyrdophobic passive mobs
|
2023-02-11 00:37:16 +00:00 |
|
ancientmarinerdev
|
39d4434df1
|
Reorder on_step calls
|
2023-02-08 19:34:04 +00:00 |
|
ancientmarinerdev
|
84317afc93
|
Review feedback implemented and planned changes
|
2023-01-23 20:10:28 +00:00 |
|
ancientmarinerdev
|
f8ae702ce4
|
Function name consistency
|
2023-01-02 00:58:23 +00:00 |
|
ancientmarinerdev
|
5faf060122
|
Fix crash and remove unused duplicate variables
|
2023-01-02 00:54:08 +00:00 |
|
ancientmarinerdev
|
8c648d1fc3
|
Refactor mob_step and do_states
|
2023-01-02 00:00:40 +00:00 |
|
ancientmarinerdev
|
254caaff37
|
Merge conflict fixes for release 0.81.1
|
2022-12-14 21:38:53 +00:00 |
|
CyberMango
|
f7f2b97b13
|
Fixed #2313 - baby mobs cant jump over blocks.
Simply removed a line that specifies they shouldnt do that.
|
2022-12-10 19:54:44 +02:00 |
|
cora
|
318da7e3c9
|
Fix local go_to_pos call
|
2022-11-28 03:26:51 +01:00 |
|
cora
|
7bd0b5a9b1
|
Some more missing arg fixes
|
2022-11-27 14:53:16 +01:00 |
|
cora
|
2b691dea07
|
Fix some more global var warnings
|
2022-11-27 14:53:16 +01:00 |
|
cora
|
db63f1c453
|
fix leftover pi shortcut
|
2022-11-27 14:53:16 +01:00 |
|
cora
|
faa38ffab8
|
Fix some warnings
|
2022-11-27 14:53:16 +01:00 |
|
cora
|
80490b4c11
|
Move smooth rotation to separate function
|
2022-11-27 14:53:16 +01:00 |
|
cora
|
a25cd921f2
|
move do_states to movement.lua
|
2022-11-27 14:53:16 +01:00 |
|