Commit graph

29 commits

Author SHA1 Message Date
AFCMS
8dda13f143 remove unuseful code 2021-04-26 00:33:27 +00:00
AFCMS
5f076d372a fix many codestyle errors 2021-04-17 07:42:49 +02:00
kay27
2e3a5efaf9 [mcl_spawn] Ignore 'ignore' nodes when checking the point, fix https://git.minetest.land/MineClone2/MineClone2/issues/1230 2021-03-29 03:08:21 +04:00
kay27
b587b1f2a5 [mcl_spawn] Cleanup 2021-03-29 02:48:45 +04:00
kay27
3ceb2b0a4d Fix https://git.minetest.land/MineClone2/MineClone2/issues/1160 2021-02-25 03:30:34 +04:00
kay27
13a9dbed3e Fix https://git.minetest.land/MineClone2/MineClone2/issues/1052 (stop searching trees after 10+ attempts) 2021-02-04 03:41:43 +04:00
kay27
9492f276fc Make mcl_spawn compatible with flat mapgen with superflat MCL2 option (but better to have some trees still) 2021-02-03 16:08:00 +04:00
kay27
e8f8d4cb1e Better fix spawn point search (follow-up 32cf25dc17) 2021-02-03 04:22:02 +04:00
kay27
32cf25dc17 Fix spawn point search 2021-02-03 03:53:47 +04: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
kay27
81c27363a3 Add limitations to respawn search algorithm to make it work faster 2021-01-17 22:07:02 +04:00
kay27
5b44eeb611 Teach observer to detect TNT in realtime mode, fix crash in mcl_spawn on restart server in less than 30s in new world 2021-01-17 02:48:36 +04:00
kay27
fe33f172d4 Add player-friendly respawn place search algorithm, fix https://git.minetest.land/Wuzzy/MineClone2/issues/515 https://git.minetest.land/Wuzzy/MineClone2/issues/972 https://git.minetest.land/Wuzzy/MineClone2/issues/981 2021-01-16 18:51:30 +04:00
Elias Fleckenstein
3787b95e0f Fix #700 2021-01-06 13:01:27 +01:00
kay27
fa97aca76a Simplify respawn search algorithm, https://git.minetest.land/Wuzzy/MineClone2/issues/833 2020-09-10 21:25:02 +04:00
kay27
daede2a183 Improve around-the-bed-respawn place search algorithm: square spiral up to 7 x/z nodes, thanks anon5, https://git.minetest.land/Wuzzy/MineClone2/issues/785 2020-09-09 14:35:44 +04:00
Wuzzy
d7fc158073 Make mcl_spawn translatable 2019-03-13 23:27:00 +01:00
Wuzzy
eff91038e8 Fix crash if item dropped in end portal in the end 2019-03-09 10:08:53 +01:00
Wuzzy
9057743eb8 Tweak spawning algorithm 2019-03-08 05:12:31 +01:00
Wuzzy
2b3922c972 Replace deprecated player attribute calls 2019-03-06 05:45:16 +01:00
nickolas360
6497916ade Fix spawning at bed when chunk is unloaded 2019-02-28 15:35:18 +01:00
Wuzzy
079b09c80f Explicit msgs when respawn pos changed due to bed 2019-02-20 19:43:02 +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
a7d429a017 Fix several "undeclared global" errors 2019-02-08 22:44:26 +01:00
Wuzzy
5897d07435 Don't show bed msg if player respawns w/o bed 2019-02-07 19:54:12 +01:00
Wuzzy
7437d3945b Forget spawn if bed was destroyed 2019-02-05 00:07:39 +01:00
Wuzzy
a11f6ffaac Don't respawn on bed if bed is missing or blocked 2019-02-04 16:58:28 +01:00
Wuzzy
f0b5f10c90 Update mcl_spawn 2017-11-26 15:04:31 +01:00
Wuzzy
351f1834a3 Add Spawn API 2017-11-24 07:04:03 +01:00