Commit graph

9196 commits

Author SHA1 Message Date
cora
678bf661d2 Merge pull request 'Various mob improvments' (#2791) from various_mob_improvments into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2791
Reviewed-by: cora <cora@noreply.git.minetest.land>
2022-10-15 22:52:10 +00:00
epCode
677fcb48c9 fix mob floping 2022-10-15 12:09:25 -07:00
epCode
8e28c296ca fix mobs flying out of thier element, and increase mob gravity closer to MC 2022-10-15 11:57:53 -07:00
epCode
22e6731261 various mob improvments 2022-10-15 11:25:26 -07:00
cora
210496b615 Merge pull request 'Fix crash when getting attacked by mob while in boat' (#2778) from fix_boat_mob_crash into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2778
2022-10-14 23:59:00 +00:00
cora
a6a98fb7ae Fix crash when getting attacked by mob while in boat 2022-10-15 01:58:19 +02:00
epCode
5eca209d95 Merge pull request 'smoother mob velocity+other mob improvments' (#2783) from fluid_mob_velocity into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2783
Reviewed-by: cora <cora@noreply.git.minetest.land>
2022-10-14 23:53:55 +00:00
epCode
f242655b13 make mobs predict jumps before even getting too close to a bock. 2022-10-15 01:47:43 +02:00
epCode
44ba08cb8b make die animation more smooth for all mobs 2022-10-15 01:47:43 +02:00
epCode
ba127ecb12 fine-tune mob velocity 2022-10-15 01:47:43 +02:00
epCode
82153c2af9 make mob movment more fluid 2022-10-15 01:47:43 +02:00
epCode
cdbcae4b59 Merge pull request 'Some entity inv / boat fixes' (#2788) from entinv_fixes into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2788
Reviewed-by: epCode <epcode@noreply.git.minetest.land>
2022-10-14 23:05:04 +00:00
cora
224bbff56b Open minecart inv with regular rightclick 2022-10-15 00:40:03 +02:00
cora
0c993294fb Make choat collisionbox a bit taller 2022-10-14 21:52:57 +00:00
cora
1b57650317 fix boat collisonbox to fit the model better
it says in a comment to not *lower* it - i made it higher. All
seems to work - boat does not fall through the world.
2022-10-14 21:52:57 +00:00
cora
e245ff02c2 Place player in front of choat, disallow passenger 2022-10-14 21:52:57 +00:00
cora
0ec4cb5502 Open inv on shift+rightclick 2022-10-14 21:52:57 +00:00
cora
cb7df652f7 Fix title double display in boats and minecarts 2022-10-14 21:52:57 +00:00
PrairieWind
05232e99cd Merge pull request 'Add lightning rods' (#2772) from lightning_rod into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2772
Reviewed-by: PrairieWind <prairie.astronomer1@gmail.com>
2022-10-14 21:17:39 +00:00
cora
96b7b9eab3 Add crafting recipe 2022-10-14 17:32:31 +00:00
cora
e80e44612c Add lightning rod 2022-10-14 17:32:31 +00:00
cora
7b1d5501c1 lightning: allow change of strike position in callback 2022-10-14 17:32:31 +00:00
cora
1efaec526c Merge pull request 'Fix a few on start warnings in torches' (#2775) from fix_torch_texture_warnings into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2775
2022-10-14 10:12:19 +00:00
cora
a7e12e268c fix warning / wrong usage of on_construct in torches 2022-10-14 12:11:18 +02:00
cora
40fb4a1299 Fix texture warnings in torches 2022-10-14 12:11:18 +02:00
cora
10a857bb3f Merge pull request 'Some structure- and general mob fixes' (#2746) from fix_structmob_despawn into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2746
2022-10-14 10:10:27 +00:00
cora
d90b3c046a give mobs a slightly heigher jump height
so they don't need 2 tries to jump on a node
2022-10-14 02:44:23 +02:00
cora
c855f51829 fix mobs not jumping anymore 2022-10-14 02:40:25 +02:00
cora
c044cf8e74 Fix debug line 2022-10-14 02:31:23 +02:00
cora
93f8f2aa3b only count despawnable mobs for global caps 2022-10-14 02:31:23 +02:00
cora
976b9da7d7 Despawn out of range mobs when immobile 2022-10-14 02:31:23 +02:00
cora
c146124a2c spawning: check for room accrd. to collisionbox 2022-10-14 02:31:23 +02:00
cora
ea48be3f4c Add global and per-player mob caps 2022-10-14 02:31:23 +02:00
cora
cd862888d1 Fix indentation 2022-10-14 02:31:23 +02:00
cora
ba25e57eac don't run on_spawn twice 2022-10-14 02:31:23 +02:00
cora
546b9ade6f Make mobs outside of player radius stop moving 2022-10-14 02:31:23 +02:00
cora
5db7680cd1 mitigate high cpu usage due to excessive mob counting
This was caused by the mob caps being checked too frequently
2022-10-14 02:31:23 +02:00
cora
effac327f5 Fix baby Z-pigman visual size 2022-10-14 02:31:23 +02:00
cora
97f9614818 Log the node a mob spawns on 2022-10-14 02:31:23 +02:00
cora
cba176be4a make horny mobs move towards each other 2022-10-14 02:31:23 +02:00
cora
39a0353a49 Add spawn counts per mob to /mobstats 2022-10-14 02:31:23 +02:00
cora
1a380da960 Don't spawn pilalgers *in* the ground 2022-10-14 02:31:23 +02:00
cora
83f17fd9a7 Cats keep their color 2022-10-14 02:31:23 +02:00
cora
976b1eb153 don't despawn pillager, evoker and witch 2022-10-14 02:31:23 +02:00
cora
102469f7ab Merge pull request 'mob_attack_better_strat' (#2774) from mob_attack_better_strat into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2774
Reviewed-by: cora <cora@noreply.git.minetest.land>
2022-10-14 00:30:42 +00:00
epCode
27ac333878 fix syntax crash 2022-10-13 16:59:32 -07:00
epCode
b27c81cea4 make mobs coordinate attacks with all other similar alliances. 2022-10-13 16:53:01 -07:00
epCode
12e9c2c6d0 make all hostile mobs attack a little more strategically. 2022-10-13 16:41:45 -07:00
cora
5b74a2e70c Merge pull request 'Add glow squids and particlespawner api for mobs' (#2741) from glow_squids into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2741
Reviewed-by: PrairieWind <prairie.astronomer1@gmail.com>
2022-10-13 22:45:40 +00:00
cora
80ff5f1207 Fix enderpos global warning 2022-10-14 00:24:44 +02:00