628 Commits

Author SHA1 Message Date
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
ca34cc2274 fix api typo (thanks bastrabun :) 2022-05-21 08:04:38 +01: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
tenplus1
0e72f0ca81 tweak mobs.drive() speed (thanks auouymous) 2022-04-18 08:31:25 +01:00
mckayshirou
db3b6211c7 move player_api to optinal due compatibility with multicraft mutiprotocol 2022-03-23 16:26:28 -05: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
65e369e5fc add 0.4.x compatibility when riding mod 2022-03-01 09:04:38 +00:00
b49abcc9a4 backguard compatibility for mount.lua
* close https://notabug.org/TenPlus1/mobs_redo/issues/112
* close https://codeberg.org/minenux/minetest-mod-mobs_redo/issues/106
2022-02-28 17:40:59 -04: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
e8e277123f update readme for minenux 2022-01-19 15:38:11 -04: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
2fb7bf2c66 update api.txt for mob_object change 2022-01-18 06:41:29 +00: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
e5d1958e16 add nil checks for riding mobs 2022-01-03 17:35:51 +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
d31da2d069 mod loaded msg 2021-11-14 14:21:32 +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-23 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
9f46182bb4 remove need for default mod 2021-07-22 09:48:56 +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
db3831dccf update api.txt 2021-07-14 15:53:20 +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
8012250258 nil check for mount 2021-05-21 17:46:10 +01:00
TenPlus1
ec44aa91c4 add 'damage_group' and 'damage_texture_modifier' settings to mob definition 2021-05-15 09:33:35 +01:00