Commit graph

655 commits

Author SHA1 Message Date
Elias Fleckenstein
5d5ed91519 Merge branch 'master' into damage 2021-04-16 12:20:53 +02:00
jordan4ibanez
044e9d22ad Re-enable mob-despawner 2021-04-15 21:13:19 -04:00
Elias Fleckenstein
ce0148d9a8 Rewrite armor; new damage system 2021-04-14 15:46:52 +02:00
Marcin Serwin
9472f86025 Fix spellchecking errors 2021-04-12 17:58:04 +02:00
Elias Fleckenstein
0d5933b95e Remove debug printin mcl_mobs 2021-04-12 15:45:00 +02:00
Marcin Serwin
321caa0632 Minor translation fixes 2021-04-12 11:27:41 +02:00
Marcin Serwin
958fee0a73 Add polish translation of mcl_mobs 2021-04-12 09:55:36 +02:00
kay27
a76fe2b487 [mcl_mobs] Replace goto to repeat-break-until true in spawning.lua 2021-04-11 02:11:06 +04:00
kay27
b14ca5a843 Revert "[mcl_mobs, mobs_mc] TEMP! Remove goto to run on RasbPI4, Oil_boi free to revert"
This reverts commit ea41c82834.
2021-04-11 02:10:27 +04:00
kay27
ea41c82834 [mcl_mobs, mobs_mc] TEMP! Remove goto to run on RasbPI4, Oil_boi free to revert 2021-04-10 20:47:55 +02:00
jordan4ibanez
6279f5eb41 test 2021-04-08 23:58:12 +04:00
jordan4ibanez
9789cf5dcd Adjust spawning to be closer and more frequent 2021-04-08 23:58:12 +04:00
jordan4ibanez
26847bbb54 Finish mob limiter 2021-04-08 23:58:12 +04:00
jordan4ibanez
4fca50dead Fix spawn timer reset debug 2021-04-08 23:58:12 +04:00
jordan4ibanez
310dcf9660 Fix forgotten biome check 2021-04-08 23:58:11 +04:00
jordan4ibanez
ba9866db49 merge 2021-04-08 23:58:11 +04:00
jordan4ibanez
282ba2614a merge 2021-04-08 23:58:11 +04:00
jordan4ibanez
26ef8c2674 Fix silverfish typo 2021-04-08 23:58:11 +04:00
jordan4ibanez
f5cc2bab09 Readjust mobs internal settings to not cause insane memory usage 2021-04-08 23:58:11 +04:00
jordan4ibanez
ae0c235c1f Combine air and ground type spawning into ground 2021-04-08 23:58:11 +04:00
jordan4ibanez
668b67158c merge 2021-04-08 23:58:11 +04:00
jordan4ibanez
249a3c8891 Add bats, chicken, and blaze spawn info 2021-04-08 23:58:11 +04:00
jordan4ibanez
34b66acc9d Make reference list copy-pastable 2021-04-08 23:58:11 +04:00
jordan4ibanez
89f35c06af Ignore default or void dimensions 2021-04-08 23:58:11 +04:00
jordan4ibanez
cb093b774c Add biome list 2021-04-08 23:58:10 +04:00
jordan4ibanez
abc68f4dc6 Refactor spawning into it's own file 2021-04-08 23:58:10 +04:00
jordan4ibanez
38dcbcb3d4 Fix mobs colliding with other mobs/players 2021-04-08 23:58:10 +04:00
jordan4ibanez
d65a5e3be0 Fix mobs colliding with objects 2021-04-08 23:58:10 +04:00
kay27
de41a4c26b merge 2021-04-08 23:58:10 +04:00
kay27
5e0bd2281c Revert "Revert "Merge pull request 'Massively overhaul spawning algorithm for mobs' (#1487) from jordan4ibanez/MineClone2-MobTweaks:master into master""
This reverts commit 6a1a634cba.
2021-04-08 23:58:10 +04:00
Elias Fleckenstein
6a1a634cba Revert "Merge pull request 'Massively overhaul spawning algorithm for mobs' (#1487) from jordan4ibanez/MineClone2-MobTweaks:master into master"
This reverts commit 4f2a6b2db0, reversing
changes made to 0970981252.
2021-04-07 17:20:56 +02:00
jordan4ibanez
ec6eb51726 Massively overhaul spawning algorithm for mobs 2021-04-07 02:39:15 -04:00
jordan4ibanez
6cdf7c98c2 Rework all mobs spawning - preprototype stage 2021-04-07 00:55:57 -04:00
jordan4ibanez
7cecc71b91 Make mobs not collide with objects to stop weird glitches 2021-04-06 22:08:10 -04:00
jordan4ibanez
6aaf25bbc9 Increase unmounting force 2021-04-06 22:02:52 -04:00
jordan4ibanez
4a1faa44de Make unmounting a mob less of a jolt 2021-04-06 21:59:51 -04:00
jordan4ibanez
8e2493dd9a Remove 47 node object check from mobs 2021-04-06 10:40:16 -04:00
Elias Fleckenstein
f350fa6272 Add bossbars 2021-04-06 14:50:34 +02:00
kay27
beb2484224 Merge https://git.minetest.land/MineClone2/MineClone2/pulls/1366 2021-04-05 13:50:26 +04:00
Saku Laesvuori
4a085c9526 Fix passive mobs despawning
According to the wiki most passive mobs do not despawn. The ones that do
have already been explicity marked as despawning.

<https://minecraft.fandom.com/wiki/Spawn#Despawning>
<https://minecraft.fandom.com/wiki/Mob#Despawning>
2021-04-04 09:15:25 +03:00
epCode
ac87e0604e make ghast firing more MC-like 2021-04-03 18:39:20 -07:00
epCode
40b07e466b make ghast fireballs deflectible 2021-04-03 18:07:51 -07:00
epCode
0dbe66f3b4 make mob drops similar to MC 2021-04-01 14:12:07 -07:00
Elias Fleckenstein
46c6328432 Something secret :P 2021-03-25 09:24:38 +01:00
epCode
01df02667b Make setting for swim on lava 2021-03-21 17:53:57 -07:00
kay27
03feb36558 Improve Nether Portals (#1315) (as a squash)
Remove Nether portal caches, https://git.minetest.land/MineClone2/MineClone2/issues/1210

Store all exits from Nether portals in quick-access table

Implement proper Nether portal search, using the table, https://git.minetest.land/MineClone2/MineClone2/issues/1055

Store Nether portal exits table in mod storage

Remove exits from table on Nether portal destruction

Align destination area to [map chunks 5x5x5](https://git.minetest.land/MineClone2/MineClone2/wiki/World-structure%3A-positions%2C-boundaries%2C-blocks%2C-chunks%2C-dimensions%2C-barriers-and-the-void) to avoid lots of ```emerge_area()``` calls

Support Nether roof, https://git.minetest.land/MineClone2/MineClone2/issues/1267

Implement better suitable place search, https://git.minetest.land/MineClone2/MineClone2/issues/1126

Implement object queue not to trigger the same search again

Avoid lava lakes, https://git.minetest.land/MineClone2/MineClone2/issues/1126

Add ```/spawnstruct nether_portal``` chat command
Co-Authored-By: kay27 <kay27@noreply.git.minetest.land>
Co-Committed-By: kay27 <kay27@noreply.git.minetest.land>
2021-03-21 23:14:33 +00:00
Elias Åström
7441f0269b Use get_node_light for sunlight in 5.3
Avoids servers running 5.3 crashing.
2021-03-17 09:12:02 +01:00
Elias Åström
0805431231 Fix #1293 2021-03-16 23:51:20 +01:00
AFCMS
5d17a6b699 fix SO MANY pairs/ipairs 2021-03-16 17:35:46 +01:00
epCode
cb10a5508b Make mob damage more red (MC-like) 2021-03-11 19:40:36 -08:00
epCode
d12009538e Better mob_mount animations (riding) 2021-03-10 12:27:42 -08:00
Elias Fleckenstein
d57db0444f Use mod.conf in all mods, part 1 2021-03-04 15:22:14 +01:00
Elias Fleckenstein
5de9d90569 Simplify mcl_burning API 2021-02-22 10:55:14 +01:00
kay27
0ba7e4fc4d Fix Runtime error: attempt to index a nil value (api.lua:399 <- is_node_dangerous <- is_at_cliff_or_danger <- on_step_old <- void_damage:16) 2021-02-22 13:40:40 +04:00
epCode
512765a37d Make use_texture_alpha an mobs_mc.entity setting 2021-02-21 17:10:04 -08:00
epCode
393bc195fb Enable alpha for mobs 2021-02-19 13:11:18 -08:00
Elias Fleckenstein
c9e589b931 Add mcl_burning damage interval 2021-02-18 14:47:35 +01:00
Elias Fleckenstein
eddef41e6b Fix #1132 2021-02-18 09:41:06 +01:00
MysticTempest
0ec64189dc Partial creeper explode distance fix, and fix to stop punching mobs into the air. 2021-02-11 17:27:55 -06:00
kay27
696ae8e6fe Merge pull request 'Fix Mobs not taking knockback on the Y-axis' (#1061) from Code-Sploit/MineClone2:master into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1061
2021-02-05 21:41:38 +00:00
kay27
fa3e37c604 A mob does not drop XP unless it dies within 5 s of an attack registered as a player hit, https://git.minetest.land/MineClone2/MineClone2/issues/1021#issuecomment-13894 2021-02-05 16:34:49 +04:00
Code-Sploit
95b0a27213 Fix Mobs not taking knockback on the Y-axis 2021-02-05 10:36:48 +00:00
kay27
7210dfcc1c Make mobs only drop XP orbs when they're killed by hit, attempt to fix https://git.minetest.land/Wuzzy/MineClone2/issues/978 2021-01-27 16:12:34 +04:00
Elias Åström
174a3a2968 Fix creeper explosions only doing 1/2 heart damage
The solution was to move the creeper explosions to originate from the
center of the creepers collisionbox and not its entity position.
2021-01-26 14:13:30 +01:00
MysticTempest
c1c5ed4869 Fix crash in 'mcl_spawn' in v6,flat,singlenode mapgens; and fix mobs despawning when attacking/following players. 2021-01-24 17:47:28 -06:00
Elias Fleckenstein
76bd139f1b Rise mob spawning distance to 24 (Closes #982) 2021-01-24 19:07:56 +01:00
Elias Fleckenstein
f9a82aab05 Implement curing zombie villagers 2021-01-23 15:40:12 +01:00
kay27
a41e0628e5 Fix https://git.minetest.land/Wuzzy/MineClone2/issues/994 Crash in mcl_mobs 2021-01-21 12:36:33 +04:00
Elias Fleckenstein
1f05d8f876 Knockback enchantment working on mobs 2021-01-11 16:38:05 +01:00
Elias Fleckenstein
b616ce734f Fix mobs taking damage from fire and lava even if they shouldn't 2021-01-06 13:31:51 +01:00
Elias Fleckenstein
3a02e90c3a Fix mobs jumping against walls again and again due to a typo 2021-01-06 12:14:20 +01:00
Elias Fleckenstein
f2c978c892 Fix #885 2021-01-06 12:04:02 +01:00
Elias Fleckenstein
fd5f3a8df7 Mobs can't jump while already in air 2021-01-06 11:47:50 +01:00
kay27
bdd0123c77 keep mobs from disappearance 2021-01-06 11:25:56 +01:00
Elias Fleckenstein
52ed7f668e Small mob shoot raycast improvement 2021-01-06 11:18:18 +01:00
Elias Fleckenstein
bc15c9c22d Fix #965 2021-01-06 10:36:57 +01:00
kay27
faa944193a try to fix https://git.minetest.land/Wuzzy/MineClone2/issues/963 2021-01-05 20:45:56 +01:00
Elias Fleckenstein
059629c51f Fix wrong mob spawning distance from player 2021-01-05 20:29:10 +01:00
Elias Fleckenstein
5899c2059f Fix #860 2021-01-05 18:02:41 +01:00
Elias Fleckenstein
6f49a3d535 Fix #788 2021-01-05 17:52:27 +01:00
Elias Fleckenstein
ac54e3caf3 Fix despawning once and for all (hopefully) 2021-01-04 16:40:18 +01:00
Elias Fleckenstein
9e97331bdc Fix mobs despawning while close to player 2021-01-03 15:10:50 +01:00
kay27
30379c823c Clean up some spaces in code after merging https://git.minetest.land/EliasFleckenstein03/MineClone2 2021-01-03 00:42:07 +04:00
Elias Fleckenstein
7d45055a59 Remove minetest.env in mcl_mobs API 2021-01-02 12:45:23 +01:00
Elias Fleckenstein
081ae7fbff Make undead mobs burn in sunlight instead of dealing damage directly 2021-01-02 12:43:50 +01:00
Elias Fleckenstein
8ba8f62527 Document fire_resistant and fire_damage_resistant 2021-01-02 12:34:02 +01:00
Elias Fleckenstein
84708c3870 Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2021-01-02 10:58:02 +01:00
Elias Fleckenstein
fbd4a3a516 Fix burning sound keeping playing 2021-01-02 10:56:40 +01:00
Elias Fleckenstein
212e895c1a Fire Aspect for Mobs 2021-01-01 19:59:34 +01:00
Elias Fleckenstein
2932837951 Fix mobs always dropping cooked loot 2021-01-01 19:52:34 +01:00
Elias Fleckenstein
92bf864807 Fire Aspect 2021-01-01 19:51:31 +01:00
Elias Fleckenstein
071ba77bb0 mcl_burning fully working 2021-01-01 19:25:47 +01:00
Elias Fleckenstein
a6eed5c5b3 Rework system 2020-12-29 22:08:38 +01:00
Elias Fleckenstein
7545e29f58 Burning objects 2020-12-24 17:48:40 +01:00
Elias Fleckenstein
b017fd7405 Looting actually works now 2020-12-23 19:01:49 +01:00
Elias Fleckenstein
da7240d6c1 looting 2020-12-23 17:41:42 +01:00
MysticTempest
b56ae38939 Make lava/fire wait 2 seconds before destroying items to allow chance for pickup, fix dogs following when sitting, and add some rotation so mobs don't idle at cliffs. 2020-12-22 08:29:24 -06:00
MysticTempest
cb3fa6cd09 Fix magma cubes and zombies not taking damage from hands; and adjust magma cube armors to their proper values. 2020-12-17 16:07:20 -06:00
MysticTempest
fb51ab05ea Enable basic mob despawning. 2020-12-17 09:22:34 -06:00
kay27
e7aa873968 Fix https://git.minetest.land/EliasFleckenstein03/MineClone2/issues/3 2020-12-13 03:09:32 +04:00
Wuzzy
d699459bac Fix carrot param2 reset to 0 when ate by rabbit 2020-12-09 22:10:42 +01:00
Wuzzy
d17c53cb0c Fix mob spawn height for real 2020-12-08 22:42:01 +01:00
Wuzzy
7abffc5df9 Fix mobs spawning 1.5 nodes above the ground 2020-12-08 01:44:45 +01:00
Wuzzy
839c22dcfb Change XP drop amount for each mob 2020-12-06 15:46:42 +01:00
Wuzzy
9d31ddb30d Baby animals don't drop XP 2020-12-05 23:42:33 +01:00
Wuzzy
b70e58ab05 Add animal eat sound 2020-12-05 23:37:12 +01:00
Wuzzy
22a0b107ba Add flop sound when mob flops on ground 2020-12-05 21:33:37 +01:00
Wuzzy
c0ef6e3d5a Add instant_death for mobs 2020-12-05 14:42:03 +01:00
Wuzzy
e23bdca570 Reset mob velocity when surviving flop 2020-12-05 14:20:58 +01:00
Wuzzy
c48371e859 Mobs can't runaway while in flop state 2020-12-05 14:16:07 +01:00
Wuzzy
a9b59816c4 Implement very basic flopping 2020-12-05 14:14:16 +01:00
Wuzzy
cb08062926 Fix some mob-related death bugs 2020-12-05 13:51:29 +01:00
Wuzzy
3a28081683 mcl_mobs: Shorten math.pi 2020-12-05 13:05:12 +01:00
Wuzzy
21310aad59 Fix more death animation bugs 2020-12-05 12:59:12 +01:00
Wuzzy
57e24fc705 Disable object collision of dead mobs 2020-12-05 05:20:43 +01:00
Wuzzy
b6c6602d13 New mob death particle and sound 2020-12-05 05:11:53 +01:00
Wuzzy
ed3afc6e49 Redo the death effect 2020-12-05 04:33:23 +01:00
Wuzzy
9b519cb665 Document mob states 2020-12-05 02:17:39 +01:00
Wuzzy
1362730dbf Mobs don't follow food in hand in love mode 2020-12-05 02:07:43 +01:00
Wuzzy
855fd6b279 Drop XP when breeding 2020-12-05 01:49:15 +01:00
Wuzzy
a56df1e533 Add mobs debug mode 2020-12-05 01:38:10 +01:00
Wuzzy
7913e72e07 Tweak timing of horny timer and child grow time 2020-12-05 01:26:30 +01:00
kay27
945260fa29 quick fix of attempt to index local 'node' (nil value) at mods/ENTITIES/mcl_mobs/api.lua:3392 2020-12-03 23:48:26 +04:00
MysticTempest
09ccfc9802 Copy mcl_item_entity's item flowing code to allow mobs to be pushed by flowing_water, add TenPlus1's mob shoving code, and fix mob swimming breaking recently. 2020-12-03 10:37:44 -06:00
kay27
06c97be4a2 Fix https://git.minetest.land/Wuzzy/MineClone2/issues/880 2020-12-01 20:10:37 +04:00
kay27
e0734952ce quick fix 'not def and def.walkable' 2020-11-28 17:56:37 +04:00
kay27
a127136c60 Add Enchanting from Crafter-minetest by Oil_boi 2020-10-19 16:38:21 +04:00
kay27
446b0e6602 Merge updated Nether portals, https://git.minetest.land/Wuzzy/MineClone2/issues/804 2020-09-21 22:21:46 +04:00
Wuzzy
731f42ac88 Rename and move texture: tnt_smoke 2020-08-19 18:47:58 +02:00
Wuzzy
f00dc21252 Make dying mobs non-pointable 2020-08-19 18:38:38 +02:00
Wuzzy
28aead0a60 Tweak mob death particles 2020-08-19 18:38:14 +02:00
Wuzzy
e2735e0081 Fix wrong var name in mcl_mobs 2020-08-05 17:29:52 +02:00
MysticTempest
460d6e837a Fix farm mobs following players slowly, adjust animations to follow suit, increase pig view range slightly, and change the runaway animation from walk to run. 2020-08-03 08:37:58 -05:00
MysticTempest
c63c92f597 Copy upstream's pathfinding out of water, then copy & rework the cliff check into a check for land mobs to avoid water. 2020-07-31 08:35:40 -05:00
MysticTempest
56958ab0c9 Fix mobs getting stuck in water, fix mobs falling off cliffs, and lower spider speed so cliff_danger check is properly applied. 2020-07-24 21:15:40 -05:00
kay27
ba51686e6c Russian translation 2020-07-20 00:11:13 +00:00
Wuzzy
90cc3b9659 Fix crash in mcl_mobs 2020-07-16 20:26:41 +02:00
Brandon
ad5759a5ad Update method for harming by heal to mob attributes 2020-07-12 16:56:41 -04:00
Wuzzy
5125f6d739 Merge branch 'rootyjr_enderman' 2020-07-11 11:32:50 +02:00
Wuzzy
0a5294c0c8 Remove outdated creative mob check 2020-07-10 16:46:47 +02:00
Wuzzy
c106a62979 Use minetest.is_creative_enabled 2020-07-10 16:45:40 +02:00
Booglejr
5472b0403f Fix violent enderman when not in creative mode. 2020-06-21 18:17:59 -05:00
rootyjr
046bca1080
implemented ability to detect when seen / break eye contact and aggressive response / implemented teleport to avoid arrows. / implemented teleport to avoid rain. / implemented teleport to chase. / added enderman particles. / drew particles 1 through 5 / added rain damage. / fixed the grass_with_dirt issue. 2020-06-08 00:51:48 -05:00
Wuzzy
547080bd98 Add a delay before mobs start to suffocate 2020-05-13 22:15:46 +02:00
Wuzzy
c156398fb5 Merge branch 'translate-fr' of https://git.minetest.land/lrocher/MineClone2 into translate_fr 2020-05-09 18:57:40 +02:00
Wuzzy
2b4a4f8c60 Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2020-05-05 02:11:52 +02:00
Rocher Laurent
4957bd1118 Translate In French 2020-05-03 22:39:07 +02:00
Alexander Minges
beace10136 prevent water mobs to classify solid blocks below them as dangerous 2020-05-03 17:43:44 +02:00
Wuzzy
bc740efafe Add fire explosions 2020-05-02 19:05:56 +02:00
Wuzzy
56d484f69b Make mobs and bed use mcl_explosions 2020-05-02 18:50:25 +02:00
Wuzzy
3087621b11 Merge branch 'mcl_explosions' 2020-04-30 20:55:10 +02:00
Elias Åström
cdea2eeabf Change mcl_mobs to enable knockback in y direction 2020-04-19 13:08:36 +02:00
Wuzzy
1db34821a0 Mobs: Fix crash when mob dies to fall or light dmg 2020-04-12 23:11:18 +02:00
Wuzzy
a2785041dd Remove mod startup debug messages 2020-04-11 02:56:46 +02:00
Wuzzy
47cda09073 Implement per-class mob cap 2020-04-11 02:46:03 +02:00
Wuzzy
a33bd015f5 Reduce max_object_per_block default to 64 2020-04-11 01:14:14 +02:00
Wuzzy
5fe8717fca Fix another crash in Mobs mod 2020-04-08 15:03:03 +02:00
Wuzzy
21d5b93baa Remove explicit stepheight from most mobs 2020-04-08 02:35:20 +02:00
Wuzzy
c5e4ec5e27 Use ephemeral sounds 2020-04-07 00:55:45 +02:00
Wuzzy
28b1d5e8e9 Mobs: Add more nil checks 2020-04-05 21:09:27 +02:00
Wuzzy
e81b5ef58a Another nil check in mcl_mobs 2020-03-30 16:52:36 +02:00
Wuzzy
600eadedea Add nil checks when mob is damaged 2020-03-29 23:24:04 +02:00
Wuzzy
fb9d0f7a7c Mobs: Drop cooked item if died in fire 2020-03-15 09:07:38 +01:00
Wuzzy
03a5519d01 Partial German translation of tooltip extensions 2020-03-11 01:44:23 +01:00
Wuzzy
070e928bf0 Merge branch 'tt' 2020-03-10 18:21:32 +01:00
Wuzzy
4cb5b26fa9 Fix crash in mcl_mobs 2020-02-25 16:09:26 +01:00
Wuzzy
401382106f Fix crash when riding player leaves 2020-02-22 20:47:25 +01:00
Wuzzy
4926f8d443 Mobs: Respect fall_damage_add_percent 2020-02-19 17:24:35 +01:00
Wuzzy
589b750d0a Add tool wear for punching mobs 2020-02-19 16:47:57 +01:00
Wuzzy
ba74546d48 Add extended tooltips 2020-02-19 04:54:17 +01:00
Wuzzy
460e7c0c67 3 mob heads reduce mob detection range 2020-02-18 18:12:51 +01:00
Wuzzy
bed0849bb0 Add setting: mcl_tnt_griefing 2020-02-05 03:11:32 +01:00
wuniversales
15481cb24d Add Spanish translation 2020-02-04 21:43:50 +01:00
Wuzzy
04c8a08cc4 Ignite tnt minecart by fire charge 2020-01-30 23:11:16 +01:00
Wuzzy
d923f71c92 Teach mobs how to not walk into danger ... kinda 2020-01-30 18:04:50 +01:00
Wuzzy
61e148ac2e Fix mobs able to swim in plants 2020-01-30 17:05:39 +01:00
Wuzzy
fcf46b3423 Remove legacy stuff in mcl_mobs 2020-01-30 16:17:29 +01:00
Wuzzy
c234b273ad Introduce snowball_vulnerable armor group 2020-01-30 16:14:13 +01:00
Wuzzy
be04de084b Mobs: Utilize pathfinder jumpheight properly 2020-01-30 01:36:08 +01:00
Wuzzy
8be35bae53 Make mcl_worlds dependency in mcl_mobs optional 2020-01-30 01:11:02 +01:00
Wuzzy
bddb8f1136 Remove some outdated dependencies in mcl_mobs 2020-01-30 01:05:31 +01:00
Wuzzy
f7fb83891a Mobs: Replace name-based fence/wall check 2020-01-29 23:37:16 +01:00
Wuzzy
9326a76973 Fix mobs walking into water too often 2020-01-29 23:11:20 +01:00
Wuzzy
3788b66b47 Clean up some luacheck warnings in mcl_mobs 2020-01-20 16:08:59 +01:00
Wuzzy
87ac0c952c Mobs: Reset texture mods on activation 2020-01-06 17:28:08 +01:00
Wuzzy
0ae2c5b25f Mention mob glitch workaround 2020-01-06 14:49:44 +01:00
Wuzzy
1210d8c9a7 Workaround for mobs glitching through walls
Thanks, MysticTempest!
2020-01-06 14:46:10 +01:00
Wuzzy
7a870d0ead Message when trying to spawn forbidden hostile mob 2020-01-06 13:46:43 +01:00
Wuzzy
1e354f63c0 Add chick sounds 2019-12-09 12:18:26 +01:00
Wuzzy
8a2e6d434d Mobs now shoot mcl_bows:arrow_entity 2019-12-09 09:29:19 +01:00
Wuzzy
5f1973aecd Mobs: Refactor distance calculation 2019-12-08 18:48:49 +01:00
Wuzzy
6d5bfacb8c Make mob_difficulty no longer experimental 2019-10-03 12:25:28 +02:00
Wuzzy
c6903b48f1 Fix mobs spawn with 0 health if mob_difficulty=0 2019-10-03 12:19:54 +02:00
Wuzzy
0e733f1677 Fix outdated mob settings help 2019-10-03 12:17:45 +02:00
Wuzzy
5ed278717f Rename dmg particle setting 2019-10-03 12:05:30 +02:00
Wuzzy
8b9ac5c6a6 Remove custom damage particles 2019-10-03 12:03:36 +02:00
Wuzzy
d9424ad82e Make dmg particles proportional to dmg 2019-10-03 11:53:26 +02:00
Wuzzy
f9e46b914d Mobs: Separate fire damage from lava damage 2019-10-02 18:45:28 +02:00
Wuzzy
14d4bec8a9 Implement proper drowning for mobs 2019-10-02 18:28:28 +02:00
Wuzzy
44bd5dba6c Mobs: Don't set gotten in API anymore 2019-09-10 17:17:09 +02:00
Wuzzy
9416305fa6 Fix sheep not regrow wool if mobs_griefing=false 2019-09-10 17:09:17 +02:00
Wuzzy
2fecf0336c Mobs: Stack texture mod effects 2019-09-10 16:00:41 +02:00
Wuzzy
955638bccd Harden minetest.after check 2019-09-10 15:45:26 +02:00
Wuzzy
915ac2da93 Merge branch 'fix_mob_damage_color' of https://github.com/Rootyjr/MineClone2 2019-09-10 15:32:30 +02:00
Wuzzy
2423acb297 Fix slimes not jumping at all 2019-09-05 00:17:52 +02:00
Nicholas Niro
995024b47b Teach mobs not to jump if they'd hurt their head 2019-08-30 04:31:14 +02:00
Rootyjr
58d9fb874d Mobs now flash red when hurt. 2019-08-01 01:18:53 -05:00
Wuzzy
c5db9987c3 Fix various typos in German translation 2019-03-25 11:01:52 +01:00
Wuzzy
cf9e440019 Translation: Add support for a few missing items 2019-03-16 02:38:36 +01:00
Wuzzy
7c9126ace5 German translation: entities 2019-03-14 00:25:41 +01:00
Wuzzy
04c2da63ad mcl_mobs: Remove unused string 2019-03-14 00:00:10 +01:00
Wuzzy
10035a64af Fix mobs not retaliating if friend died with 1 hit 2019-03-09 01:57:51 +01:00
Wuzzy
47ef78bf6a Fix group attack for slime, zombie and zombiepig 2019-03-09 01:50:00 +01:00
Wuzzy
f3b4c56772 Change default mob view range to 16 2019-03-09 01:04:18 +01:00
Wuzzy
a5b20b1bf0 Modify pitch of small slimes and magma cubes 2019-03-09 00:44:24 +01:00
Wuzzy
8b44e6fb7a Mobs: Also play jump sfx if not moving horizontal 2019-03-09 00:24:53 +01:00
Wuzzy
c98df597fc Fix mob detection of fences and walls 2019-03-09 00:18:21 +01:00
Wuzzy
9434baf991 High pitch for baby monsters 2019-03-08 23:52:41 +01:00
Wuzzy
a58b6fd3fb Fixed pitch for fuse sound 2019-03-08 23:17:42 +01:00
Wuzzy
b8d3e7473b Mob sfx: Random pitch, higher pitch for children 2019-03-08 23:11:44 +01:00
Wuzzy
f7d9aea529 Make blazes glow in the dark 2019-03-08 03:40:46 +01:00
Wuzzy
1217d9fa88 New translation system, part 1: entities 2019-03-07 20:43:39 +01:00
Wuzzy
2f74aea6f5 Replace deprecated functions 2019-03-06 04:38:57 +01:00
Wuzzy
7851cee45e Fix exhauston for attacking and taking dmg 2019-02-28 16:43:52 +01:00
Wuzzy
5a7952bf92 Set mob spawn chance to 2.5 and fix player respawn msg 2019-02-11 15:51:30 +01:00
Wuzzy
d50ff26118 Rename setting: mob_spawn_multiplier → mobs_spawn_chance 2019-02-09 03:11:15 +01:00
Wuzzy
a7d429a017 Fix several "undeclared global" errors 2019-02-08 22:44:26 +01:00
Wuzzy
9a3c6a3fd7 Protect: add bottles, mobspawner, fix repeater 2019-02-08 22:17:51 +01:00
Wuzzy
bcf7125f9d Fix mob items not working without maphack priv 2019-02-08 17:55:14 +01:00
Wuzzy
37b9b6fbfc If mob jumped against wall 4 times, turn around 2019-02-06 08:51:09 +01:00
Wuzzy
d4fe313077 Mobs: Fix line-of-sight handling (thanks, chon!) 2019-02-06 08:27:14 +01:00
Wuzzy
0068508968 Don't add weapon wear in Creative Mode 2019-02-05 21:11:37 +01:00
Wuzzy
1c35828fa2 Fix stupid mob spawn height 2019-02-05 19:24:02 +01:00
Wuzzy
cfd5615548 Spawn smaller slime/magmacube if it doesn't fit 2019-02-05 19:12:28 +01:00
Wuzzy
64457b151c Improve free space checks on mob spawn 2019-02-05 17:05:40 +01:00
Wuzzy
e789801662 Replace getpos() with get_pos() 2019-02-01 06:33:07 +01:00
Wuzzy
8ff69dda0c Despawn animals, too 2019-01-31 22:00:43 +01:00
Wuzzy
0a803400fe Mobs: Disable war_cry sound for now 2019-01-31 07:57:03 +01:00
Wuzzy
27823dbbb3 Remove frustration mob sound 2019-01-31 07:45:42 +01:00
Wuzzy
139b1000ff Implement mob suffocation 2019-01-31 07:23:35 +01:00
Wuzzy
e1e7d5215e Add more mob sound cooloffs 2019-01-31 06:31:04 +01:00
Wuzzy
a2b39ed943 Mobs: Prevent jump sound spam 2019-01-31 02:44:05 +01:00
Wuzzy
3bcc2c2693 Make mob knockback weaker 2019-01-28 00:55:41 +01:00
Wuzzy
8f7303d540 Lookup tool opens help page when using it on mobs 2019-01-28 00:04:12 +01:00
Wuzzy
a3d798ca13 Fix mobs playing damage sound when they healed 2018-09-18 20:08:03 +02:00
Wuzzy
ad2fbb0008 Add some despawning logic (but do not enable despawning yet) 2018-09-14 14:48:48 +02:00
Wuzzy
ce04c81482 Fix another crash in mcl_mobs 2018-07-04 01:53:08 +02:00
Wuzzy
f7227de6fa Local variable fix in mcl_mobs 2018-07-02 23:34:40 +02:00
Wuzzy
61c5c61e00 Fix crash when using nametag 2018-07-02 23:27:11 +02:00
Wuzzy
a6bb31f2a6 Fix explo mobs destroy land if mobs_griefing=false 2018-06-10 16:09:28 +02:00
Wuzzy
2132cdacc5 Improve minetest.after checks 2018-06-03 16:17:55 +02:00
Wuzzy
201c2bf170 Fix minetest.after crashes in mcl_mobs 2018-06-03 16:13:46 +02:00
Wuzzy
9c6f5b3573 Remove dead code in mcl_mobs 2018-06-03 00:56:29 +02:00
Wuzzy
1d04b52b5a Name tag: Update texture conversion and add alias 2018-05-31 18:40:02 +02:00
Wuzzy
34e92a361b Rename mobs mod to mcl_mobs 2018-05-31 18:32:26 +02:00