Commit Graph

159 Commits

Author SHA1 Message Date
tenplus1 17dafff8ef add attack_ignore feature (thx ShadowOfHassen for idea) 2024-03-01 16:01:18 +00:00
tenplus1 97771f8e65 add self.node_damage flag (true by default) 2024-01-26 13:05:43 +00:00
tenplus1 be7b6bc5fe can now add 'nametag = "mob name"' in mob definition 2023-12-05 08:23:04 +00:00
tenplus1 099d15d810 mob arrows now use raycasting to be more accurate 2023-11-29 12:11:45 +00:00
tenplus1 682d76d7b3 add 'homing' setting to mob definition so that arrows can follow player when visible. 2023-11-16 10:00:10 +00:00
tenplus1 9e27f45663 add self.attack_patience to add custom times, add self.attack nil check to pathfinding 2023-11-06 07:56:18 +00:00
tenplus1 ac5486cc58 tidy code, stop mob attacking if player isnt seen for 11 seconds 2023-11-05 16:30:05 +00:00
tenplus1 6049a1c140 update api.txt 2023-10-26 07:17:17 +01:00
tenplus1 457eb1838c code tweaks 2023-10-08 16:44:42 +01:00
tenplus1 f1daaa4a14 update api.txt 2023-10-05 13:07:02 +01:00
tenplus1 7044e20382 fix typo 2023-08-17 07:30:28 +01:00
tenplus1 042130baca added 'mob_log_spawn' setting to log mob spawning position. 2023-07-30 11:56:08 +01:00
tenplus1 dcc702848f can now add nodes to 'runaway_from' table 2023-07-15 08:58:18 +01:00
tenplus1 194c9f7847 added 'mobs_attack_creatura' setting for monsters to attack Creatura mob mobs 2023-05-26 14:04:50 +01:00
tenplus1 b16eefa0ec add 'mob_node_timer_interval' and 'mob_main_timer_interval' settings to handle function timings 2023-05-19 08:46:37 +01:00
tenplus1 29bc2f27f2 have separate get_nodes function for nodes around mob, update api.txt 2023-05-18 11:19:28 +01:00
tenplus1 14a3dc83e5 if max_light_damage is 16 then use natural light value to damage mob 2023-05-14 10:44:12 +01:00
tenplus1 9c72f0559d update api.txt 2023-05-02 08:38:54 +01:00
tenplus1 6b9331064c add staticdata clean function, update api.txt 2023-04-03 08:08:37 +01:00
tenplus1 cd4fb6f2a6 add friendly_fire mob setting for arrows (thx eschan145) 2023-03-26 08:31:40 +01:00
tenplus1 7e585b0bdc add check for 'injured' animation 2023-03-13 11:52:59 +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 924a545788 update pathfinding defaults to add settings (thx Bla) 2023-02-27 18:13:32 +00:00
tenplus1 92b1a253f0 update api.txt 2023-02-17 09:33:44 +00:00
tenplus1 ba988d514c remove duplicate on_die info (thx Bastrabun) 2023-02-12 10:27:43 +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 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