TenPlus1
|
ec44aa91c4
|
add 'damage_group' and 'damage_texture_modifier' settings to mob definition
|
2021-05-15 09:33:35 +01:00 |
|
TenPlus1
|
350fc3647c
|
add extra settings to arrow definition
|
2021-05-04 08:02:43 +01:00 |
|
TenPlus1
|
70c68f6ebc
|
change so only players can push mobs
|
2021-04-18 09:05:16 +01:00 |
|
TenPlus1
|
9be934ec25
|
make it possible to use advanced protector on normally protected mob
|
2021-04-13 12:41:09 +01:00 |
|
TenPlus1
|
f6e16a5503
|
return actual damage position (created particle py), check for nil damage groups
|
2021-04-11 17:23:22 +01:00 |
|
TenPlus1
|
c06d071220
|
allow players with 'protection_bypass' to rename owned tamed mobs
|
2021-04-07 10:35:36 +01:00 |
|
TenPlus1
|
ccbfe93f12
|
players with protection_bypass can pick up owned animals from other players
|
2021-04-06 15:26:36 +01:00 |
|
TenPlus1
|
6750d176ee
|
tweak damage and protectors
|
2021-04-05 08:52:48 +01:00 |
|
TenPlus1
|
246b2769f7
|
add level 2 mob protector
|
2021-04-04 22:25:40 +01:00 |
|
TenPlus1
|
34b06df758
|
add ability to follow group: items
|
2021-03-23 17:09:26 +00:00 |
|
TenPlus1
|
0f1f3b4fb3
|
simplify mobs floating in water
|
2021-03-18 20:23:55 +00:00 |
|
TenPlus1
|
774ce6671f
|
add 'ignore_invisibility' setting to mob definition
|
2021-03-10 08:14:42 +00:00 |
|
TenPlus1
|
11e1d52cfb
|
replace minetest 5.0 check
|
2021-02-06 17:10:50 +00:00 |
|
TenPlus1
|
c158e84e28
|
stop grown child mobs sinking into blocks below
|
2021-02-03 21:29:26 +00:00 |
|
TenPlus1
|
2d1befacb3
|
nil check
|
2021-01-19 20:37:42 +00:00 |
|
TenPlus1
|
754321541a
|
fix mob spawn height (thanks OgelGames)
|
2021-01-14 10:28:18 +00:00 |
|
TenPlus1
|
622abd1486
|
hopefully fixed death animation crash when player away
|
2021-01-08 10:16:33 +00:00 |
|
TenPlus1
|
55eb893a9a
|
simple swimming fix to stop floaters
|
2021-01-07 10:42:10 +00:00 |
|
TenPlus1
|
76ee3d0b51
|
add peaceful player privs and settings (thanks sfence)
|
2021-01-04 12:28:17 +00:00 |
|
TenPlus1
|
00ac9efc8c
|
fix global catch sound (thanks SwissalpS)
|
2021-01-02 20:31:01 +00:00 |
|
TenPlus1
|
bf32a09e5e
|
on_flop and air_damage added
|
2020-12-06 09:53:02 +00:00 |
|
TenPlus1
|
9489ff6965
|
add option to spin mob when playing death animation
|
2020-12-06 08:55:17 +00:00 |
|
TenPlus1
|
1dfd7e1af1
|
simplified breeding function, added some settings
|
2020-12-05 12:06:34 +00:00 |
|
TenPlus1
|
4a6518eeba
|
add additional nil backups for set_velocity
|
2020-12-02 15:14:11 +00:00 |
|
TenPlus1
|
a4d2918383
|
add mob_area_spawn setting
|
2020-11-30 14:43:49 +00:00 |
|
TenPlus1
|
bdea826b7c
|
add additional death checks
|
2020-11-15 18:23:52 +00:00 |
|
TenPlus1
|
d12576f0c8
|
mobs:can_spawn function added to check free space to spawn mob
|
2020-10-29 10:46:59 +00:00 |
|
TenPlus1
|
7f4d473fee
|
Localize a few functions (thanks MoNTE48)
|
2020-10-03 09:34:38 +01:00 |
|
TenPlus1
|
f7a1b27ea4
|
add nil check to do_runaway_from
|
2020-10-01 12:12:12 +01:00 |
|
TenPlus1
|
f14050ad3c
|
nil check for do_stay_near
|
2020-09-23 20:35:04 +01:00 |
|
TenPlus1
|
67e4ede31b
|
Fix on_punch damage returns (thanks OgelGames)
|
2020-09-16 12:04:03 +01:00 |
|
TenPlus1
|
bd8be0905a
|
fix nametag return
|
2020-09-05 18:15:21 +01:00 |
|
TenPlus1
|
89523195d5
|
fix typo in api.txt
|
2020-09-05 08:59:09 +01:00 |
|
TenPlus1
|
c6dffd1390
|
hide spawning mobs message in terminal
|
2020-09-04 14:00:53 +01:00 |
|
TenPlus1
|
499d43a9aa
|
added 'on_map_load' setting to mobs:spawn function to spawn mob in newly loaded areas of map only
|
2020-09-04 13:59:14 +01:00 |
|
TenPlus1
|
497ff7241f
|
update translation detection
|
2020-08-25 09:44:00 +01:00 |
|
TenPlus1
|
9f02777f14
|
re-add nil check for get_distance function
|
2020-08-20 20:29:34 +01:00 |
|
tenplus1
|
565c0851eb
|
nil check for self.attack
|
2020-07-27 19:17:07 +01:00 |
|
tenplus1
|
cb465559a1
|
code tweak and tidy
|
2020-07-25 10:52:29 +01:00 |
|
tenplus1
|
469e35d6e0
|
tidy api
|
2020-07-23 20:13:15 +01:00 |
|
TenPlus1
|
1271570780
|
nil check in do_states
|
2020-07-20 18:10:08 +01:00 |
|
tenplus1
|
c4f56f4204
|
nill check for follow_flop
|
2020-07-20 07:32:24 +01:00 |
|
tenplus1
|
4814f53885
|
nil check for get_distance
|
2020-07-20 07:27:55 +01:00 |
|
tenplus1
|
f033cd401c
|
add nil check to general_attack
|
2020-07-18 20:39:49 +01:00 |
|
tenplus1
|
903e81bdab
|
another nil check for entity
|
2020-07-17 21:12:43 +01:00 |
|
tenplus1
|
81dd3d75c0
|
add randomly_turn setting to mob definition
|
2020-07-17 20:58:52 +01:00 |
|
TenPlus1
|
d20ea74890
|
fix runaway player nil
|
2020-07-01 14:43:17 +01:00 |
|
TenPlus1
|
ee8c19ce21
|
tweak mob falling, floating, jumping and fluid viscosity
|
2020-06-29 15:00:32 +01:00 |
|
TenPlus1
|
296fad85ca
|
simplify string/table searches
|
2020-06-28 20:46:57 +01:00 |
|
TenPlus1
|
d65b80fa51
|
fluid viscocity checks standing node against fly_in table/string
|
2020-06-28 20:36:38 +01:00 |
|
TenPlus1
|
48bfa284d0
|
fix typo self.flying_in to self.fly_in
|
2020-06-28 14:51:37 +01:00 |
|
TenPlus1
|
b17a5bfe77
|
mobs move slower in liquids
|
2020-06-28 14:35:51 +01:00 |
|
TenPlus1
|
dfdd55848d
|
mobs:add_mob() returns object spawned or false if not
|
2020-06-25 09:33:59 +01:00 |
|
tenplus1
|
e63b1b478e
|
add mobs:add_mob() function
|
2020-06-22 21:24:06 +01:00 |
|
tenplus1
|
ec122aa6de
|
add particle effect global function, arrow lifetime, api.txt update
|
2020-06-20 10:07:32 +01:00 |
|
tenplus1
|
245128f9e6
|
tweak custom attack function
|
2020-06-19 16:07:29 +01:00 |
|
tenplus1
|
3b8c4bc070
|
optimize loops
|
2020-06-19 11:33:33 +01:00 |
|
tenplus1
|
4962d44be9
|
tweak staticdata checks
|
2020-06-19 11:25:37 +01:00 |
|
tenplus1
|
83e9180853
|
fix pos_to_yaw missing rot
|
2020-06-16 20:53:05 +01:00 |
|
TenPlus1
|
ad116aa70e
|
make sure mob doesn't attack itself
|
2020-06-09 13:13:15 +01:00 |
|
tenplus1
|
d04f144b7c
|
revert previous nil punch to mob object
|
2020-05-28 16:21:20 +01:00 |
|
tenplus1
|
d5a1fce680
|
tweak flame particles when burning
|
2020-05-27 09:10:59 +01:00 |
|
tenplus1
|
9dd4ac770f
|
fix tnt explosion causing mobs to attack themselves
|
2020-05-25 20:58:38 +01:00 |
|
TenPlus1
|
d125d0a5db
|
tweak and tidy code (thanks MoNTE48)
|
2020-05-21 20:38:08 +01:00 |
|
TenPlus1
|
351fce8ee8
|
fix velocity and nil check
|
2020-05-19 21:07:54 +01:00 |
|
tenplus1
|
3a17c471ae
|
added 'texture_mods' to mob definition to add overlay textures
|
2020-05-16 14:43:03 +01:00 |
|
tenplus1
|
85faeea604
|
added 'mob_active_limit' to limit mobs in game
|
2020-05-16 10:44:38 +01:00 |
|
tenplus1
|
53cc10a16f
|
Code tweak and tidy, mob counter attempt
|
2020-05-15 13:26:34 +01:00 |
|
tenplus1
|
b610a81a58
|
fixed table search issue for replacing nodes, added 'group_helper' for group attacks
|
2020-05-13 08:12:56 +01:00 |
|
TenPlus1
|
f576947d41
|
add nil check for mob eggs
|
2020-05-08 20:33:41 +01:00 |
|
TenPlus1
|
f32b69a654
|
rename global function
|
2020-05-07 11:35:29 +01:00 |
|
TenPlus1
|
bd06ad8d6e
|
added pos_to_yaw function, added fence function check, cody tidy
|
2020-05-07 11:15:04 +01:00 |
|
TenPlus1
|
8ce8490e78
|
code tweak and tidy
|
2020-05-06 21:21:20 +01:00 |
|
TenPlus1
|
18906fafeb
|
code tweaks and tidy, hopefully fixed remove_far feature
|
2020-05-06 10:10:50 +01:00 |
|
TenPlus1
|
9928b0e35e
|
add nil check to replace function
|
2020-05-05 21:32:24 +01:00 |
|
TenPlus1
|
99fe3d0ce1
|
missed local
|
2020-05-04 20:45:43 +01:00 |
|
tenplus1
|
00e8ac0850
|
added failsafe for suffocation value (true, false) instead of value
|
2020-05-02 19:28:13 +01:00 |
|
TenPlus1
|
f98d769e15
|
added 'mob_nospawn_range' setting
|
2020-05-01 19:30:29 +01:00 |
|
TenPlus1
|
928f8c5479
|
never spawn mobs if player within 12 nodes
|
2020-05-01 18:48:07 +01:00 |
|
TenPlus1
|
32e8d069f7
|
enable suffocation, add area check when spawning, code tidy and tweaks
|
2020-05-01 10:29:12 +01:00 |
|
TenPlus1
|
e4198b2a21
|
only force turn when actually blocked
|
2020-04-30 11:51:44 +01:00 |
|
TenPlus1
|
f11b774c95
|
tweaked jumping and turning when blocked in front
|
2020-04-30 09:33:46 +01:00 |
|
TenPlus1
|
8b25ab4988
|
add 'keep_flying' flag and random vertical flight changes
|
2020-04-29 20:15:35 +01:00 |
|
tenplus1
|
064b59f01d
|
Added few sanity checks, higher pitch sounds for child mobs
|
2020-04-29 15:01:21 +01:00 |
|
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
|
813909c86c
|
add hard limit of 10 to mob velocity functions
|
2020-02-07 12:43:18 +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
|
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
|
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
|
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
|
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 |
|