1
0
mirror of https://codeberg.org/tenplus1/mobs_redo.git synced 2024-11-18 08:10:23 +01:00
Commit Graph

559 Commits

Author SHA1 Message Date
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
tenplus1
b74e75ef8b code tidy and default sounds fix 2022-10-07 10:29:23 +01:00
tenplus1
8e3a85546c api.txt updated with mapgen_dirt entry 2022-10-01 07:17:07 +01:00
tenplus1
561903d075 revert node position (git gui test) 2022-09-30 08:32:50 +01:00
tenplus1
bf7ff7ab5f fix node position 2022-09-30 08:31:30 +01:00
tenplus1
431d3844a6 tidy code 2022-09-29 14:15:21 +01:00
tenplus1
b4a8ce71c6 add damage_radius and texture to mobs:boom() 2022-09-22 08:04:58 +01:00
tenplus1
2935d1ee5d have mobs jump slightly when grown to avoid being caught in floor 2022-09-18 11:17:58 +01:00
tenplus1
5bc547b333 tweak mod following to work better 2022-09-06 11:32:50 +01:00
tenplus1
bad1be5c5a check pos/def for nil value in add_mob function 2022-09-03 16:13:41 +01:00
tenplus1
83f0b901a4 add self.messages field 2022-08-04 08:21:59 +01:00
tenplus1
e4ac59609a add mob protection to infotext 2022-07-31 10:20:32 +01:00
tenplus1
7ac8506dda add fallback node for is_node_dangerous 2022-07-29 18:52:28 +01:00
tenplus1
90df44aeaf comment unused vars 2022-07-22 14:12:30 +01:00
tenplus1
25ab9591e4 add 'can_leap' setting to mob def, update api.txt 2022-07-12 08:37:38 +01:00
tenplus1
8e6fa64f2d fix premature mob death and drops 2022-07-07 17:09:34 +01:00
tenplus1
ce7c4c1449 adjust mob count when using /clear_mobs 2022-07-04 11:00:52 +01:00
tenplus1
08dcdf382a add /clear_mobs command 2022-07-04 10:43:28 +01:00
tenplus1
d2a4150dcb extend mob reach when on top of player to fix issue 2022-06-28 08:08:35 +01:00
tenplus1
ca34cc2274 fix api typo (thanks bastrabun :) 2022-05-21 08:04:38 +01:00
tenplus1
168014b86f tidy api 2022-05-14 11:21:36 +01:00
tenplus1
6f8b6fe3f5 select proper animation for flying mobs 2022-05-01 08:15:25 +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
7b429df9e9 tweak riding functions 2022-04-21 08:28:35 +01:00
tenplus1
0e72f0ca81 tweak mobs.drive() speed (thanks auouymous) 2022-04-18 08:31:25 +01:00
tenplus1
fb42be6b28 nil checks 2022-03-14 08:29:25 +00:00