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

492 Commits

Author SHA1 Message Date
TenPlus1
6799a7ac15 Added spawn_egg groups 2017-06-28 09:52:54 +01:00
TenPlus1
d74f2fa27b falling velocity no longer exceeds self.fall_speed 2017-06-28 09:43:51 +01:00
TenPlus1
8924b05623 no drops for killing child mobs, fix base level of environ check 2017-06-24 18:21:15 +01:00
TenPlus1
af8963ec00 add explosion position for mob damage 2017-06-23 09:13:12 +01:00
TenPlus1
53563fe430 added animation loop flag 2017-06-23 08:57:51 +01:00
TenPlus1
0d27bbe02d update cmi components 2017-06-19 08:25:39 +01:00
TenPlus1
a58299479e added support for raymoo's cmi mod 2017-06-18 19:21:04 +01:00
TenPlus1
54b88e25b2 set min mob damage is 0 and fix runaway dir for rotated mobs. 2017-06-16 20:36:15 +01:00
TenPlus1
60c5b5628a increase foot level 2017-06-11 11:35:34 +01:00
TenPlus1
6f259cb047 mobs will not attack player in creative mode unless hit 1st 2017-06-11 09:27:26 +01:00
TenPlus1
18b90da257 added mob suffocation setting (only inside full blocks) 2017-06-10 09:47:24 +01:00
TenPlus1
4eb1c937e5 added obj nil check 2017-06-04 20:23:40 +01:00
TenPlus1
ffefd49c7b tweak pathfinding 2017-06-01 13:50:42 +01:00
TenPlus1
f40d260a81 fix constant health tag 2017-05-28 20:57:14 +01:00
TenPlus1
608a5178cf fix damage_per_sec checks wit some nested if's, add custom on_activate to arrows 2017-05-28 20:49:50 +01:00
TenPlus1
d6ff282917 localised functions, mobs floats on water only, damage_per_sec nodes hurt mobs 2017-05-27 21:29:46 +01:00
TenPlus1
ff4dfe4b4d bugfix 2017-05-27 18:36:30 +01:00
TenPlus1
646020db94 death check added, cooks drops if died in fire/lava/pick_lava 2017-05-27 10:18:21 +01:00
TenPlus1
e814a360f6 add owner loyalty so that aggressive tamed mobs will attack player foe's 2017-05-12 10:02:42 +01:00
TenPlus1
feb26ed940 tweak capture function 2017-04-27 14:37:30 +01:00
TenPlus1
52cf9be8eb updated api.txt 2017-04-27 14:07:23 +01:00
TenPlus1
b1c08d2261 Turkish translation by Admicos, protect tweak 2017-04-27 14:00:23 +01:00
TenPlus1
b2083fd120 line of sight only counts "normal" nodeboxes as obstruction 2017-04-20 19:09:44 +01:00
TenPlus1
ed28e9efea added return false to flight_check function 2017-04-19 18:41:12 +01:00
TenPlus1
e64530aa43 default stepheight is 1.1 for mobs to walk uphill properly 2017-04-13 11:01:38 +01:00
TenPlus1
8ed3672fb1 typo in var name 2017-04-08 18:09:06 +01:00
TenPlus1
13fcf68191 sanitize yaw 2017-04-08 17:55:51 +01:00
TenPlus1
6aead4ec5c code tidy 2017-03-30 19:33:07 +01:00
TenPlus1
bbaa1ff025 mob pathfinding level 2 adheres to protection and hard to break nodes when damaging builds 2017-03-29 11:49:38 +01:00
TenPlus1
e1f7453ee5 tidy code 2017-03-26 20:29:34 +01:00
TenPlus1
a37e38da60 Exploding mobs only drop items when killed, not when they explode 2017-03-24 10:13:25 +00:00
TenPlus1
374e7ac13b meh 2017-03-21 11:18:14 +00:00
TenPlus1
20f8183316 Fix variable nil default 2017-03-21 09:43:02 +00:00
TenPlus1
c2ecb8321e Fix staticdata, tidy code 2017-03-18 19:38:53 +00:00
TenPlus1
80a86b658c Separated dogshoot timers for different shoot/fight timings 2017-03-17 13:06:36 +00:00
TenPlus1
1205ec36a6 flying mobs go up and down, code tidy. 2017-03-17 11:30:16 +00:00
TenPlus1
aa591925b1 changed to look before you jump :) 2017-03-10 17:13:41 +00:00
TenPlus1
1f0969e6d3 Update do_jump function, tidied code 2017-03-10 16:05:37 +00:00
TenPlus1
1fbf0ff331 Updated replace function with new tables 2017-03-07 11:50:15 +00:00
TenPlus1
c1c17a6849 added new animation function 2017-03-06 14:19:51 +00:00
TenPlus1
36cf0693fe revert damage_per_second check (for now) 2017-03-05 09:39:47 +00:00
TenPlus1
18d42f2285 limit mob names to 64 chars, update mount lib to new 0.4.15 functions 2017-03-02 20:41:45 +00:00
TenPlus1
440d9874b5 added quick health check when punched 2017-02-24 09:38:11 +00:00
TenPlus1
59e8ba64f2 Tidied code, added fly arrow check 2017-02-22 12:57:02 +00:00
TenPlus1
8201282022 Tamed eggs are removed from inventory even in creative 2017-02-14 08:54:54 +00:00
TenPlus1
cce6eabd81 Tweaked mob counter/spawner abm 2017-02-10 11:47:42 +00:00
TenPlus1
fb850b0233 compatibility with older simple_mobs textures 2017-02-02 14:26:04 +00:00
TenPlus1
40e6eaf98a fix old texture support 2017-02-02 13:51:51 +00:00
TenPlus1
62d00489b3 changed capturing mobs with 'replacewith' item to override new mob eggs with information inside 2017-02-01 13:08:45 +00:00
TenPlus1
6d059ef980 add default mob egg to player inventory if 'force_take' true, otherwise save mob information inside of new egg 2017-02-01 12:59:44 +00:00
TenPlus1
f917bf8bbe added "fly" animation with check 2017-01-31 14:30:00 +00:00
TenPlus1
d574045930 added quick error check for self.drops 2017-01-23 20:25:00 +00:00
TenPlus1
e3515482cc added arrow rotation, added new mob eggs that save mob information, updated intllib routine 2017-01-21 19:23:41 +00:00
TenPlus1
4e231429d9 spawn egg checks for existing right_click functions 2017-01-21 10:38:43 +00:00
TenPlus1
52a2355954 arrow entity check, glow and expire added to arrows 2017-01-20 09:32:51 +00:00
TenPlus1
6eb6e458af Fixed rotation bug 2017-01-19 22:46:28 +00:00
TenPlus1
3ba7defa3a updated yaw 2017-01-19 11:49:04 +00:00
TenPlus1
44659da768 fix rotation bug 2017-01-17 15:35:35 +00:00
TenPlus1
58317c55b2 simplify yaw rotation 2017-01-17 15:02:47 +00:00
TenPlus1
dcae1b846a added damage_per_second node check (thanks mt-modder) 2017-01-17 14:27:55 +00:00
TenPlus1
2ee53fe660 new line_of_sight function by BrunoMine and flight_check by taikedz 2017-01-17 14:14:12 +00:00
TenPlus1
4bcfa6b802 tweaked code, added NaN check for yaw 2017-01-07 19:35:00 +00:00
TenPlus1
7490006117 if mob standing, 1 in 4 chance of looking at player nearby 2017-01-06 11:58:56 +00:00
TenPlus1
093285bec9 Tweaked code 2017-01-05 19:20:37 +00:00
TenPlus1
9f62234e42 mobs standing on "ignore" just wait for world to load around them 2016-12-29 19:12:57 +00:00
TenPlus1
671fab54eb add mob_show_health flag to minetest.conf 2016-12-27 11:10:10 +00:00
TenPlus1
3ed2bd9ff6 fix line of sight ypos 2016-12-26 17:49:19 +00:00
TenPlus1
12503180f4 use atan2, added attached attack, added swim to shore 2016-12-20 18:17:56 +00:00
TenPlus1
29b0f9d351 added auto range checking for mob counting 2016-12-06 11:41:04 +00:00
TenPlus1
0a6fdbc3f1 self.animation check 2016-12-03 20:33:42 +00:00
TenPlus1
dd04be9749 added die animation (thx npxcoot) 2016-12-02 20:42:05 +00:00
TenPlus1
f9737e1f4f fix lifetimer check for removing mob 2016-12-01 21:08:32 +00:00
TenPlus1
b6fcc31a10 fix tail particles 2016-11-23 09:25:41 +00:00
TenPlus1
37c787d514 updated particle effects 2016-11-22 17:44:14 +00:00
TenPlus1
9990b12a12 Fix nil name error 2016-11-10 11:36:46 +00:00
TenPlus1
053866c05b added player check for protected hits 2016-11-08 16:48:33 +00:00
TenPlus1
127dad97a7 added ability to protect tamed mobs 2016-11-08 16:11:00 +00:00
TenPlus1
c16c083d31 on_punch tweaks 2016-10-31 21:37:38 +00:00
TenPlus1
9d554fc31f only play damage sound and show blood if mob damage is >=1 2016-10-30 21:06:33 +00:00
TenPlus1
b1048cc892 tidy 2016-10-29 16:41:16 +01:00
TenPlus1
31db77bab3 increase mob area check to 32 2016-10-26 21:12:30 +01:00
TenPlus1
62fc9bcb7f increase mob check area 2016-10-23 17:55:57 +01:00
TenPlus1
e592c18af6 added missing local 2016-10-22 19:03:13 +01:00
TenPlus1
954565efa2 tidy 2016-10-22 09:36:08 +01:00
TenPlus1
4d37da6fe6 arrows go through fire 2016-10-21 16:23:35 +01:00
TenPlus1
cbefe68049 re-add check for unbreakable nodes for fireballs 2016-10-21 15:20:29 +01:00
TenPlus1
7014152bf9 added new spawn check for specific mob numbers 2016-10-21 14:46:50 +01:00
TenPlus1
3f61935a07 See if this fixes animals glitching out of enclosures 2016-10-14 18:47:04 +01:00
TenPlus1
e3e00b24a0 added on_spawn function 2016-10-09 09:17:44 +01:00
TenPlus1
d2806eccf2 Tweaked mob arrows 2016-10-08 10:29:32 +01:00
TenPlus1
47abff26ae make invisibility player table global (mobs.invis[playername]) 2016-10-04 11:02:31 +01:00
TenPlus1
444b486c5e Code tidy 2016-10-04 09:54:26 +01:00
TenPlus1
03e96f3017 health and damage have min of 1.0 added with diffuculty setting in use 2016-09-29 09:59:24 +01:00
TenPlus1
a455395a96 added mob_difficulty config setting 2016-09-28 19:27:43 +01:00
TenPlus1
5df8e9054e added self.texture_list for mod makers 2016-09-26 14:03:22 +01:00
TenPlus1
d5822b3e0b updated api docs 2016-09-26 12:10:48 +01:00
TenPlus1
b844712d48 added entity removal to on_die custom functions 2016-09-07 19:39:29 +01:00
TenPlus1
5158bf3123 change runaway from 3 to 5 seconds 2016-09-05 20:02:26 +01:00
TenPlus1
b63317bc21 added specific_attack flag for special mob attacks 2016-09-05 19:47:08 +01:00
TenPlus1
046204cf9a Added attack_animals flag for monsters 2016-09-05 18:39:17 +01:00
TenPlus1
c15ffef8ae Tweaked code slightly 2016-09-05 14:40:01 +01:00
TenPlus1
6fea1e1b85 Disabled hit re-colour as it can cause hit-lag with larger textures 2016-09-03 19:57:33 +01:00
TenPlus1
d99cf5f444 Updated license 2016-08-19 19:08:48 +01:00
TenPlus1
cfe8562c7a added 0.4.13 compatible global check 2016-08-17 20:58:35 +01:00
TenPlus1
e2f9bbe89f removed global_exists for older clients to work :( 2016-08-16 21:36:01 +01:00
TenPlus1
4387de405e Fixed invisibility global error 2016-08-16 20:45:32 +01:00
TenPlus1
918abf2cae Fix spawning numbers 2016-08-05 12:29:04 +01:00
TenPlus1
d011c538ee disabled catch_up, causing anomalies 2016-08-05 09:21:58 +01:00
TenPlus1
e944712c90 Added MarkBu's new mob:spawn command 2016-08-03 09:34:36 +01:00
TenPlus1
a470ac7cc1 Added particle effect when mob dies 2016-07-21 15:20:14 +01:00
TenPlus1
542cb3d474 re-enabled catch-up to spawn more mobs 2016-07-21 11:21:26 +01:00
TenPlus1
80ba7db8ba lower health display timer 2016-06-18 09:42:24 +01:00
TenPlus1
3362334ee1 Show health stats on punch 2016-06-18 09:35:57 +01:00
TenPlus1
d1bee49785 Added extra check for line of sight when flying in custom node. 2016-06-17 11:22:04 +01:00
TenPlus1
db7e02af1a added intllib support (en/de) 2016-06-11 09:47:43 +01:00
TenPlus1
f8692e94e3 Added ability for do_custom to skip rest of api by setting return to false 2016-06-11 08:40:09 +01:00
TenPlus1
54beb82686 stop attacking when player turns invisible 2016-06-09 18:48:38 +01:00
TenPlus1
7d77124aa0 supports invisibility, lava/water checks added, code tidied/tweaked 2016-06-09 11:56:03 +01:00
TenPlus1
d0fc69d458 Optimized code, added NaN catcher 2016-06-07 09:51:11 +01:00
TenPlus1
253351ef7f Tweaks 2016-06-05 16:48:12 +01:00
TenPlus1
bed18e114f add lifetimer bypass (over 20000 and mob wont despawn) 2016-05-29 21:00:56 +01:00
TenPlus1
c6d4b95768 tweaked pathfinding with 2 modes, 1 to find, 2 to build/break 2016-05-23 19:19:40 +01:00
TenPlus1
ba97620759 added fix for when mod profiling enabled and mob is punched 2016-05-23 16:32:22 +01:00
TenPlus1
67aa752c44 fixed punch animation 2016-05-14 15:53:34 +01:00
TenPlus1
3db852563c Added new dogshoot features for punch/shoot switching 2016-05-12 11:43:59 +01:00
TenPlus1
c8932731d8 removed leftover line 2016-05-08 18:13:25 +01:00
TenPlus1
050dd1dbb0 Added 'punch2' 'shoot' animations, 'double_melee_attack' flag and tweaks to api 2016-05-08 18:08:25 +01:00
TenPlus1
f362ced4da tidy 2016-05-08 14:59:13 +01:00
TenPlus1
0e4ba14bc1 Added custom on_step for mob arrows (thx npxcoot) 2016-05-06 11:38:43 +01:00
TenPlus1
4ad941523e update do_custom to run live instead of every second 2016-05-06 11:20:36 +01:00
TenPlus1
1dc909aa09 Reigned in abm with catch_up = false 2016-05-02 09:30:49 +01:00
TenPlus1
6e89f8f696 Added default on_blast function 2016-05-01 19:41:50 +01:00
TenPlus1
240bd3f942 Added ability to use sofar's on_blast function in new TNT changes 2016-05-01 10:40:29 +01:00
TenPlus1
b51bafcf0e Added custom_attack function (thanks to NPXcoot) 2016-04-28 20:18:00 +01:00
TenPlus1
b512f882e9 Disable lifetimer if remove_far_mobs is true, despawn distance set to 15 2016-04-25 20:23:38 +01:00
TenPlus1
4d3438aeed fixed undeclared yaw variable 2016-04-21 18:08:36 +01:00
TenPlus1
30e1157392 Fixed global yaw bug (thanks Sofar) 2016-04-18 20:54:02 +01:00
TenPlus1
a80b8dc3b0 added punch_capabilities error check 2016-04-16 09:58:53 +01:00
TenPlus1
3e05bc7ec0 split remainder on_step into single function 2016-04-15 20:08:31 +01:00
TenPlus1
58c757772f split on_step routines into functions 2016-04-15 19:56:24 +01:00
TenPlus1
f76acdf724 Added compatibility function (thanks Amaz) 2016-04-15 15:22:30 +01:00
TenPlus1
4921956b60 Signed-off-by: TenPlus1 <kinsellaja@yahoo.com> 2016-04-15 14:57:57 +01:00