Commit graph

686 commits

Author SHA1 Message Date
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 ba97dfd02f 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
Wuzzy
8dd3c9224f Fix translation of falling anvil death msg 2019-03-18 18:16:25 +01:00
Wuzzy
9d7f4f6544 Translate villager professions 2019-03-16 04:14:21 +01:00
Wuzzy
8ee1521f14 Translation: Add support for horse armor 2019-03-16 02:44:52 +01:00
Wuzzy
cf9e440019 Translation: Add support for a few missing items 2019-03-16 02:38:36 +01:00
Wuzzy
af4aa6c2ec Change German translation of Shulker 2019-03-16 00:21:17 +01:00
Wuzzy
1c27cbe4f6 German translation: mcl_mobitems to mcl_potions 2019-03-15 09:50:32 +01:00
Wuzzy
a51bcff1b9 Fix crash if breeding sheep that spawned as child 2019-03-15 00:26:06 +01:00
Wuzzy
7c9126ace5 German translation: entities 2019-03-14 00:25:41 +01:00
Wuzzy
9ef6176958 Remove redundant translatability stuff in mobs_mc 2019-03-14 00:16:53 +01:00
Wuzzy
04c2da63ad mcl_mobs: Remove unused string 2019-03-14 00:00:10 +01:00
Wuzzy
5aeb4aea74 Add translation templates for most mods
Using the findtext.lua script
2019-03-13 23:40:59 +01:00
Wuzzy
2b586549cf Add translation templates for 3 mods 2019-03-13 22:52:14 +01:00
Wuzzy
008a1b1cac Add German translation for boats 2019-03-13 05:57:43 +01:00
Wuzzy
2c599c4a0e Refactor mobs_mc a bit 2019-03-11 13:25:06 +01:00
Wuzzy
cc9b78215a Fix crash with wither projectile 2019-03-11 13:23:55 +01:00
Wuzzy
c8f9c3e923 Delete drippingwater entities when block unloads 2019-03-10 04:22:19 +01:00
Wuzzy
4f2baf8506 Play place sound if falling node hit the bottom 2019-03-09 08:59:09 +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
7899f6d432 Tweak height fear of all mobs 2019-03-09 00:54:49 +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
6f9e178084 Baby zombies take sunlight damage 2019-03-08 23:55:27 +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
20576431e1 More death messages, more reliable 2019-03-08 20:22:01 +01:00
Wuzzy
f7d9aea529 Make blazes glow in the dark 2019-03-08 03:40:46 +01:00
Wuzzy
fed10e688e Tweak water/lava drips 2019-03-08 03:05:27 +01:00
Wuzzy
1217d9fa88 New translation system, part 1: entities 2019-03-07 20:43:39 +01:00
Wuzzy
a84f7935fa Revert "Utilize formspec prepend"
This reverts commit ea0c2e9568.
2019-03-07 12:42:08 +01:00
Wuzzy
66c6b373a5 Make many entities non-pointable 2019-03-07 03:53:06 +01:00
Wuzzy
ea0c2e9568 Utilize formspec prepend 2019-03-06 06:35:24 +01:00
Wuzzy
c4558a31ab Update modpack meta files (MT 5.0.0) 2019-03-06 05:52:31 +01:00
Wuzzy
a9776814a6 Fix player attachment offsets 2019-03-06 05:11:49 +01:00
Wuzzy
2f74aea6f5 Replace deprecated functions 2019-03-06 04:38:57 +01:00
Wuzzy
a711c7bdb7 handle_node_drops no longer destroys metadata 2019-03-01 17:30:21 +01:00
Wuzzy
7851cee45e Fix exhauston for attacking and taking dmg 2019-02-28 16:43:52 +01:00
Wuzzy
31668cdde5 Add brown mooshroom 2019-02-21 02:38:33 +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
fb3db5077c Fix slime code using nil arguments 2019-02-08 22:27:45 +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
d59d789c80 Put boat/minecart in inv when punched in creative 2019-02-06 21:56:52 +01:00
Wuzzy
66c99efb2f Hide "useless" items from creative and craft guide 2019-02-06 10:57:23 +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
3563b5448c Slime: Don't add speed if mother was stuck 2019-02-05 21:02:36 +01:00
Wuzzy
958989c80d If slime/mcube was killd, smaller m. att. attacker
Previously, if you killed a big slime, the smaller slimes that spawn are neutral.
2019-02-05 20:49:34 +01:00
Wuzzy
ca484cfa1a Improve child spawn on slime/magmacube death
No longer do children spawn in walls
2019-02-05 20:19:06 +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
b7a2fba1ce Fix spawn ABM check that prevented squid spawn 2019-02-05 17:43:18 +01:00
Wuzzy
64457b151c Improve free space checks on mob spawn 2019-02-05 17:05:40 +01:00
Wuzzy
a285827980 Change powered rail texture names to fix MTG clash 2019-02-04 12:38:36 +01:00
Wuzzy
0586c0ea18 Destroy items in fire 2019-02-01 08:31:17 +01:00
Wuzzy
29040f9352 Add magma cube sounds 2019-02-01 08:13:45 +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
c9fb060ea0 Tweak zombie growl sound occurence 2019-01-31 07:20:51 +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
d34c48cb59 Insta-drop minecart when its rail is destroyed 2019-01-30 03:37:47 +01:00
Wuzzy
6748576f8e Increase minecart floating check timer 2019-01-30 03:37:23 +01:00
Wuzzy
1966d18586 Drop minecart as item if its not on a rail anymore 2019-01-30 03:16:59 +01:00
Wuzzy
e42945a4e1 Minecarts: Reset eye offset when detaching player 2019-01-30 02:41:24 +01:00
Wuzzy
5a1cafa5dd Minecarts: Save _railtype in staticdata 2019-01-30 02:04:12 +01:00
Wuzzy
b9c197565a Minecarts: Init _railtype on placement 2019-01-30 01:58:26 +01:00
Wuzzy
b23b9a9395 Add silverfish sounds (thanks, Inocodum!) 2019-01-28 22:13:35 +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
68c373d2b8 Add a couple of modpack.conf files 2019-01-07 00:52:05 +01:00
Wuzzy
fa3fd68c8c Turn enderman to monster, but reduce view range 2018-12-22 14:29:45 +01:00
Wuzzy
e0fe5b2c66 Disable zombie war_cry sound for now 2018-10-23 17:34:01 +02:00
Wuzzy
a88429a78e Fix missing zombie growl 2018-10-23 17:13:22 +02:00
Wuzzy
d1fb01c2ff Fix crash if trading with cleric in non-v6 mapgen 2018-10-23 17:03:42 +02:00
Wuzzy
6dbbca4bec Fix mobs_mc_vex_death.ogg being stereo 2018-09-18 21:39:03 +02:00
Wuzzy
92dca4850a Add new cat/ocelot sounds 2018-09-18 21:21:05 +02:00
Wuzzy
a3d798ca13 Fix mobs playing damage sound when they healed 2018-09-18 20:08:03 +02:00
Wuzzy
5d6d1cf790 Add bat sound 2018-09-18 19:46:44 +02:00
Wuzzy
fd33d9d2ec Add creeper and vex sounds 2018-09-18 16:14:55 +02:00
Wuzzy
8b38a169e6 Add basic horse sounds 2018-09-18 14:49:28 +02:00
Wuzzy
e422e47ada Add crazy coo hurt/death sounds 2018-09-14 17:37:24 +02:00
Wuzzy
900625b17b Add ghast shoot/death sound, add many sound TODOs 2018-09-14 16:27:58 +02:00
Wuzzy
7d66d5f2d3 Remove unused arrow code for wither skeleton 2018-09-14 16:08:32 +02:00
Wuzzy
26a5059cc0 Add bow shooting sound when mob fires an arrow 2018-09-14 16:07:22 +02:00
Wuzzy
077cd14f4f Add skeleton sounds 2018-09-14 15:58:31 +02:00
Wuzzy
ad2fbb0008 Add some despawning logic (but do not enable despawning yet) 2018-09-14 14:48:48 +02:00
MysticTempest
67ebf3366f Make player sit in minecarts 2018-07-09 23:45:54 +02:00
MysticTempest
5d4b4b099c Fix snowman's head texture 2018-07-09 23:33:32 +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
a88f644001 Update deprecated settings syntax 2018-06-20 19:02:52 +02:00
Wuzzy
2bb8b2c4e2 Fix undeclared global fail in villager.lua 2018-06-11 14:47:41 +02:00
Wuzzy
a6bb31f2a6 Fix explo mobs destroy land if mobs_griefing=false 2018-06-10 16:09:28 +02:00
Wuzzy
45add3cedd Add creamy horse texture 2018-06-10 15:51:03 +02:00
Wuzzy
e051eae5bc Lightning no longer turns villagers to witches
Because witches are incomplete.
Also add villager TODOs.
2018-06-10 15:27:01 +02:00
Wuzzy
a804144ed4 Trading: Make iron helmet cheaper 2018-06-10 15:09:52 +02:00
Wuzzy
9faa3099a4 Trader: Close trade formspec + return items on die 2018-06-10 15:01:44 +02:00
Wuzzy
aa3d3969aa Make villager stand still if there is near player 2018-06-10 14:24:00 +02:00
Wuzzy
dbed565197 Fix unlock_stuff being always false in villager 2018-06-10 13:53:26 +02:00
Wuzzy
51ff6b1725 Villager: Prevent locking of all trades
This is done by adding an "emergency unlock" which unlocks
everything else when the last trade was locked.
2018-06-10 13:49:35 +02:00
Wuzzy
ed52e49408 Heal trader for unlocking trades 2018-06-10 13:20:19 +02:00
Wuzzy
3e8ca5a1ca Trading: Hide left/right button if end of list 2018-06-10 13:06:28 +02:00
Wuzzy
cca841e459 Villager trading: Use per-player trading inventory 2018-06-10 12:15:09 +02:00
Wuzzy
9f2460c263 Make red sandstone trade earlier 2018-06-06 21:29:44 +02:00
Wuzzy
ce7ac37e85 Add a few v6-exclusive trades to villagers 2018-06-06 21:28:23 +02:00
Wuzzy
5faed5d7f0 Add 2 crosses in trading formspec 2018-06-06 19:50:17 +02:00
Wuzzy
4d4374730e Trading: Allow to sell compass 2018-06-06 19:37:31 +02:00
Wuzzy
3823a6ba11 Add trade locking for villagers 2018-06-06 17:33:14 +02:00
Wuzzy
8b95871682 Implement trading tier unlocking 2018-06-06 16:34:44 +02:00
Wuzzy
1db3b079c6 Add disabled trade image 2018-06-06 14:39:16 +02:00
Wuzzy
2c55daa3e2 Change nitwit villager texture 2018-06-06 14:12:27 +02:00
Wuzzy
829ca1f1c1 Villager profession depends on clothes, add nitwit 2018-06-06 13:55:19 +02:00
Wuzzy
f545af54c1 Disable buggy compass trade 2018-06-06 01:08:57 +02:00
Wuzzy
1c0e026259 Villager: Fix taking output sometimes destroy item 2018-06-06 00:45:30 +02:00
Wuzzy
3c4a1013b8 Villager: Prevent taking partial track from output 2018-06-06 00:16:25 +02:00
Wuzzy
b504e8c317 Make trader warning less bright 2018-06-04 22:23:46 +02:00
Wuzzy
6e32d23d56 Add warnings and notes about trading implementation 2018-06-04 22:21:10 +02:00
Wuzzy
a58a01040d Show villager name in trading formspec 2018-06-04 22:13:24 +02:00
Wuzzy
9bfa116794 Allow to select different trades 2018-06-04 21:46:13 +02:00
Wuzzy
e9bcbe1ead Store available trades in villager entity 2018-06-04 21:07:12 +02:00
Wuzzy
cc1fe2f14f Fix bread trade 2018-06-04 15:21:59 +02:00
Wuzzy
10e2c174d4 Pick random villager profession on spawn 2018-06-04 14:59:10 +02:00
Wuzzy
f1dc75f097 Add lots of random trades for villagers 2018-06-04 14:36:06 +02:00
Wuzzy
7109db24c2 Trading: Reset inventory when closing formspec 2018-06-04 12:50:31 +02:00
Wuzzy
a9cf744c0b Disable villager trading again 2018-06-04 01:20:24 +02:00
Wuzzy
e5c7e50202 More villager fixing 2018-06-04 01:19:23 +02:00
Wuzzy
883568add4 Implement basic villager trading formspec 2018-06-03 18:37:53 +02:00
Wuzzy
2dbda44a93 Add some global spawn restrictions
- no monsters on mycelium
- nothing on non-opaque blocks, except air
2018-06-03 17:48:32 +02:00
Wuzzy
f022b747b0 Harden a number of minetest.after player checks 2018-06-03 16:44:37 +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
Wuzzy
4be664ab49 Rebranding of the mobs redo mod 2018-05-31 17:54:35 +02:00
Wuzzy
9afe5da7b4 Make sure bred pig and sheep stay tamed and owned 2018-05-31 17:32:13 +02:00
Wuzzy
2f0987b529 Move mcl_void_damage to ENVIRONMENT 2018-05-31 15:13:16 +02:00
Wuzzy
d5729b8a32 Fix load-crash if _magnet_timer of item entity is uninizialized 2018-05-31 14:34:19 +02:00
Wuzzy
73dcf1e697 Randomly mutate foal fur/mark with 1/9 chance each 2018-05-31 14:05:45 +02:00
Wuzzy
aeee941b2c Breeding sheep now mixes wool colors like dyes 2018-05-31 05:45:57 +02:00
Wuzzy
e246b5d0bb Fix breeding giving weird childs 2018-05-31 04:38:37 +02:00
Wuzzy
97e550bb9f Can't shear lambs 2018-05-31 03:45:38 +02:00
Wuzzy
55beefa6c7 Fix wool regrow for sheep 2018-05-31 03:43:48 +02:00
Wuzzy
91b41885d5 Tweak blaze animation 2018-05-31 03:17:41 +02:00
Wuzzy
4513c6c35d Undead mobs take light damage only in sunlight 2018-05-31 03:09:27 +02:00
Wuzzy
b73e05d64a Fix light_damage damaging mobs in rain/snow 2018-05-31 02:47:37 +02:00
Wuzzy
eefd065726 New horse texturing (thanks to 22i) 2018-05-30 19:51:40 +02:00
Wuzzy
050987bead Add illagers to Conversion Table 2018-05-30 18:48:07 +02:00
Wuzzy
8b6f5d3dec Redo sheep texturing
Thanks to 22i
2018-05-30 18:05:49 +02:00
Wuzzy
c10f4311f7 Update death animations of some mobs 2018-05-30 17:34:38 +02:00
Wuzzy
895d06d28a Update (wither) skeleton mesh and anim (thx 2 22i) 2018-05-30 17:11:07 +02:00
Wuzzy
328eb883ec Redo skeleton stray vex zombiepig meshes/textures
Thanks, 22i!
2018-05-30 16:59:27 +02:00
Wuzzy
6619cf159f New zombie pigman mesh by 22i 2018-05-30 16:41:28 +02:00
Wuzzy
635a9c45bd Enable wolf-on-sheep attack 2018-05-30 16:16:44 +02:00
Wuzzy
76c1c10a9b Tweak snowman animation params 2018-05-30 13:33:19 +02:00
Wuzzy
17b9bd27de Redo snowman texturing (thanks, 22i!) 2018-05-30 13:29:33 +02:00
Wuzzy
b2d9c119ac Add mobs:spawn_child 2018-05-30 12:58:50 +02:00
Wuzzy
940b3748fb Fix horse child keeping horse armor of parent 2018-05-30 12:34:16 +02:00
Wuzzy
806e392d31 Fix child of saddled pigs getting saddle, too 2018-05-30 12:25:10 +02:00
Wuzzy
d575cf07b7 Kill snow golems in rain 2018-05-30 12:01:53 +02:00
Wuzzy
69b3e19c1b Name tags now name all mobs (except ender dragon) 2018-05-30 11:34:17 +02:00
Wuzzy
c1cc790d9d Update Mobs Redo (1.41) 2018-05-29 17:00:30 +02:00
Wuzzy
187e6b7e58 Remove water damage from creeper 2018-05-27 10:41:50 +02:00
Wuzzy
48b7191af2 Regularily damage and delete entities in void 2018-05-25 13:45:41 +02:00
Wuzzy
f0b732d7e0 Place boats in the placer direction 2018-05-09 18:43:07 +02:00
Wuzzy
5ca5811bc8 Refactor how the misc creative category works 2018-05-08 15:58:26 +02:00
Wuzzy
83829ec358 Hide a couple of very incomplete items in Creative 2018-05-08 01:40:31 +02:00
Wuzzy
4be5f89829 Move bow/arrow logic into new mod mcl_bows 2018-05-07 23:10:49 +02:00
Wuzzy
9376edeeda Re-add nametags which were removed accidentally 2018-03-31 21:58:52 +02:00
Wuzzy
11be72e635 Disable mob health display 2018-03-31 03:54:55 +02:00
Wuzzy
8060928237 Fix some creeper issues
- Fix fuse sound sometimes not playing
- Timer = 1.5s
- Distance behaviour like in MC
2018-03-31 03:53:11 +02:00
Wuzzy
d6228145c6 Fix random mob teleportations once and for all! 2018-03-31 00:21:55 +02:00
Wuzzy
7be5914463 Update Mobs Redo 2018-03-31 00:18:40 +02:00
Wuzzy
318415307c Update mobs_mc 2018-03-25 22:27:06 +02:00
Wuzzy
bb6f2f7770 Rename “subgame” to “game” (partial fix) 2018-03-25 22:20:32 +02:00
Wuzzy
1fa141d972 Custom node drops now ignore Creative Mode 2018-03-05 13:35:14 +01:00