tenplus1
f5ccec9b60
better way to reset pause_timer with "stand" order
2023-04-27 10:21:31 +01:00
tenplus1
6af671997b
pause timer reset
2023-04-26 09:53:07 +01:00
tenplus1
eb6bc6e349
mobs ordered to "stand", fix knockback
2023-04-26 09:46:57 +01:00
tenplus1
ce9c30949c
fix group attack anim reset, tidy code
2023-04-26 09:16:38 +01:00
tenplus1
6cce24f04e
simplify yaw clamping
2023-04-25 12:54:54 +01:00
tenplus1
4bdd8eaa5f
2nd attempt at clamping yaw to stop spinny mobs
2023-04-23 16:34:35 +01:00
tenplus1
36a26d2d21
code tidy
2023-04-03 11:53:05 +01:00
tenplus1
6b9331064c
add staticdata clean function, update api.txt
2023-04-03 08:08:37 +01:00
tenplus1
407b2e7b56
reset parent movement after baby born
2023-03-31 14:14:43 +01:00
tenplus1
5e67163d09
fix flying mobs sinking into water
2023-03-28 14:11:30 +01:00
tenplus1
81f99931fc
fix nil check for on_spawn
2023-03-28 07:57:31 +01:00
tenplus1
d290062a33
fix friendly fire bug and add provide moveresult information to do_custom
2023-03-27 10:48:05 +01:00
tenplus1
cd4fb6f2a6
add friendly_fire mob setting for arrows (thx eschan145)
2023-03-26 08:31:40 +01:00
tenplus1
3bd2ee8129
code tidy, updated readme (thx eschan145)
2023-03-25 08:47:31 +00:00
tenplus1
076b9480b7
fix type and update readme
2023-03-17 10:30:26 +00:00
tenplus1
7e585b0bdc
add check for 'injured' animation
2023-03-13 11:52:59 +00:00
tenplus1
0c2ddab172
fix env timer issue
2023-03-13 11:24:52 +00:00
tenplus1
f4aae8894f
add mob_hit_effect switch so mob highlights when punched
2023-03-13 10:55:25 +00:00
tenplus1
c8e8401ac5
add mob_height_fix setting so it can be disabled.
2023-03-12 11:35:21 +00:00
tenplus1
733672127c
add animation nil check
2023-03-10 08:09:15 +00:00
tenplus1
59fe1dd976
add return true to on punch
2023-03-04 07:21:54 +00:00
tenplus1
d7ba911181
turn/animate mob on knockback, code tidy
2023-03-03 11:56:49 +00:00
tenplus1
924a545788
update pathfinding defaults to add settings (thx Bla)
2023-02-27 18:13:32 +00:00
tenplus1
61b544d493
better water avoidance and escape
2023-02-08 11:59:40 +00:00
tenplus1
bbcdc4b67d
fix variable error (thx Niklp)
2023-01-19 17:46:07 +00:00
tenplus1
bbd7a08591
clean aliased mob staticdata
2022-12-22 13:19:24 +00:00
tenplus1
86b6a1a950
check staticdata for egg capture
2022-12-13 12:33:11 +00:00
tenplus1
54cb8f487e
remove yaw clamping, causes mob jitters
2022-11-28 13:36:28 +00:00
tenplus1
4e963e6b90
update punch sound to cc0 version
2022-11-25 18:47:15 +00:00
tenplus1
5c9e057ad1
add ability to read 'looting_level' from tool definition and meta for extra drops
2022-11-15 10:39:59 +00:00
tenplus1
d4145ddd3d
tidy some luacheckrc warnings
2022-10-31 15:05:34 +00:00
tenplus1
33beec64dc
fix peaceful player check
2022-10-27 16:57:53 +01:00
tenplus1
088bdc5350
localise math.deg
2022-10-21 12:14:11 +01:00
tenplus1
c003c2e72b
fix smooth rotation jitters
2022-10-21 11:56:54 +01:00
tenplus1
1450b25ca4
mobs_class made global (be careful anyone changing this)
2022-10-15 08:50:27 +01:00
tenplus1
561903d075
revert node position (git gui test)
2022-09-30 08:32:50 +01:00
tenplus1
bf7ff7ab5f
fix node position
2022-09-30 08:31:30 +01:00
tenplus1
431d3844a6
tidy code
2022-09-29 14:15:21 +01:00
tenplus1
b4a8ce71c6
add damage_radius and texture to mobs:boom()
2022-09-22 08:04:58 +01:00
tenplus1
2935d1ee5d
have mobs jump slightly when grown to avoid being caught in floor
2022-09-18 11:17:58 +01:00
tenplus1
5bc547b333
tweak mod following to work better
2022-09-06 11:32:50 +01:00
tenplus1
bad1be5c5a
check pos/def for nil value in add_mob function
2022-09-03 16:13:41 +01:00
tenplus1
83f0b901a4
add self.messages field
2022-08-04 08:21:59 +01:00
tenplus1
e4ac59609a
add mob protection to infotext
2022-07-31 10:20:32 +01:00
tenplus1
7ac8506dda
add fallback node for is_node_dangerous
2022-07-29 18:52:28 +01:00
1795be3156
Merge upstream 'master' from https://notabug.org/TenPlus1/mobs_redo into main
...
* update api of unused variables reported from legen of minetest game
* closed https://notabug.org/TenPlus1/mobs_redo/issues/118
2022-07-22 09:19:00 -04:00
tenplus1
90df44aeaf
comment unused vars
2022-07-22 14:12:30 +01:00
tenplus1
25ab9591e4
add 'can_leap' setting to mob def, update api.txt
2022-07-12 08:37:38 +01:00
tenplus1
8e6fa64f2d
fix premature mob death and drops
2022-07-07 17:09:34 +01:00
tenplus1
ce7c4c1449
adjust mob count when using /clear_mobs
2022-07-04 11:00:52 +01:00
tenplus1
08dcdf382a
add /clear_mobs command
2022-07-04 10:43:28 +01:00
tenplus1
d2a4150dcb
extend mob reach when on top of player to fix issue
2022-06-28 08:08:35 +01:00
3b03af0ba1
better checks for nil on find method and player object
...
* really closes https://notabug.org/TenPlus1/mobs_redo/issues/114 again
* really closes #107
* nil checks
* improve the previous commit f78202cf8e1d4ba59bbe57cf774d2ba26b69ffc3
2022-06-14 13:13:19 -04:00
f8db9f0f39
Upstream sync branch 'master' of https://notabug.org/TenPlus1/mobs_redo into main
...
* select proper animation for flying mobs
* tweak mobs.drive() speed
* tweak riding functions
2022-06-14 12:58:53 -04:00
tenplus1
168014b86f
tidy api
2022-05-14 11:21:36 +01:00
tenplus1
6f8b6fe3f5
select proper animation for flying mobs
2022-05-01 08:15:25 +01:00
tenplus1
dd16d63e8e
revert hover
2022-04-30 14:35:59 +01:00
tenplus1
7bb5e2b382
add "hover" animation
2022-04-30 12:26:36 +01:00
tenplus1
7b429df9e9
tweak riding functions
2022-04-21 08:28:35 +01:00
root
f78202cf8e
better checks for nil on find method
...
* really closes https://notabug.org/TenPlus1/mobs_redo/issues/114 again
* really closes https://codeberg.org/minenux/minetest-mod-mobs_redo/issues/107
* nil checks
* Merge branch 'master' of https://notabug.org/TenPlus1/mobs_redo into main
* improve the previous commit a45f91c512 avoiting gotos
2022-03-14 07:58:06 -05:00
tenplus1
fb42be6b28
nil checks
2022-03-14 08:29:25 +00:00
a45f91c512
better fix for check nil
...
* close https://notabug.org/TenPlus1/mobs_redo/issues/114
* close https://codeberg.org/minenux/minetest-mod-mobs_redo/issues/107
2022-03-13 15:44:00 -04:00
1921a03b45
Fix depends, add nil check, sync upstream
...
* Merge branch 'master' of https://notabug.org/TenPlus1/mobs_redo into main
* add nil check: f54c3da9d7 (diff-d2643c2921d034dfcc814205174726af270f51bR277)
close https://notabug.org/TenPlus1/mobs_redo/issues/114
close https://codeberg.org/minenux/minetest-mod-mobs_redo/issues/107
* force depends on default and player_api
2022-03-13 15:35:07 -04:00
tenplus1
f54c3da9d7
add nil check
2022-03-13 16:30:20 +00:00
tenplus1
9f74408792
remove owner infotext if no owner present
2022-02-05 12:25:01 +00:00
71ccf3d71b
Merge branch 'master' of https://notabug.org/TenPlus1/mobs_redo into main
2022-01-21 08:47:02 -04:00
tenplus1
18c7f0a422
update translation checks (thanks mckaygerhard)
2022-01-20 08:54:08 +00:00
4c0d19ee2d
fix translation for older versions of engine
...
* the intlib is working but not as proposed
* if there no translation provided do a mock for translations
* this made compatiblity for any version of the engine
2022-01-19 15:29:08 -04:00
TenPlus1
f01e8a61d0
rename var
2022-01-16 07:44:53 +00:00
TenPlus1
b756aa50f5
fix crash (thanks SwissalpS)
2022-01-16 07:05:49 +00:00
TenPlus1
e83620553d
add mobs:is_node_dangerous(self, nodename) global function
2022-01-15 09:41:21 +00:00
TenPlus1
6a4a02f3fb
fix translations (thanks nixnoxus)
2021-12-12 08:13:54 +00:00
TenPlus1
5d88766b74
add pointed_thing to on_rightclick vars
2021-11-16 20:22:15 +00:00
TenPlus1
00db86c924
fix intllib return
2021-11-14 14:18:28 +00:00
TenPlus1
26ec61ee29
lasso can pick up animal babies
2021-09-20 10:49:19 +01:00
TenPlus1
a8ca00dc56
fix self.follow list
2021-09-05 08:16:40 +01:00
TenPlus1
4c80a55c04
add breeding info on hover and items followed on shift+rightclick mob (thanks nixnoxus)
2021-08-16 10:48:16 +01:00
TenPlus1
deee28fc59
added 'arrow_override' function to mob definition
2021-08-01 18:58:21 +01:00
TenPlus1
ab44080ff8
do not despawn tamed monsters
2021-07-31 08:35:53 +01:00
TenPlus1
2535b5636e
add support for MarkBu's pathfinder mod
2021-07-22 09:34:21 +01:00
TenPlus1
2d014a75c4
tweak "stand" mobs velocity
2021-07-21 19:38:41 +01:00
TenPlus1
29b2204f7c
add 'mobs_spawn_monster_protected' switch (thanks 0siribix)
2021-07-14 15:43:02 +01:00
TenPlus1
7fbfd9d59c
fix "stand" mobs fall jitter
2021-07-13 16:56:53 +01:00
TenPlus1
e50d04a6aa
fix facing fence jump bug
2021-06-14 09:30:03 +01:00
TenPlus1
33589ebda0
improve pathfinding level 2 digging/building, add infotext, stop mob attack spin, tweak & tidy code
2021-06-13 09:39:59 +01:00
TenPlus1
6670938c3d
add mob height check for glitching through blocks
2021-06-11 22:25:00 +01:00
TenPlus1
f131806008
add 'mob_smooth_rotate' setting
2021-06-01 14:17:25 +01:00
TenPlus1
49325c9c8d
fix weapon sound selection
2021-05-27 15:42:21 +01:00
TenPlus1
ec44aa91c4
add 'damage_group' and 'damage_texture_modifier' settings to mob definition
2021-05-15 09:33:35 +01:00
TenPlus1
350fc3647c
add extra settings to arrow definition
2021-05-04 08:02:43 +01:00
TenPlus1
70c68f6ebc
change so only players can push mobs
2021-04-18 09:05:16 +01:00
TenPlus1
9be934ec25
make it possible to use advanced protector on normally protected mob
2021-04-13 12:41:09 +01:00
TenPlus1
f6e16a5503
return actual damage position (created particle py), check for nil damage groups
2021-04-11 17:23:22 +01:00
TenPlus1
c06d071220
allow players with 'protection_bypass' to rename owned tamed mobs
2021-04-07 10:35:36 +01:00
TenPlus1
ccbfe93f12
players with protection_bypass can pick up owned animals from other players
2021-04-06 15:26:36 +01:00
TenPlus1
6750d176ee
tweak damage and protectors
2021-04-05 08:52:48 +01:00
TenPlus1
246b2769f7
add level 2 mob protector
2021-04-04 22:25:40 +01:00
TenPlus1
34b06df758
add ability to follow group: items
2021-03-23 17:09:26 +00:00
TenPlus1
0f1f3b4fb3
simplify mobs floating in water
2021-03-18 20:23:55 +00:00
TenPlus1
774ce6671f
add 'ignore_invisibility' setting to mob definition
2021-03-10 08:14:42 +00:00