Commit graph

10101 commits

Author SHA1 Message Date
the-real-herowl
8b00fff4cb Remove dangling else 2023-12-11 00:54:30 +01:00
the-real-herowl
cf70de0ecc Add an on_attack callback for mobs (#4064)
Added an on_attack callback that allows to execute additional custom logic after each attack.

Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4064
Co-authored-by: the-real-herowl <wiktor_t-i@proton.me>
Co-committed-by: the-real-herowl <wiktor_t-i@proton.me>
2023-12-10 16:10:33 +00:00
José M
6dce3b4bc4 Remove whitespace-only translation in template file 2023-12-10 01:56:19 -06:00
José M
a60540c17e Remove a non empty translation in template file 2023-12-10 01:47:35 -06:00
José M
19fd075a2f Add the textdomain line in mcl_beehives.dk.tr
This will remove the warning that is shown when running Wuzzy's Minetest_Translation_tools and will contribute to the issue 3540
2023-12-10 01:16:43 -06:00
José M
1ac65305d6 Fix a typo in mcl_honey.es.tr 2023-12-10 00:13:40 -06:00
José M
8dcb62aa56 Fix a typo in mcl_honey.es.tr 2023-12-10 00:11:07 -06:00
José M
1d2a7b35d8 Update mcl_honey.es.tr 2023-12-10 00:07:17 -06:00
José M
02e7ff41d5 Update mcl_fire.es.tr and fix syntax errors 2023-12-09 23:42:32 -06:00
the-real-herowl
ca71e949a8 Credits update 2023-12-09 00:01:19 +01:00
the-real-herowl
47f920c9df Updated release credits and set version for 0.85 2023-12-09 00:01:19 +01: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
the-real-herowl
a344755894 Merge pull request 'horse: drops: remove 2nd saddle, add armor' (#4047) from Bakawun/MineClone2:horse into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4047
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
2023-12-07 01:02:38 +00:00
the-real-herowl
c03366aa12 Merge pull request 'Fix syntax errors and update spanish translations' (#4050) from megustanlosfrijoles/frijolesclone2:master into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4050
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
2023-12-06 23:36:09 +00:00
José M
bb1e572287 Update mcl_compass.es.tr and fix syntax errors 2023-12-05 18:39:29 -06:00
Eliy21
4127d120d2 Add server privs restriction to mcl_villages build tool (#4043)
<!--
Please follow our contributing guidelines first:
https://git.minetest.land/MineClone2/MineClone2/src/branch/master/CONTRIBUTING.md#how-you-can-help-as-a-programmer

By submitting this pull request, you agree to follow our Code of Conduct:
https://git.minetest.land/MineClone2/MineClone2/src/branch/master/CODE_OF_CONDUCT.md
-->

Fixes #4022

### Testing
-Make a new world, check host server and go into creative mode
-Since you're the server you have the server privs so get the mcl_villages build tool item in creative inventory and use it to see if it works
-Have someone join your server and give them the same item to use and see if they are restricted from using it

Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4043
Reviewed-by: chmodsayshello <chmodsayshello@hotmail.com>
Co-authored-by: Eliy21 <eliy21@noreply.git.minetest.land>
Co-committed-by: Eliy21 <eliy21@noreply.git.minetest.land>
2023-12-05 12:49:49 +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
José M
f39fe17895 Update mesecons_lightsone spanish translation
Fixed a syntaxis error at line 3 and added the missing translation for line 4
2023-12-04 22:51:50 -06: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
1857341b59 Fixed player knockback from arrows 2023-12-05 00:58:10 +00:00
the-real-herowl
46d9c66000 Fixed mobs executing custom on_punch with punch fail 2023-12-05 00:58:10 +00: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
José Muñoz
027e0e8337 Fix a typo in the spanish translation (#4039)
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4039
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: José Muñoz <dr.cabra@disroot.org>
Co-committed-by: José Muñoz <dr.cabra@disroot.org>
2023-12-05 00:05:39 +00:00
bakawun
2ba73f832c horse: drops: remove 2nd saddle, add armor 2023-12-04 20:17:39 +01:00
chmodsayshello
43e7a952ac use math.ceil to get amount of needed players 2023-11-30 22:29:56 +01:00
codiac
4cf865a36c Fix passive threshold in nether and end (#4030)
Fix light check for passive mobs in other dimensions. It is apparently the same in all dimensions. If a mob has it's own spawn_check function then that should be used regardless of it's type.

Fixes #4029

Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4030
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: codiac <codiac@inbox.lv>
Co-committed-by: codiac <codiac@inbox.lv>
2023-11-28 02:45:18 +00:00
Eliy21
b57f6be81d Make showing advancement chat messages into a setting (#4032)
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4032
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-28 01:37:45 +00:00
the-real-herowl
cd40861b3b Merge pull request 'Add stonecutter functionality' (#3999) from stonecutter_functionality into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3999
2023-11-27 23:37:57 +00:00
Kostinatyn Tsiupa
1da7bb0bdc hopper reimplementation
Reimplemented hoppers and all (blast_furnace, furnace, smoker, composters, double chaets, shulker_boxes, droppers, bookshelvs and brewing_stands) connected nodes
2023-11-27 14:33:01 +02:00
the-real-herowl
1044163717 Fixed the ambiguous /clear command being dangerous (#4026)
Implements #3826

Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4026
Co-authored-by: the-real-herowl <wiktor_t-i@proton.me>
Co-committed-by: the-real-herowl <wiktor_t-i@proton.me>
2023-11-27 02:22:39 +00:00
ThePython10110
570ea114ec Fix weathered cut copper crafting (#4033)
Just fixing a typo.

Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4033
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: ThePython10110 <thepython10110@noreply.git.minetest.land>
Co-committed-by: ThePython10110 <thepython10110@noreply.git.minetest.land>
2023-11-27 02:21:48 +00:00
the-real-herowl
8fd988da11 Increased cut copper recipe output 2023-11-25 23:52:04 +00:00
the-real-herowl
f1c5f0ca1c Fixed duplication bug 2023-11-25 23:52:04 +00:00
the-real-herowl
b4080b6275 Credits update in mod.conf 2023-11-25 23:52:04 +00:00
the-real-herowl
bb48e47488 Made stonecutter player metadata consistent 2023-11-25 23:52:04 +00:00
the-real-herowl
a6025b751a Uneven crafts support
-taking part of the resulting stack now produces well-defined results
-stonecutter won't allow amount undivisible by recipe count anymore
2023-11-25 23:52:04 +00:00
the-real-herowl
af2f58248f Added the ability to stonecut up to full stack 2023-11-25 23:52:04 +00:00
AFCMS
e324a1a74b Make inventory use the util functions 2023-11-25 23:52:04 +00:00
AFCMS
4836418cf6 Rework Stonecutter 2023-11-25 23:52:04 +00:00
AFCMS
a001f84786 Add utility functions to clean inventory lists 2023-11-25 23:52:04 +00:00
AFCMS
2128dd4c15 Add basic table ordered keys iterator 2023-11-25 23:52:04 +00:00
the-real-herowl
c183da7714 Updated README 2023-11-25 23:52:04 +00:00
the-real-herowl
fd17bf1a29 Removed old implementation groups 2023-11-25 23:52:04 +00:00
the-real-herowl
0c7b4d473c Copper blocks stonecutter recipes 2023-11-25 23:52:04 +00:00
the-real-herowl
6ebd3ccb7d Third batch of stonecutter recipes
-deepslate
-blackstone
-quartz bricks
2023-11-25 23:52:04 +00:00
the-real-herowl
d46b9071a0 Added nether and end stonecutter recipes 2023-11-25 23:52:04 +00:00
the-real-herowl
ead2e772c2 First batch of stonecutter recipes under new API
-core blocks
-stairs
-slabs
-walls
2023-11-25 23:52:04 +00:00
the-real-herowl
19cea45c17 Stonecutter fixes and improvements
-improved stonecutter API, making it more robust
-fixed a dupe bug
2023-11-25 23:52:04 +00:00
the-real-herowl
b252e577ec Implement recipe registering API 2023-11-25 23:52:04 +00:00
ChrisPHP
12568a6749 use on_destruct instead of after dig node 2023-11-25 23:52:04 +00:00
ChrisPHP
559f500322 Update readme for stonecutter 2023-11-25 23:52:04 +00:00
ChrisPHP
40fb043de2 Add stage so smooth items can't be reverted 2023-11-25 23:52:04 +00:00
ChrisPHP
5dda3033a5 Prevent input from being a selectable option 2023-11-25 23:52:04 +00:00
ChrisPHP
524c9c1bcc Dupe glitch fizes and remove item label 2023-11-25 23:52:04 +00:00
ChrisPHP
a9f26fb354 use item groups to determine the cuttable items 2023-11-25 23:52:04 +00:00
ChrisPHP
01d43bb33a Remove unused meta on drop items 2023-11-25 23:52:04 +00:00
ChrisPHP
ca37ce5744 Remove hardcoded one element array 2023-11-25 23:52:04 +00:00
ChrisPHP
5f0ad98dae Use node group for items that can be used in the stonecutter 2023-11-25 23:52:04 +00:00
ChrisPHP
0e60231c2e Only reset output if input is empty 2023-11-25 23:52:04 +00:00
ChrisPHP
7fcc2e3be3 Minor output fixes 2023-11-25 23:52:04 +00:00
ChrisPHP
356045b3e3 Add comments and drop items when destroyed 2023-11-25 23:52:04 +00:00
ChrisPHP
07d2759ae4 Check if item is a slab or not 2023-11-25 23:52:04 +00:00
ChrisPHP
9da07af370 Check if item can be made into stairs, slabs and walls 2023-11-25 23:52:04 +00:00
ChrisPHP
47990eec2b begin adding check if item canbe cut 2023-11-25 23:52:04 +00:00
ChrisPHP
7523727521 take output from stonecutter 2023-11-25 23:52:04 +00:00
ChrisPHP
2af08c3188 clear formspec on taking input item 2023-11-25 23:52:04 +00:00
ChrisPHP
45532ebe6d Add gui to list craft recipes for some stones 2023-11-25 23:52:04 +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
José M
4df6f82c64 Fix spanish translation errors (#4018)
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4018
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: José M <dr.cabra@disroot.org>
Co-committed-by: José M <dr.cabra@disroot.org>
2023-11-18 22:20:02 +00:00
chmodsayshello
6ee2dbe70c Add MineCraft like sleeping player hud (#4011)
This adds a sleeping hud/actionbar that'll be displayed to players currently not sleeping.

Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4011
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: chmodsayshello <chmodsayshello@hotmail.com>
Co-committed-by: chmodsayshello <chmodsayshello@hotmail.com>
2023-11-18 21:21:17 +00:00
the-real-herowl
613ab897b2 Merge pull request 'Fix item not dropping at tool last use' (#4009) from tool_destruction into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4009
2023-11-18 01:32:01 +00:00
the-real-herowl
e53d9ec8d7 Added comments 2023-11-18 02:31:07 +01:00
Mikita Wiśniewski
a764818e13 Add a new 'pumpkin' group (#4012)
Creates a new 'pumpkin' group, which combines Pumpkin, Faceless Pumkin and Jack o'Lantern under a shared category. This helps tidy up the mesecons_noteblock code a bit, and possibly other mods too.

Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4012
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-committed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
2023-11-14 15:35:30 +00:00
the-real-herowl
378b8f8f6c Fix item not dropping at tool last use 2023-11-13 13:35:12 +01:00
codiac
89c97690c8 Add a setting to enable mod nav hacks 2023-11-06 22:01:31 +01:00
codiac
06f9486e4d Do not go home if attacking 2023-11-06 21:59:40 +01:00
codiac
ae5564e658 Make golem go home. Fixes #3288 2023-11-06 21:59:40 +01:00
the-real-herowl
fdf823fff6 Merge pull request 'Update trapdoor climbable behavior' (#3938) from Dehydrate6684/MineClone2:trapdoor-ladder into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3938
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
2023-11-06 20:29:23 +00:00
Araca
52b65554d9 Do not output enchanted item if enchantment is impossible (#3998)
To Fix #3672 , I avoid displaying the output item if enchantment is not possible for various reason
* Level of added enchantment is below the one from input item
* Incompatible enchantment

Co-authored-by: Araca <>
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3998
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: Araca <araca.prod@gmail.com>
Co-committed-by: Araca <araca.prod@gmail.com>
2023-11-06 20:12:36 +00:00
the-real-herowl
5a069af072 Merge pull request 'Piston-breakable nodes don't fill up the push limit, items properly drop' (#3813) from seventeenthShulker/MineClone2:piston_digs_properly into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3813
2023-11-06 19:50:31 +00:00
the-real-herowl
14f73a8c55 Merge pull request 'armor trim followup' (#3974) from trim_achievement into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3974
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
2023-11-06 19:37:56 +00:00
Dehydrate6684
e5a260b563
Added vines and skulk vines to ladder group 2023-11-05 14:10:58 +08:00
Dehydrate6684
9b2b8ee56e
Removed direction checks 2023-11-05 14:06:53 +08:00
seventeenthShulker
00cfca5947 Make carpet sticky again 2023-11-04 16:01:46 +00:00
seventeenthShulker
c37da143da Add crying obsidian and lodestone to mvps_stoppers 2023-11-04 16:01:46 +00:00
seventeenthShulker
520fd773fb Fix random crash when piston breaks node with no player 2023-11-04 16:01:46 +00:00
seventeenthShulker
378df76e5f Prevent signs from being replaced by pushed/pulled blocks 2023-11-04 16:01:46 +00:00
seventeenthShulker
3e12b3c700 Check protection of certain nodes before push/pull
- The node directly in front of a piston (including air)

- The 'final' position of any connected nodes
2023-11-04 16:01:46 +00:00
seventeenthShulker
0637182697 Tallgrass and dead bush added to dig_by_piston 2023-11-04 16:01:46 +00:00
seventeenthShulker
0580b14310 Vertical pistons now save owner meta 2023-11-04 16:01:46 +00:00
seventeenthShulker
98cf3b7f7a Check node_replaceable after dig_by_piston
Allows tallgrass, nether vines etc to drop
2023-11-04 16:01:46 +00:00
seventeenthShulker
e5829f719d All signs are mvps_stopper upon registration
All buttons are mvps_unsticky upon registration
Add some missing unmovable nodes
Bamboo trapdoor is now sticky
2023-11-04 16:01:46 +00:00
seventeenthShulker
089e3d46f1 Several more blocks comply with MC piston mechanics. 2023-11-04 16:01:46 +00:00
seventeenthShulker
5d8688dbeb Change tall flowers to buildable_to = false 2023-11-04 16:01:46 +00:00
seventeenthShulker
058684f17f Improve dig_node simulation and fix duplication 2023-11-04 16:01:46 +00:00
seventeenthShulker
918b8eee38 Fix unsticky defs for shulker_box_small names (some did not exist) 2023-11-04 16:01:46 +00:00