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

585 Commits

Author SHA1 Message Date
tenplus1
29bc2f27f2 have separate get_nodes function for nodes around mob, update api.txt 2023-05-18 11:19:28 +01:00
tenplus1
1e3d26937e tweak do_jump for better blockage checks 2023-05-18 08:53:08 +01:00
tenplus1
ce53afcfdb when attacking dont call unecessary functions every step 2023-05-17 11:36:55 +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
9a5d4278ff if min/max light set to 15, only kill mob with natural light 2023-05-02 08:35:12 +01:00
tenplus1
f5ccec9b60 better way to reset pause_timer with "stand" order 2023-04-27 10:21:31 +01:00
tenplus1
6af671997b pause timer reset 2023-04-26 09:53:07 +01:00
tenplus1
eb6bc6e349 mobs ordered to "stand", fix knockback 2023-04-26 09:46:57 +01:00
tenplus1
ce9c30949c fix group attack anim reset, tidy code 2023-04-26 09:16:38 +01:00
tenplus1
6cce24f04e simplify yaw clamping 2023-04-25 12:54:54 +01:00
tenplus1
4bdd8eaa5f 2nd attempt at clamping yaw to stop spinny mobs 2023-04-23 16:34:35 +01:00
tenplus1
36a26d2d21 code tidy 2023-04-03 11:53:05 +01:00
tenplus1
6b9331064c add staticdata clean function, update api.txt 2023-04-03 08:08:37 +01:00
tenplus1
407b2e7b56 reset parent movement after baby born 2023-03-31 14:14:43 +01:00
tenplus1
5e67163d09 fix flying mobs sinking into water 2023-03-28 14:11:30 +01:00
tenplus1
81f99931fc fix nil check for on_spawn 2023-03-28 07:57:31 +01:00
tenplus1
d290062a33 fix friendly fire bug and add provide moveresult information to do_custom 2023-03-27 10:48:05 +01:00
tenplus1
cd4fb6f2a6 add friendly_fire mob setting for arrows (thx eschan145) 2023-03-26 08:31:40 +01:00
tenplus1
3bd2ee8129 code tidy, updated readme (thx eschan145) 2023-03-25 08:47:31 +00:00
tenplus1
076b9480b7 fix type and update readme 2023-03-17 10:30:26 +00:00
tenplus1
7e585b0bdc add check for 'injured' animation 2023-03-13 11:52:59 +00:00
tenplus1
0c2ddab172 fix env timer issue 2023-03-13 11:24:52 +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
733672127c add animation nil check 2023-03-10 08:09:15 +00:00
tenplus1
59fe1dd976 add return true to on punch 2023-03-04 07:21:54 +00:00
tenplus1
d7ba911181 turn/animate mob on knockback, code tidy 2023-03-03 11:56:49 +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
61b544d493 better water avoidance and escape 2023-02-08 11:59:40 +00:00
tenplus1
bbcdc4b67d fix variable error (thx Niklp) 2023-01-19 17:46:07 +00:00
tenplus1
bbd7a08591 clean aliased mob staticdata 2022-12-22 13:19:24 +00:00
tenplus1
86b6a1a950 check staticdata for egg capture 2022-12-13 12:33:11 +00:00
tenplus1
54cb8f487e remove yaw clamping, causes mob jitters 2022-11-28 13:36:28 +00:00
tenplus1
a88222a744 update license.txt 2022-11-28 09:09:56 +00:00
tenplus1
d64c0aafeb update license.txt 2022-11-26 08:52:09 +00:00
tenplus1
4e963e6b90 update punch sound to cc0 version 2022-11-25 18:47:15 +00:00
tenplus1
d49c0727f1 replace meatblock textures with own, add raw meatblock 2022-11-24 13:22:09 +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
b0df8145bd update settingtypes.txt 2022-10-31 15:14:52 +00:00
tenplus1
66c1cbe21e add ignore to .luacheckrc 2022-10-31 15:10:32 +00:00
tenplus1
232d1f2df1 update .luacheckrc 2022-10-31 15:08:12 +00:00
tenplus1
d4145ddd3d tidy some luacheckrc warnings 2022-10-31 15:05:34 +00:00
tenplus1
edf846c34c add .uacheckrc file (thanks Niklp) 2022-10-31 14:31:51 +00:00
tenplus1
33beec64dc fix peaceful player check 2022-10-27 16:57:53 +01:00
tenplus1
088bdc5350 localise math.deg 2022-10-21 12:14:11 +01:00
tenplus1
c003c2e72b fix smooth rotation jitters 2022-10-21 11:56:54 +01:00
tenplus1
1450b25ca4 mobs_class made global (be careful anyone changing this) 2022-10-15 08:50:27 +01:00