1
0
mirror of https://codeberg.org/tenplus1/mobs_redo.git synced 2024-12-25 18:20:20 +01:00
Commit Graph

132 Commits

Author SHA1 Message Date
tenplus1
d4145ddd3d tidy some luacheckrc warnings 2022-10-31 15:05:34 +00:00
tenplus1
8e3a85546c api.txt updated with mapgen_dirt entry 2022-10-01 07:17:07 +01:00
tenplus1
b4a8ce71c6 add damage_radius and texture to mobs:boom() 2022-09-22 08:04:58 +01:00
tenplus1
25ab9591e4 add 'can_leap' setting to mob def, update api.txt 2022-07-12 08:37:38 +01:00
tenplus1
ca34cc2274 fix api typo (thanks bastrabun :) 2022-05-21 08:04:38 +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
2fb7bf2c66 update api.txt for mob_object change 2022-01-18 06:41:29 +00:00
TenPlus1
e83620553d add mobs:is_node_dangerous(self, nodename) global function 2022-01-15 09:41:21 +00:00
TenPlus1
deee28fc59 added 'arrow_override' function to mob definition 2021-08-01 18:58:21 +01:00
TenPlus1
db3831dccf update api.txt 2021-07-14 15:53:20 +01:00
TenPlus1
f131806008 add 'mob_smooth_rotate' setting 2021-06-01 14:17:25 +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
6750d176ee tweak damage and protectors 2021-04-05 08:52:48 +01:00
TenPlus1
34b06df758 add ability to follow group: items 2021-03-23 17:09:26 +00:00
TenPlus1
774ce6671f add 'ignore_invisibility' setting to mob definition 2021-03-10 08:14:42 +00:00
TenPlus1
bf32a09e5e on_flop and air_damage added 2020-12-06 09:53:02 +00:00
TenPlus1
9489ff6965 add option to spin mob when playing death animation 2020-12-06 08:55:17 +00:00
TenPlus1
1dfd7e1af1 simplified breeding function, added some settings 2020-12-05 12:06:34 +00:00
TenPlus1
a4d2918383 add mob_area_spawn setting 2020-11-30 14:43:49 +00:00
TenPlus1
d12576f0c8 mobs:can_spawn function added to check free space to spawn mob 2020-10-29 10:46:59 +00:00
TenPlus1
89523195d5 fix typo in api.txt 2020-09-05 08:59:09 +01:00
TenPlus1
499d43a9aa added 'on_map_load' setting to mobs:spawn function to spawn mob in newly loaded areas of map only 2020-09-04 13:59:14 +01:00
TenPlus1
ae62b1410d update api.txt 2020-08-19 12:07:44 +01:00
tenplus1
cb465559a1 code tweak and tidy 2020-07-25 10:52:29 +01:00
tenplus1
ec3c6fb518 update api.txt 2020-07-20 07:36:39 +01:00
tenplus1
81dd3d75c0 add randomly_turn setting to mob definition 2020-07-17 20:58:52 +01:00
TenPlus1
dfdd55848d mobs:add_mob() returns object spawned or false if not 2020-06-25 09:33:59 +01:00
tenplus1
e63b1b478e add mobs:add_mob() function 2020-06-22 21:24:06 +01:00
tenplus1
ec122aa6de add particle effect global function, arrow lifetime, api.txt update 2020-06-20 10:07:32 +01:00
tenplus1
245128f9e6 tweak custom attack function 2020-06-19 16:07:29 +01:00
tenplus1
3a17c471ae added 'texture_mods' to mob definition to add overlay textures 2020-05-16 14:43:03 +01:00
tenplus1
85faeea604 added 'mob_active_limit' to limit mobs in game 2020-05-16 10:44:38 +01:00
tenplus1
b610a81a58 fixed table search issue for replacing nodes, added 'group_helper' for group attacks 2020-05-13 08:12:56 +01:00
TenPlus1
f98d769e15 added 'mob_nospawn_range' setting 2020-05-01 19:30:29 +01:00
TenPlus1
32e8d069f7 enable suffocation, add area check when spawning, code tidy and tweaks 2020-05-01 10:29:12 +01:00
TenPlus1
8b25ab4988 add 'keep_flying' flag and random vertical flight changes 2020-04-29 20:15:35 +01:00
tenplus1
064b59f01d Added few sanity checks, higher pitch sounds for child mobs 2020-04-29 15:01:21 +01:00
TenPlus1
68fef94ba8 updated api.txt 2020-01-31 20:24:38 +00:00
TenPlus1
92ab4eeb2e mob alias now transfers staticdata (thanks MoNTE48) 2020-01-23 09:27:27 +00:00
TenPlus1
5958270158 add glow setting to mob entity, update api.txt 2020-01-09 09:38:46 +00:00
TenPlus1
b588452dea drops can now be a function, also code tidy 2019-09-12 09:44:45 +01:00
TenPlus1
1a85cf7e2c mobs cannot spawn within 8 blocks of player, update api.txt 2019-06-30 10:35:34 +01:00
TenPlus1
392974e835 added new line_of_sight that uses raycasting when mt5.0 is found (thanks Astrobe) 2019-05-08 16:14:49 +01:00
TenPlus1
ddbd403285 add stand_chance and animation force flag 2019-04-30 11:27:26 +01:00
TenPlus1
8da3bb5cb1 add do_stay_near function, fix annoying pathfinding sounds and toolrank wear 2019-01-24 11:14:25 +00:00
TenPlus1
487e037cc9 added mobs:force_capture() function, api now uses metatables thanks to bell07 2018-12-20 11:14:10 +00:00
TenPlus1
43026c374e add self.disable_falling switch for custom routines 2018-11-29 12:14:54 +00:00
TenPlus1
71669d3c59 if mob jumps against wall 4 times then turn, moved back to old line_of_sight function 2018-11-01 09:49:15 +00:00