Commit Graph

873 Commits

Author SHA1 Message Date
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
411e180477 Use same death_speed for all mobs 2020-12-05 03:52:08 +01:00
Wuzzy
ab7cfa1e43 Improve flight behavior of bat/parrot a little 2020-12-05 03:35:08 +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
Laurent Rocher
af26f18bd6 Complete French Translation 2020-11-18 23:06:47 +01:00
Elias Fleckenstein
a3cf6b0e5d Blast Protection; Fire Protection; Projectile Protection; Feather Falling; Thorns 2020-11-13 12:21:36 +01:00
Elias Fleckenstein
3d7bb69e81 Bane of Arthropods; Smite; Lure 2020-11-09 18:59:08 +01:00
Elias Fleckenstein
86b2cd70f9 Fortune 2020-11-06 13:46:52 +01:00
Elias Fleckenstein
7c28bf8507 Silk Touch 2020-11-02 19:09:23 +01:00
Wuzzy
a4c2211d87 Merge branch 'enchanting' of https://git.minetest.land/Wuzzy/MineClone2 into master 2020-10-24 11:38:16 +02:00
kay27
30d9e54803 Implement leftovers of https://git.minetest.land/Wuzzy/MineClone2/issues/841#issuecomment-11440 2020-10-24 02:46:45 +04:00
Wuzzy
280f284867 Merge branch 'enchanting' of https://git.minetest.land/Wuzzy/MineClone2 into master 2020-10-23 22:32:35 +02:00
Wuzzy
6b30553707 Merge branch 'cart-acceleration' of https://git.minetest.land/2mac/MineClone2 into master 2020-10-23 22:12:40 +02:00
Wuzzy
4c39224e6f Merge https://git.minetest.land/EliasFleckenstein03/MineClone2 into master 2020-10-23 21:53:42 +02: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
e361b35724 Fix crash delete item entity with empty itemstring 2020-08-29 10:57:33 +02: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
e310de1754 Fix Shulker spawnegg typo 2020-08-05 19:59:50 +02:00
Wuzzy
1f8488aba5 Make throwable water bottles useful 2020-08-05 19:00:08 +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
Elias Fleckenstein
21c6815839 Added End Crystal 2020-07-25 13:32:35 +02: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
Brandon
1eeb0511de Correct undeclared local obj in enderman line 318 2020-07-19 18:32:33 -04: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
99f161ca80 Localize 2 endermen vars 2020-07-11 11:53:58 +02: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
kay27
80fcffcd38 Fix Enderman's teleport by getting less nodes to pass PseudoRandom:next 2020-06-21 13:10:10 -05:00
Brandon
e882dfc3c5 Drop ghast tear and rabbit foot 2020-06-20 10:51:36 -04:00
Rootyjr
7b9a79658d
Attempt to fix more crash errors. 2020-06-16 23:59:16 -05:00
Rootyjr
d19bedc6d2
I think this addresses the crash and also makes enderman more passive during the day. 2020-06-13 14:51:27 -05:00
Rootyjr
a7b9107d31
Fix enderman griefing in protected areas. 2020-06-12 01:22:01 -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
d2cacf285d Paintings: Tweak selectionboxes 2020-05-21 04:45:54 +02:00
Wuzzy
3bd160f414 Check protection when placing painting 2020-05-21 04:22:10 +02:00
Wuzzy
f0d511bd4a Paintings: Move closer to wall 2020-05-21 02:16:12 +02:00
Wuzzy
bfd2f0ebc7 Add paintings 2020-05-21 01:51:52 +02:00
Wuzzy
7cfef25dfe Fix undeclared global in mcl_minecarts 2020-05-16 20:13:22 +02:00
Wuzzy
547080bd98 Add a delay before mobs start to suffocate 2020-05-13 22:15:46 +02:00
Wuzzy
1a0e979b0c Update incomplete license information and credits 2020-05-11 17:18:04 +02:00
Wuzzy
26b5b45595 Fix crash when creeper explodes 2020-05-10 14:54:43 +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
0c96e512d7 Remove bogus saddle recipe 2020-05-09 00:40:54 +02:00
Wuzzy
aeb7a6cb8b Disable guardian spawning 2020-05-08 17:44:27 +02:00
Wuzzy
fb55d33bfe Fix villager crash when trading w/o inited inv 2020-05-08 17:27:22 +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
Wuzzy
ef20ac54c3 Fix crash when fueling furnace minecart 2020-04-30 18:13:05 +02:00
Elias Åström
cdea2eeabf Change mcl_mobs to enable knockback in y direction 2020-04-19 13:08:36 +02:00
Elias Åström
fd05259202 Make TNT and TNT Minecart use the explosions API
The old api from mcl_tnt is still left in the code, and used by the
mobs.
2020-04-19 13:08:36 +02:00
Wuzzy
6a77a54034 Increase z_index values to match new convention 2020-04-17 21:27:45 +02:00
Wuzzy
3803dba233 Fix invalid portal node names in spawn code 2020-04-16 12:39:18 +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
8e06e4e8b2 Reduce mob_specific mob caps 2020-04-11 01:35:44 +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
71c9d20fff Use larger wield scale for tools 2020-04-08 04:07:16 +02:00
Wuzzy
21d5b93baa Remove explicit stepheight from most mobs 2020-04-08 02:35:20 +02:00
Wuzzy
31b367eb83 Fix horse-related crash 2020-04-08 02:29:12 +02:00
Wuzzy
f27615d77e Add z_index to HUD elements 2020-04-07 13:03:10 +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
24832c534f Fix crash in horse code 2020-03-24 19:11:25 +01:00
Wuzzy
3cf32c38c5 Villager: Make offered/wanted items unclickable 2020-03-19 12:32:30 +01:00
David McMackins II
59b6385d10 Fix bug where powered rails would not accelerate a fueled minecart 2020-03-17 15:00:12 -05:00
Wuzzy
fb9d0f7a7c Mobs: Drop cooked item if died in fire 2020-03-15 09:07:38 +01:00
wuniversales
3772dd51cc Update Spanish translation 2020-03-15 08:32:00 +01:00
Wuzzy
6b529e1204 Colorize some item tooltips 2020-03-12 02:29:30 +01:00
Wuzzy
feba60cad8 Translate all extended tooltips to German 2020-03-12 01:35:11 +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
03ad3cca29 Major default formspec style update
- Uses formspec_prepend to set e.g. button style
- Make all formspecs use the MCL2 style consistently
2020-03-10 05:01:49 +01:00
Wuzzy
4cb5b26fa9 Fix crash in mcl_mobs 2020-02-25 16:09:26 +01:00
Wuzzy
a375548992 Heal horses differently depending on food 2020-02-23 17:13:52 +01:00
Wuzzy
fbd5374085 Don't drip water+lava thru glass 2020-02-23 16:17:04 +01:00
Wuzzy
401382106f Fix crash when riding player leaves 2020-02-22 20:47:25 +01:00
Wuzzy
4ece91fde4 Make squids larger 2020-02-19 22:28:18 +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
3118673116 Play sound for equipping horse armor or saddle 2020-02-18 23:49:35 +01:00
Wuzzy
460e7c0c67 3 mob heads reduce mob detection range 2020-02-18 18:12:51 +01:00
Wuzzy
fb251db925 Rename mod: 3d_armor → mcl_armor 2020-02-18 15:44:54 +01:00
Wuzzy
988ca6ffe7 Interpret many damage sources as punches 2020-02-17 18:37:23 +01:00
Wuzzy
e6133ac670 Fix TNT minecart igniting 2020-02-14 21:09:36 +01:00
Wuzzy
bed0849bb0 Add setting: mcl_tnt_griefing 2020-02-05 03:11:32 +01:00
Wuzzy
2ef5f0232d Update minecart German translation 2020-02-05 03:11:07 +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
9f344b4307 Detach minecart driver if over activator rail 2020-01-30 22:45:29 +01:00
Wuzzy
1d2da1f01a TNT minecart and activator rail no longer WIP 2020-01-30 22:31:44 +01:00
Wuzzy
9dc9c12f29 Implement TNT minecart 2020-01-30 22:05:18 +01:00
Wuzzy
74b79d130b Add basic implementation of furnace minecart 2020-01-30 20:38:31 +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
d38e0a0b00 Remove unused jump_chance attribute from mobs 2020-01-30 00:03:53 +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
f2b7392a30 Use "minetest" instead of "core" table 2020-01-06 13:02:30 +01:00
Wuzzy
90298821a3 Remove mob aliases 2020-01-05 10:49:04 +01:00
Wuzzy
ab038ddd60 Increase drops of guardians 2019-12-18 21:55:22 +01:00
Wuzzy
2e9efe51e8 Tweak drop behavior of ocean plants 2019-12-18 03:10:49 +01:00
Wuzzy
b81396c03f Add falling node variants of seagrass 2019-12-17 21:24:57 +01:00
Wuzzy
f4888a42a9 Add glow to falling light source nodes 2019-12-14 18:56:59 +01:00
Wuzzy
7f70acc8a4 Make dropped items glow if light source node 2019-12-14 17:40:24 +01:00
Wuzzy
01288eff62 Enderman no longer pickup dirt-with-grass directly 2019-12-13 15:46:01 +01:00
Wuzzy
9dfe584cd1 Remove dirt with dry grass node from mobs_mc 2019-12-13 15:36:20 +01:00
Wuzzy
5b4f33c8f1 Add dummy support for placing carpets on llamas 2019-12-11 20:03:11 +01:00
Wuzzy
231493cb1b Merge branch 'screwdriver' 2019-12-11 04:47:53 +01:00
Wuzzy
0d3b8e11c3 Hide WIP mobs in creative inventory 2019-12-11 00:46:55 +01:00
Wuzzy
2ff5bafd91 Refactor mob projectiles 2019-12-10 01:01:04 +01:00
Wuzzy
046f9ab223 Make blaze attacks a bit better 2019-12-10 00:16:09 +01:00
Wuzzy
5868790b4f Tweak parrot colors 2019-12-09 12:35:24 +01:00
Wuzzy
1e354f63c0 Add chick sounds 2019-12-09 12:18:26 +01:00
Wuzzy
9e31c2b62b Snow golems use mcl_throwing snowball 2019-12-09 11:03:48 +01:00
Wuzzy
84ff24f8ed Tweak mob shooting behaviour 2019-12-09 09:56:38 +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
55171a12c6 Make dogs accept food
Thanks, emanresu!
2019-10-25 00:56:31 +02:00
Wuzzy
219b2464a1 Give llamas an appetite for hay bales 2019-10-25 00:47:30 +02: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
5bd19c03f6 Wither no longer floats in water 2019-10-03 00:00:25 +02:00
Wuzzy
4a7aaa9024 Increase boat speed on land 2019-10-02 20:54:06 +02:00
Wuzzy
a9ed14c4af Fix boats moving too fast backwards 2019-10-02 20:51:02 +02:00
Wuzzy
200cbf033a Set walk chance of agent mob to 0 2019-10-02 18:58:29 +02:00
Wuzzy
aae360db4c Remove spawn icon for unused agent mob 2019-10-02 18:57:06 +02:00
Wuzzy
f9e46b914d Mobs: Separate fire damage from lava damage 2019-10-02 18:45:28 +02:00
Wuzzy
b71c9204ec Update drowning settings in mobs_mc 2019-10-02 18:31:16 +02:00
Wuzzy
14d4bec8a9 Implement proper drowning for mobs 2019-10-02 18:28:28 +02:00
Wuzzy
67f33c9256 Prevent constructing arrow boxes 2019-09-19 12:27:27 +02:00
Wuzzy
31ae28e66e Add fishing rod in mob mods 2019-09-11 14:07:15 +02:00
Wuzzy
30a954b874 Increase max. speed of boats 2019-09-11 13:33:31 +02:00
Wuzzy
e633f15eed Fix boat behavior a bit when falling on water 2019-09-11 12:50:58 +02:00
Wuzzy
df7acfc8ae Boats: Can place properly at all sides 2019-09-11 12:23:56 +02:00
Wuzzy
b6c3cc0ed7 Tweak boat physics when inside water 2019-09-11 12:11:04 +02:00
Wuzzy
3cba55703a Boats: Allow very slow movement on ground 2019-09-11 11:17:42 +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
8618b42bc7 Merge branch 'fix_dye' of https://github.com/Rootyjr/MineClone2 2019-09-10 16:56:48 +02:00
Wuzzy
719242c840 Merge branch 'fix_sitting_minecart_bug' of https://github.com/Rootyjr/MineClone2 2019-09-10 16:09:29 +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
Wuzzy
1cbee9de18 Fix item entity force-out bias to positive dir 2019-08-27 13:08:54 +02:00
Rootyjr
58d9fb874d Mobs now flash red when hurt. 2019-08-01 01:18:53 -05:00
Rootyjr
839d74329c Fix #534.3 (Dyeing a sheep did not remove the dye from inventory.) 2019-07-31 11:14:11 -05:00
Rootyjr
b1f201f538 Fix #530 (Players were stuck in sitting animation after being out of minecart). 2019-07-29 00:13:16 -05:00
Wuzzy
1ed1bdfadb Use minetest.raillike_group for rails 2019-04-11 17:03:41 +02:00
Wuzzy
2203d0df53 Revert "Make item entities a bit more efficient"
This reverts commit ba97dfd02ff849f8df53126834a8907b51794711 because it broke item entities.
2019-04-01 10:59:36 +02:00
Oil_boi
ba97dfd02f Make item entities a bit more efficient 2019-03-26 10:23:52 +01:00
Wuzzy
6188d7b528 Fix other boolean settings default fails 2019-03-25 12:42:37 +01:00
Wuzzy
967905264d Make many help texts translatable and fix bugs 2019-03-25 12:05:57 +01:00
Wuzzy
c5db9987c3 Fix various typos in German translation 2019-03-25 11:01:52 +01:00