1
0
mirror of https://codeberg.org/tenplus1/mobs_redo.git synced 2025-01-09 17:30:21 +01:00
Commit Graph

584 Commits

Author SHA1 Message Date
tenplus1
430af1e91d add 'mobs_disable_damage_kb' setting 2024-10-20 09:19:52 +01:00
tenplus1
79fb4f7ead disable follow_stop 2024-10-19 15:06:59 +01:00
tenplus1
f746f4b1e0 fix knockback when breeding 2024-10-12 10:27:25 +01:00
tenplus1
e59fd53ee9 make sure def.gain has a value 2024-10-11 10:24:07 +01:00
tenplus1
faf511ff8c fix visharm indicate on active 2024-10-10 11:30:22 +01:00
tenplus1
a35afc8299 disable node hearing by default 2024-10-10 10:37:47 +01:00
tenplus1
219db764bf forgot def.loudness check 2024-10-02 15:51:05 +01:00
tenplus1
e4a5ead82c pass def onto hearing nodes 2024-10-02 15:13:37 +01:00
tenplus1
f4861ced2a add on_sound node support and example. 2024-10-02 14:57:07 +01:00
tenplus1
1dd81eb008 tweak mob hear function 2024-10-01 09:08:52 +01:00
tenplus1
64c6085f09 wee jump bug 2024-09-17 09:43:01 +01:00
tenplus1
e8e774566b tweak collision, falling and arrow drops. 2024-09-14 12:25:52 +01:00
tenplus1
e55bf4d951 mob hear nil check for player 2024-09-14 07:51:06 +01:00
tenplus1
f1b5a66049 lil tweak 2024-09-08 15:55:26 +01:00
tenplus1
26215cd221 add min_y and max_y to spawning abm/lbm's 2024-08-23 17:37:51 +01:00
tenplus1
29314186b3 tweak damage 2024-08-23 15:07:08 +01:00
tenplus1
a8297e6a8e tidy and tweak code, implement sound check for mineclon* 2024-08-10 13:18:57 +01:00
tenplus1
bc6b8931da tidy code 2024-08-09 14:46:28 +01:00
tenplus1
3e24677649 Add basic mineclonia enchantments (sharpness, fire_aspect, knockback) 2024-08-09 09:15:06 +01:00
tenplus1
57d6859b93 tweak loudness calculation for mod hearing 2024-08-04 08:25:48 +01:00
tenplus1
1f6867bf25 alternative to using on_punch for hearing ability, remove food xp desc 2024-08-03 23:47:21 +01:00
tenplus1
b1da38456d quick value change for mob listening 2024-08-03 16:59:44 +01:00
tenplus1
341f92f118 harden sound_play checks 2024-08-03 11:56:52 +01:00
tenplus1
964451fd78 add mob hearing feature and self.on_sound() function 2024-08-03 11:35:28 +01:00
tenplus1
77b53b9054 fix timer bug 2024-07-16 07:21:50 +01:00
tenplus1
fc7269cc8c remove fallback node from inventory and update version 2024-07-01 09:28:05 +01:00
tenplus1
fb2a247d31 change fall_damage check to use true/false 2024-07-01 07:49:03 +01:00
tenplus1
91be60be9b add fallback node for when [game] doesn't have dirt alias defined 2024-06-29 08:22:33 +01:00
tenplus1
e11f383589 harden mob limit check 2024-06-20 07:58:04 +01:00
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
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
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
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
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
a6a3b44c96 ability to override initial_properties when using minetest.add_entity() 2023-12-29 08:41:45 +00:00