1
0
mirror of https://codeberg.org/tenplus1/mobs_redo.git synced 2024-12-24 01:30:22 +01:00
Commit Graph

378 Commits

Author SHA1 Message Date
TenPlus1
a934d80631 added some node checks and damage returns 2020-04-27 13:17:20 +01:00
TenPlus1
f2cc0446b0 cant attack if running away 2020-04-26 21:16:46 +01:00
TenPlus1
bff313267b re-enable raycasting line of sight (should work now) 2020-04-12 12:14:42 +01:00
tenplus1
9b0ff17101 add sanity check to do_punch 2020-04-11 17:51:15 +01:00
tenplus1
dde9896a1a add sanity check to do_jump 2020-04-11 17:46:07 +01:00
TenPlus1
92c899e6a4 mob egg sanity checks 2020-04-07 08:41:41 +01:00
TenPlus1
4634288124 add falling sanity check 2020-04-07 08:36:57 +01:00
TenPlus1
610cef16f4 add some sanity checks 2020-04-06 09:30:50 +01:00
tenplus1
9c60e96336 add value for nil yaw 2020-03-26 19:33:16 +00:00
TenPlus1
dc3ed1dfe3 add nil checks 2020-03-12 20:36:23 +00:00
TenPlus1
ff4bb540e1 on_blast returns no damage, knockback or items 2020-03-06 19:43:35 +00:00
TenPlus1
9f5e6eb85f added missing return value to do_env_damage 2020-03-06 13:23:53 +00:00
TenPlus1
ad5b444b65 added do_env_damage flags when hurt and nil check when damaged 2020-03-06 13:17:18 +00:00
TenPlus1
0156e04ebd another just-in-case nil check 2020-02-27 17:15:51 +00:00
tenplus1
62bd960e38 added nil check for velocity 2020-02-26 21:28:04 +00:00
TenPlus1
9c00616a00 chinese local added (thanks IFRFSX) 2020-02-14 11:23:20 +00:00
tenplus1
813909c86c add hard limit of 10 to mob velocity functions 2020-02-07 12:43:18 +00:00
TenPlus1
68fef94ba8 updated api.txt 2020-01-31 20:24:38 +00:00
TenPlus1
92ab4eeb2e mob alias now transfers staticdata (thanks MoNTE48) 2020-01-23 09:27:27 +00:00
TenPlus1
c5b74230e5 on_replace returns node names, even when groups used 2020-01-12 09:42:28 +00:00
TenPlus1
5958270158 add glow setting to mob entity, update api.txt 2020-01-09 09:38:46 +00:00
TenPlus1
b9ad166821 check cliff drop every 1/4 second instead of 1 second 2019-11-16 12:52:35 +00:00
TenPlus1
b588452dea drops can now be a function, also code tidy 2019-09-12 09:44:45 +01:00
TenPlus1
d6bd538a35 if mob standing in solid block then jump to escape 2019-08-23 08:25:06 +01:00
TenPlus1
2ca012e30b replace deprecated settexturemod with set_texture_mod 2019-08-13 08:29:11 +01:00
TenPlus1
c7838e5517 code tidy ' to " 2019-08-05 09:55:12 +01:00
TenPlus1
38232d5ef4 only spawn mob if player is within active area (useful for world anchors and force loaded areas) 2019-06-30 19:10:37 +01:00
TenPlus1
26cc611ad4 dont spawn mobs if world anchor found nearby 2019-06-30 12:47:28 +01:00
TenPlus1
1a85cf7e2c mobs cannot spawn within 8 blocks of player, update api.txt 2019-06-30 10:35:34 +01:00
TenPlus1
06dbdb1c44 disabled the new raycasting line of sight due to mob attack issues 2019-06-28 20:33:23 +01:00
TenPlus1
f040ee5bc7 fix nil value when mob not available 2019-06-15 20:37:16 +01:00
TenPlus1
7179dc86e6 add mob check for mob_reset_stick 2019-05-28 09:35:37 +01:00
TenPlus1
1de0c34283 code tidy 2019-05-24 14:30:42 +01:00
TenPlus1
e4ca52fafb fix nil check 2019-05-20 17:26:20 +01:00
TenPlus1
975175e7b8 fix mobs:line_of_sight() global function to use entity reference 2019-05-13 16:07:42 +01:00
TenPlus1
0bc62cbf74 typo fix 2019-05-11 14:42:53 +01:00
TenPlus1
392974e835 added new line_of_sight that uses raycasting when mt5.0 is found (thanks Astrobe) 2019-05-08 16:14:49 +01:00
TenPlus1
ddbd403285 add stand_chance and animation force flag 2019-04-30 11:27:26 +01:00
TenPlus1
55dda6da83 force defined model on activation instead of stored 2019-04-02 08:41:09 +01:00
TenPlus1
26a520e214 sneak and punch mob with mob reset stick to add custom texture 2019-03-28 18:37:46 +00:00
TenPlus1
a1d4e9bbfc add mobs:mob_reset_stick 2019-03-23 18:36:22 +00:00
TenPlus1
8da3bb5cb1 add do_stay_near function, fix annoying pathfinding sounds and toolrank wear 2019-01-24 11:14:25 +00:00
TenPlus1
d3f5ead4fa add new flight check function by taikedz 2019-01-17 09:29:39 +00:00
TenPlus1
980a47bdab fix : to . 2019-01-07 16:29:04 +00:00
TenPlus1
0015b01834 after_spawn fix... thanks GreenDiamond 2019-01-07 16:25:10 +00:00
TenPlus1
78ef560852 fix nametag bug when self.follow is nil 2018-12-29 12:19:51 +00:00
TenPlus1
487e037cc9 added mobs:force_capture() function, api now uses metatables thanks to bell07 2018-12-20 11:14:10 +00:00
TenPlus1
aeb802ad40 forgot to revert testing returns, oopsie! fixed! 2018-12-17 09:17:36 +00:00
TenPlus1
70d2f6399d fix nil error (thanks wziard) 2018-12-09 18:51:10 +00:00
TenPlus1
47d8439913 add mobs:set_velocity(self,v) global, function 2018-12-04 14:39:37 +00:00