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

677 Commits

Author SHA1 Message Date
tenplus1
313382dcaa increase go_to time to 20 and add force flag to do_attack 2024-05-25 07:50:16 +01:00
tenplus1
1536b9a5fc add mob_class:go_to(pos) function 2024-05-24 17:28:35 +01:00
tenplus1
be2d630fdf add ":" to beginning of egg registration to help with mobs registered outwith mod name 2024-05-05 07:55:49 +01:00
tenplus1
99bea53af3 make on_death compatible (return either player or nil) 2024-04-26 11:07:08 +01:00
tenplus1
d20dfa0b41 added check for on_death() function before api's own on_die() 2024-04-26 07:44:39 +01:00
tenplus1
e9180febc6 fix baby mob textures when grown 2024-04-25 08:29:48 +01:00
tenplus1
c4561a2207 mount.lua nil check 2024-04-16 10:41:01 +01:00
tenplus1
998637fc3d added infotext and mob follows improvements (thx Kazooo) 2024-04-08 08:37:59 +01:00
tenplus1
de0914312c stop swimming mobs going above water surface 2024-04-02 09:16:59 +01:00
tenplus1
5a6ec7080f attacking mobs should stay inside their own medium 2024-04-01 14:54:55 +01:00
tenplus1
129b24b159 add entity name in infotext 2024-03-12 11:13:16 +00:00
tenplus1
35cc60c355 tweak saddle recipe, fix spawner error 2024-03-08 15:04:58 +00:00
tenplus1
903b1e34df fix default self.state 2024-03-03 17:30:22 +00:00
tenplus1
87d13c857f replace :distance with get_distance() function 2024-03-03 17:09:30 +00:00
tenplus1
17dafff8ef add attack_ignore feature (thx ShadowOfHassen for idea) 2024-03-01 16:01:18 +00:00
tenplus1
95f3e98867 set is_ground_content for spawner and meat blocks (thx SwissAlpS) 2024-02-27 08:05:02 +00:00
tenplus1
b3b89e6dea fix spawner chance 2024-02-23 17:12:14 +00:00
tenplus1
822e78fd32 tweak player detection (thx whosit) 2024-02-23 17:09:42 +00:00
tenplus1
dd9b3d7add if punch_attack_uses is 0 then dont add wear to tool 2024-02-20 07:47:37 +00:00
tenplus1
d4a25064ea use alternative to colorspec_to_bytes 2024-02-01 08:34:46 +00:00
tenplus1
70118fc8da only update object props when changes (thx whosit) 2024-01-31 09:59:31 +00:00
tenplus1
7c7a7345af change nametag texture and description to stand out from mineclone version 2024-01-30 08:02:17 +00:00
tenplus1
ceefbcec39 add some missing mineclone groups 2024-01-29 16:01:59 +00:00
tenplus1
97771f8e65 add self.node_damage flag (true by default) 2024-01-26 13:05:43 +00:00
tenplus1
1cacb02a6a add missing formspec escape 2024-01-21 09:34:45 +00:00
tenplus1
47e91b9b6b add pint sized rune to shrink tamed animals 2024-01-12 10:44:39 +00:00
tenplus1
a6a3b44c96 ability to override initial_properties when using minetest.add_entity() 2023-12-29 08:41:45 +00:00
tenplus1
be7b6bc5fe can now add 'nametag = "mob name"' in mob definition 2023-12-05 08:23:04 +00:00
tenplus1
68076c7626 add back arrows physical setting 2023-12-02 07:47:13 +00:00
tenplus1
099d15d810 mob arrows now use raycasting to be more accurate 2023-11-29 12:11:45 +00:00
tenplus1
412066fc07 add support for visual_harm_1ndicators mod (thx Mantar) 2023-11-20 07:57:20 +00:00
tenplus1
bb66ffe335 simplify homing 2023-11-16 11:57:07 +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
d1f23e8ed8 add spawn check for collisionbox 2023-11-11 07:33:30 +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
712f7f85fd Fix mob damage and jumping when riding mob. 2023-10-28 15:22:45 +01:00
tenplus1
6049a1c140 update api.txt 2023-10-26 07:17:17 +01:00
tenplus1
ba79c2f1f1 check for fire/lava in mob collisionbox area 2023-10-26 07:15:55 +01:00
tenplus1
ed74f3c4c4 add :is_inside() function (thx cora for idea) 2023-10-24 09:34:20 +01:00
tenplus1
a62bfe3828 tweak spawn log msg 2023-10-22 11:48:21 +01:00
tenplus1
bf79985730 harden spawn log message 2023-10-22 11:35:40 +01:00
tenplus1
ce47b81da5 mobs:add_mob() can now set mob texture 2023-10-15 11:25:20 +01:00
tenplus1
768ef84bd8 use api functions for riding mob 2023-10-13 08:31:55 +01:00
tenplus1
71e620eb0f revert kb change 2023-10-12 08:23:41 +01:00
tenplus1
221029e857 add taming countdown infotext, fix knockback 2023-10-12 08:06:57 +01:00
tenplus1
e8adf9b244 only show breed infotext if mob can breed 2023-10-11 10:41:58 +01:00
tenplus1
457eb1838c code tweaks 2023-10-08 16:44:42 +01:00
tenplus1
7f1ad09870 fix nil var 2023-10-08 07:41:06 +01:00
tenplus1
812f18430c moved mob entities to use initial_properties 2023-10-07 12:13:07 +01:00