Commit graph

638 commits

Author SHA1 Message Date
the-real-herowl
b6938bad90 Merge pull request 'Fix a heisenbug' (#4098) from depends_patch into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4098
2023-12-24 05:04:49 +00:00
the-real-herowl
e1d5899aa5 Remove unneeded dependencies
This patches a heisenbug to be investigated later
2023-12-24 01:27:29 +01:00
JoseDouglas26
6480c6923a mcl_music pt_BR translation 2023-12-22 23:45:07 +01:00
JoseDouglas26
487f78d663 mcl_hunger pt_BR translation 2023-12-22 23:45:07 +01:00
JoseDouglas26
1c3003c85b mcl_spawn pt_BR translation 2023-12-22 23:45:07 +01:00
JoseDouglas26
9701526d16 mcl_skins pt_BR translation 2023-12-22 23:45:07 +01:00
Michieal
ceada2fcec Merge pull request 'Fix translation files syntax errors' (#4061) from megustanlosfrijoles/frijolesclone2:warning-fix2 into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4061
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Merged-by: michieal
2023-12-19 01:15:43 +00:00
the-real-herowl
8a5058e032 Unified and refactored FOV API code 2023-12-18 22:50:52 +00:00
the-real-herowl
5afd0aa255 Fixed the exclusive modifiers not being exclusive 2023-12-18 22:50:52 +00:00
Michieal
98b6ead591 Fixed a couple of errors
Removed a debug statement that was broken.
Changed `modififer` to `modifier` in a code block.
2023-12-18 22:50:52 +00:00
the-real-herowl
040ce8288e Script and documentation cleanup 2023-12-18 22:50:52 +00:00
the-real-herowl
f9b192e68f Updated credits 2023-12-18 22:50:52 +00:00
the-real-herowl
08241f6ea3 Updated the api.md file 2023-12-18 22:50:52 +00:00
the-real-herowl
5bf6608483 Made bow unfocus faster 2023-12-18 22:50:52 +00:00
the-real-herowl
42ec62562d Moved sprinting into the new FOV api 2023-12-18 22:50:52 +00:00
the-real-herowl
7f5ce4e033 Fixed modifier application and removal 2023-12-18 22:50:52 +00:00
the-real-herowl
a650f8b368 Made fovapi registration more robust 2023-12-18 22:50:52 +00:00
Michieal
580a1caa38 Reworked some of the Apply_Modifier code to help prevent errors. 2023-12-18 22:50:52 +00:00
Michieal
2f8389d3f5 Put in check to prevent Trying to Reference a Nil error in Apply_Modifier. 2023-12-18 22:50:52 +00:00
Michieal
4f3f59f4bc Put in checks to prevent repeatedly applying the same FOV modifier.
Added short circuit to remove_modifier if the modifier is not currently applied.
2023-12-18 22:50:52 +00:00
Michieal
6cfb55e853 Added reset for player respawning to remove FOV modifiers.
Fixed missing on_end call in remove_all_modifiers.
Added mcl_fovapi to Bows, Sprint, and Spyglass.
2023-12-18 22:50:52 +00:00
Michieal
bf41e116a1 Fleshed out the API Documentation.
Modified missing pieces of code.
2023-12-18 22:50:52 +00:00
Michieal
fc80d4fb9f Initial API state. 2023-12-18 22:50:52 +00:00
Michieal
11c5d36c55 Initial Commit. 2023-12-18 22:50:52 +00:00
José M
6dce3b4bc4 Remove whitespace-only translation in template file 2023-12-10 01:56:19 -06: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