1
0
mirror of https://codeberg.org/tenplus1/mobs_redo.git synced 2024-12-25 10:10:21 +01:00
Commit Graph

351 Commits

Author SHA1 Message Date
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
TenPlus1
43026c374e add self.disable_falling switch for custom routines 2018-11-29 12:14:54 +00:00
TenPlus1
51ab54bcfa remove self.gotten flip when using replace function, use on_replace inside mob def 2018-11-26 17:48:17 +00:00
TenPlus1
897f4a547e reduce knockback on normal tools without actual setting 2018-11-02 12:54:33 +00:00
TenPlus1
df63a37b08 and to or for jump counter 2018-11-02 08:34:39 +00:00
TenPlus1
71669d3c59 if mob jumps against wall 4 times then turn, moved back to old line_of_sight function 2018-11-01 09:49:15 +00:00
TenPlus1
e545cc80f4 tweak mob counter per area 2018-10-05 18:37:04 +01:00
TenPlus1
e17f8811b1 added attack_chance to mob definition 2018-10-01 09:20:27 +01:00
TenPlus1
6bf6e8fbd8 nil check on spawn collisionbox 2018-09-28 09:11:30 +01:00
TenPlus1
afb7e01b91 tweak collision function 2018-09-15 10:20:18 +01:00
TenPlus1
830b1698ff added pushable flag for mobs so they can be pushed by player 2018-09-14 17:13:40 +01:00
TenPlus1
82411330fc add custom on_punch for mob arrows 2018-09-09 11:11:08 +01:00
TenPlus1
2106a081b9 lifetimer check every 0.25 seconds 2018-09-08 18:21:33 +01:00
TenPlus1
f1476077bd added light damage _min and _max values, also igniter check for lava damage 2018-09-07 14:59:22 +01:00
TenPlus1
9737bde6fb tweak mob damage function, add {fire=1} weapon damage check 2018-09-05 10:33:17 +01:00
TenPlus1
082bf0cf86 update api.txt 2018-09-04 16:42:33 +01:00
TenPlus1
607e596c05 tweaked line of sight, mob drops 2018-09-04 16:35:01 +01:00
TenPlus1
e64df178f8 added some checks 2018-08-31 10:31:30 +01:00
TenPlus1
42473cbc23 add nil check to line_of_sight 2018-08-08 11:23:40 +01:00
TenPlus1
77c19da8d4 make mobs:line_of_sight() function global 2018-08-08 10:35:37 +01:00
TenPlus1
dc7cdd4df0 make mobs:line_of_sight() global 2018-08-08 10:33:23 +01:00
TenPlus1
477ad59670 tidy code 2018-08-08 10:15:26 +01:00
TenPlus1
da0238cb84 fix animation flip 2018-08-03 10:06:05 +01:00
TenPlus1
0482581f18 Added ability for multiple animations per action 2018-08-03 09:43:50 +01:00
TenPlus1
4badcec318 add check for no drops 2018-07-19 09:19:00 +01:00
TenPlus1
63c9812dad new line_of_sight and fence_top added 2018-07-18 10:13:19 +01:00
TenPlus1
f6b5effe09 change aoc_range 2018-07-08 20:51:59 +01:00
TenPlus1
adc4e71a01 0.4.16 functions 2018-07-02 16:24:34 +01:00