Commit Graph

619 Commits

Author SHA1 Message Date
Eliy21
200f7451eb Remove unnecessary invul code & add damage animation code 2023-12-17 21:15:55 +00:00
Eliy21
c9692c6224 Fix player invulnerability not getting disabled permanently bug 2023-12-15 19:49:04 +00:00
Eliy21
8e2c5249f5 Fix comment on player invul code 2023-12-15 15:59:08 +00:00
Eliy21
60367cdbe0 Revert unreliable bugfix
There are times when the continuous damage when punching players does not happen so will not fix at the moment as using other weapons does still work.
2023-12-15 15:42:49 +00:00
Eliy21
b0e33793ec Fix a potential bug that could bypass attack reach limit when a stronger attack breaches the invul 2023-12-13 20:04:15 +00:00
Eliy21
a8806fe04e Add player invulnerability & fix not continuously damaging players when holding the attack key
Player invulnerability is the same as Minecraft's Damage Immunity https://minecraft.wiki/w/Damage#Immunity

The old code for some reason only allows a few damage by holding and does not continuously damage other players after a few hits
2023-12-13 17:34:42 +00:00
the-real-herowl
bb66f81999 Merge pull request 'Combat rebalancing' (#4036) from combat_rebalancing into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4036
2023-12-08 22:06:06 +00:00
Eliy21
86dad4693e Add warning log if players with 0 hp joined (#4051)
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4051
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: Eliy21 <eliy21@noreply.git.minetest.land>
Co-committed-by: Eliy21 <eliy21@noreply.git.minetest.land>
2023-12-05 08:21:37 +00:00
Eliy21
0673fcc25b Respawn dead players when they login so they don't get stuck without the death formspec (#4041)
Hopefully will prevent the dead player not respawning when logging in bug from happening

Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4041
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: Eliy21 <eliy21@noreply.git.minetest.land>
Co-committed-by: Eliy21 <eliy21@noreply.git.minetest.land>
2023-12-05 01:08:50 +00:00
the-real-herowl
589de76613 Fixed a code branch never being run 2023-12-05 01:59:05 +01:00
the-real-herowl
cca6645524 Added player damage invulnerability 2023-12-05 00:58:10 +00:00
the-real-herowl
24ffd64cad Knockback fixes 2023-12-05 00:58:10 +00:00
the-real-herowl
e29654a0f6 Revert healing interval default to the lower value 2023-12-05 00:58:10 +00:00
3raven
86da47b922 French translation update (#4006)
Update french translation, add missing chain, fix typo

Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4006
Reviewed-by: AFCMS <afcm.contact@gmail.com>
Co-authored-by: 3raven <3raven@noreply.git.minetest.land>
Co-committed-by: 3raven <3raven@noreply.git.minetest.land>
2023-11-25 01:08:06 +00:00
Eliy21
7cbba73d50 Combat (mostly PvE) rebalancing (#4005)
-Added short mob invulnerability time after being hit
-Added separate shorter range for hitting mobs (as opposed to node interaction)
-Reworked mob knockback
-Slowed down natural health regeneration from saturation
-Added a setting for the saturation health regen speed

Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4005
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: Eliy21 <eliy21@noreply.git.minetest.land>
Co-committed-by: Eliy21 <eliy21@noreply.git.minetest.land>
2023-11-23 00:32:23 +00:00
Dark
a66be39d9b Raise player eye height to 1.6 blocks.
This is the same as in Minecraft. The previous value of 1.5 can feel very strange for those coming from that game.
2023-10-16 00:15:12 +00:00
ancientmarinerdev
2c2f5595f3 Merge pull request 'Add Setting to keep respawn location set if bed is destroyed.' (#3933) from Eliy21/MineClone2:no_bed_respawn_setting into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3933
Reviewed-by: chmodsayshello <chmodsayshello@hotmail.com>
2023-09-29 18:29:31 +00:00
Johannes Fritz
2bd6678b08 mcl_skins: link to official mcl_custom_skins 2023-09-28 13:09:45 -05:00
Blockhead
882c3ef339 Point mcl_custom_skins link to a working URL 2023-09-25 19:55:36 +10:00
Eliy21
eb658a4996 Update mods/PLAYER/mcl_spawn/init.lua
Add if then condition for no bed/anchor respawn settings
2023-09-11 19:38:33 +00:00
Sab Pyrope
5b4a79a26d Update russian translation 2023-08-31 14:16:42 +08:00
AFCMS
4f0620c7c1
Fix meshhand not updating correctly 2023-08-19 18:06:31 +02:00
AFCMS
9d184e9897
Remove duplicated creative inventory code 2023-08-19 18:01:32 +02:00
AFCMS
bf28bab427
Remove duplicated creacode 2023-08-19 18:01:31 +02:00
AFCMS
ae632fe773
Fixes in mcl_inventory
- Fix (yet another) rebase conflict
- Remove unused code and annotations
- Fix annotations in `mcl_gamemode` to https://github.com/minetest-toolkit/minetest-lsp-api
2023-08-19 18:01:30 +02:00
AFCMS
4db0631133
mcl_inventory creative fixes
- Add many comments (I had a really hard time understanding the code)
- Add some more type annotations (https://github.com/minetest-toolkit/minetest-lsp-api)
- Rename non english variable
2023-08-19 18:01:30 +02:00
AFCMS
3bbae86baf
Fix this stupid merge conflict 2023-08-19 18:01:29 +02:00
cora
ee4f7d1b88
Fix rebase breaking creative digging 2023-08-19 18:01:29 +02:00
AFCMS
7d8a1e1e5f
Fix some merging stuff 2023-08-19 18:01:29 +02:00
AFCMS
093d55861c
Basic mcl_gamemode documentation 2023-08-19 18:01:27 +02:00
AFCMS
fbb51835b3
survival inventory tabs API + mcl_gamemode 2023-08-19 18:01:26 +02:00
AFCMS
c2032fe4de
Fix 2023-08-19 18:01:25 +02:00
AFCMS
691b93ac68
Modern Survival Inventory (9 slice images, formspec v6) 2023-08-19 18:01:25 +02:00
Johannes Fritz
6756358307 Fix meshhand with mcl_skins disabled 2023-08-16 08:06:12 -05:00
ancientmarinerdev
8b9b4b00e5 Fix elytra crash when flying over unknown node 2023-06-21 20:47:54 +00:00
ancientmarinerdev
088f8dec2f Fix server crash for unknown node below. 2023-06-21 20:47:54 +00:00
Temak
f7f8a72d08 Update russian translation (#3519)
Update russian translation by Temak

Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3519
Reviewed-by: ancientmarinerdev <ancientmariner_dev@proton.me>
Co-authored-by: Temak <artemkotlubai@yandex.ru>
Co-committed-by: Temak <artemkotlubai@yandex.ru>
2023-06-19 21:54:51 +00:00
Johannes Fritz
f1d17e2c69 mcl_skins: PR feedback 2023-05-26 20:27:11 +00:00
MrRar
26f033932e Add mcl_custom_skins info to README 2023-05-26 20:27:11 +00:00
MrRar
1e63f3931a Skins update 2023-05-26 20:27:11 +00:00
ancientmarinerdev
7726e576f0 Remove oopsie 2023-05-11 17:30:28 +00:00
ancientmarinerdev
d920441a01 Reduce network activity for elytra flying rocket particles 2023-05-11 17:30:28 +00:00
PrairieWind
b001e4e06f Make elytra active checks use groups instead
So that modders can easily add their own varients of elytra that work
2023-04-27 20:53:49 +00:00
MrRar
ec5b0903be Make enchanted elytra usable 2023-04-27 20:53:49 +00:00
megustanlosfrijoles
7dc09e3ebd Add spanish translations (#3659)
I just added some translations to Spanish that were missing

Co-authored-by: José Muñoz <dr.cabra@disroot.org>
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3659
Reviewed-by: ancientmarinerdev <ancientmariner_dev@proton.me>
Co-authored-by: megustanlosfrijoles <dr.cabra@disroot.org>
Co-committed-by: megustanlosfrijoles <dr.cabra@disroot.org>
2023-04-27 19:50:10 +00:00
chmodsayshello
5db1e1876c playerbound music toggle (between 94e554aa1a and 5481f0109c) 2023-04-25 17:24:17 +02:00
syl
ac4073a259 Improve french translation 2023-04-07 17:05:06 +02:00
ancientmarinerdev
3e6b43ad47 Elytra moves quicker than mapgen can cope. A bit performance hit on servers. Make this configurable. 2023-04-02 20:27:02 +00:00
Johannes Fritz
bef204f548 Remove mcl_player_init 2023-03-30 18:18:57 +00:00
Johannes Fritz
a52931f986 Fix mcl_skins crash 2023-03-24 15:53:07 -05:00