Commit graph

8564 commits

Author SHA1 Message Date
cora
7b92bb89ce Merge pull request '[5.6] safely handle entities involving set_hp' (#2526) from iliekprogrammar/MineClone2:safe_entity_handling into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2526
Reviewed-by: cora <cora@noreply.git.minetest.land>
2022-08-07 21:05:11 +00:00
Sumyjkl
99eca2ceb9 player will not be upside down when flying or swimming 2022-08-08 02:05:03 +10:00
Sumyjkl
9fdcfcd898 significanltly more accurate values, much slower, more reliable physics, more comments 2022-08-08 00:05:00 +10:00
Sumyjkl
5a8216ba43 moved functions and constants out of global step (oops) 2022-08-07 23:12:57 +10:00
SumianVoice
49089ed8c4 Merge branch 'master' into elytra-overhaul 2022-08-07 10:18:14 +00:00
Sumyjkl
f6148068c5 snow layers and blocks drop nothing by hand 2022-08-07 19:55:01 +10:00
iliekprogrammar
0e999d8bb9
[5.6] remove incorrect marks.
wrong, bad. these are fine.
2022-08-07 13:00:43 +08:00
iliekprogrammar
156aff21a1
[5.6][bows] fix unsafe entity handling for arrows 2022-08-07 12:48:09 +08:00
iliekprogrammar
4f2789c498
[5.6][armor] fix unsafe entity handling (unsure)
i'm not sure about this one, can't fnd a suitable test for it.
2022-08-07 12:43:24 +08:00
iliekprogrammar
bf80074d98
[5.6][mobs] fix unsafe entity handling (unsure)
i'm not sure about this one, can't find a suitable test for it.
2022-08-07 12:38:26 +08:00
iliekprogrammar
4b31692319
[5.6][boats] fix unsafe entity handling
this probably does not affect normal gameplay, unless you can set boats on fire somehow
2022-08-07 12:09:12 +08:00
iliekprogrammar
bce4d29737
[5.6][lightning] fix unsafe entitiy handling
this does not excuse all on_strike callbacks to allow oversights.
it must also track entity removal.
2022-08-07 10:44:13 +08:00
iliekprogrammar
221ee0fcf1
[5.6] mark places with unsafe set_hp entity handling
There might be other places i might be missing, but these are the obvious ones.

leftover entity handling i did not mark:
* everything that involves a apply()-like algorithm (e.g. callbacks) over the
  same list of objects.
* in mcl_damage, it's not known whether mcl_damage.from_mt() would involve
  entity handling or just player handling.
2022-08-07 00:13:03 +08:00
Sumyjkl
02c92dc6f8 fix getting wrong node 2022-08-07 01:05:39 +10:00
Sumyjkl
509fadfebb fix is_pressing_jump being global 2022-08-07 00:38:20 +10:00
Sumyjkl
1263c43b5d elytra and other non-combat armour don't take durability damage when the player is attacked 2022-08-06 14:38:42 +10:00
Sumyjkl
cd6da88b37 tweaks again 2022-08-05 14:43:48 +10:00
cora
3922c5bdca Merge pull request 'Nerf shipwreck loot' (#2519) from fix_shipwreck_loot into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2519
Reviewed-by: chmodsayshello <chmodsayshello@hotmail.com>
2022-08-04 22:58:27 +00:00
cora
27304d5d96 Nerf shipwreck loot 2022-08-04 04:21:59 +02:00
cora
c8012ccffd Merge pull request 'add dependency for mcl_weather to mcl_burning to hopefully avoid crashes' (#2516) from SumianVoice/MineClone2_c:mcl_burning_depend into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2516
Reviewed-by: cora <cora@noreply.git.minetest.land>
2022-08-04 01:49:13 +00:00
SumianVoice
3f73dc1794 Merge branch 'master' into mcl_burning_depend 2022-08-03 12:55:07 +00:00
Sumyjkl
eb89466436 add dependency for mcl_weather to mcl_burning to hopefully avoid crashes 2022-08-03 22:45:15 +10:00
cora
d1d2b03635 Merge pull request 'Add mangrove swamps' (#2503) from mangrove_swamps into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2503
Reviewed-by: MysticTempest <mystictempest@noreply.git.minetest.land>
2022-08-03 10:39:20 +00:00
cora
e901003e22 Fix mangrove (trap)door, stair and slab recipes 2022-08-03 11:57:17 +02:00
Sumyjkl
3c0992e58d tweaks 2022-08-03 18:41:51 +10:00
cora
c36b359c70 Fix mangrove roots and water logged roots(somewhat) 2022-08-03 00:00:44 +02:00
cora
191e117e05 Axe can strip mangrove wood 2022-08-02 23:51:48 +02:00
Sumyjkl
4df51bac72 code quality, minor tweaks 2022-08-03 01:03:28 +10:00
Sumyjkl
b7a5a74ccf less pitch up slowdown 2022-08-03 00:14:31 +10:00
Sumyjkl
ece79cad8a prevent player from getting hyperspeed while flying from ground 2022-08-03 00:08:30 +10:00
Sumyjkl
845e43c143 tweaked several things 2022-08-02 23:51:21 +10:00
Sumyjkl
aa93ce4b3a tweaked slowdown on pitch up 2022-08-02 23:45:20 +10:00
Sumyjkl
12af0e7de8 semi-working on 0.3 server step 2022-08-02 23:42:04 +10:00
Sumyjkl
32a57133ac use dtime 2022-08-02 22:47:51 +10:00
Sumyjkl
5c085bd28f prevent player gaining infinite momentum by spamming jump while running, added dtime dependent velocity 2022-08-02 22:06:19 +10:00
Sumyjkl
c80012a14f fix gravity not being reset when died after rocketing 2022-08-02 21:23:05 +10:00
SumianVoice
e28c0d311a Merge branch 'master' into elytra-overhaul 2022-08-02 10:27:14 +00:00
cora
1065165952 fix mangrove trapdoor 2022-08-02 12:06:13 +02:00
cora
c0fec69c70 Add plantlike_rooted propagules 2022-08-02 12:02:20 +02:00
cora
844cf6c5dc Fix waterlogged texture to be animated 2022-08-02 12:02:20 +02:00
cora
2b90675ea2 fix warnings 2022-08-02 12:02:20 +02:00
cora
8e41d5a1f4 Fix propagule growth 2022-08-02 12:02:20 +02:00
cora
811d7a778f Add tall mangrove tree schematics 2022-08-02 12:02:20 +02:00
cora
4491e962d5 grand mcl_mangrove cleanup 2022-08-02 12:02:20 +02:00
cora
77c878f609 make waterlogged roots work with river water 2022-08-02 12:02:20 +02:00
cora
51f79eaa39 Add lilypads and dead bushes 2022-08-02 12:02:20 +02:00
cora
3bf45ec4e9 Spawn mangroves in shallow water, fix schematics 2022-08-02 12:02:20 +02:00
cora
e8fc56ab33 Fix water- and mudlogged roots, add w. logging abm 2022-08-02 12:02:20 +02:00
cora
f003aefe19 allow coral reefs in MangroveSwamps 2022-08-02 12:02:20 +02:00
Thunder1035
d284ddf150 Add mangrove trees 2022-08-02 12:02:20 +02:00