Commit Graph

11676 Commits

Author SHA1 Message Date
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
the-real-herowl
19728c5a19 Merge pull request 'hopper reimplementation' (#3980) from Morik666/MineClone2:hopper into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3980
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
2023-11-27 23:34:47 +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