Commit graph

9320 commits

Author SHA1 Message Date
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
cora
3e312af3b9 fix warning / wrong var 2022-10-14 00:09:32 +02:00
cora
b770ce42e3 Fix particlespawners not showing on player_transfer_distance == 0 2022-10-13 21:48:05 +00:00
cora
fb07fee7f0 Glow squid spawn egg colors 2022-10-13 21:48:05 +00:00
cora
01791cf550 fix crash when player_transfer_distance is not set 2022-10-13 21:48:05 +00:00
cora
11742b61b2 Make Endermen also use the api instead of the old method 2022-10-13 21:48:05 +00:00
cora
063102cc1e Make glow squids use the particlespawner api 2022-10-13 21:48:05 +00:00
cora
ef4b243a30 Add coord safe infinite particlespawners api for mobs 2022-10-13 21:48:05 +00:00
cora
dc873f4de2 Fix crash when deleting particlespawners 2022-10-13 21:48:05 +00:00
cora
438d22e52e Fix glow inksac itemstring 2022-10-13 21:48:05 +00:00
cora
26ba771a02 Fix translator to use mobs_mc instead of extra_mobs 2022-10-13 21:48:05 +00:00
cora
ddd39b553d Fix indentation 2022-10-13 21:48:05 +00:00
cora
af8b1baba5 Do not spam the network with individual particles 2022-10-13 21:48:05 +00:00
cora
1daed62d12 Fix glow squid rotation / swimming direction 2022-10-13 21:48:05 +00:00
cora
a599f66360 move ink sac to mcl_mobitems 2022-10-13 21:48:05 +00:00
Faerraven
e2fd8b804c Add glow squids from mcl5 2022-10-13 21:48:05 +00:00
talamh
07e419905b Fixed typo in image resizing in bossbars 2022-10-13 20:02:28 +01:00
cora
2b5c409b12 Merge pull request 'Fix mobs not following player wielding the follow item' (#2768) from fix_mob_itemfollow into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2768
2022-10-13 13:05:37 +00:00
cora
a4a5b72380 Fix mobs not following player wielding the follow item 2022-10-13 15:03:24 +02:00
cora
b838646efb Merge pull request 'Fixed issue #2769: Cartographer villager offering to trade one glass pane for an emerald' (#2770) from herbert-west2/MineClone2:master into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2770
Reviewed-by: cora <cora@noreply.git.minetest.land>
2022-10-13 04:32:05 +00:00
Herbert West
25d6375f66 Fixed issue #2769: Cartographer villager offering to trade one glass pane for an emerald 2022-10-12 23:46:34 -04:00
cora
7eed73a543 Merge pull request 'Optionally bring back the old spawn icons' (#2705) from spawn_icons_setting into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2705
2022-10-13 00:15:58 +00:00
cora
d297f4af8c Add some missing spawn icons 2022-10-13 02:13:02 +02:00
cora
0048a3edb2 Display egg if icon not available 2022-10-13 02:13:02 +02:00
cora
f47674b9a7 Add mcl_util.file_exists() function 2022-10-13 02:13:02 +02:00
cora
57b5d13edf Add setting to optionally bring back spawn icons 2022-10-13 02:13:02 +02:00
cora
559136622e re-add old spawn icons 2022-10-13 02:13:02 +02:00