FossFanatic
d1ceacf7ba
Improve some vines code
2023-02-12 08:22:07 +00:00
FossFanatic
a70a6ef13d
Improve some foliage code
2023-02-12 08:21:14 +00:00
FossFanatic
81dbdaab94
Adjust palette foliage check
...
The excessive 128 blocks high check has been changed to now check only up to 30 blocks, since the tallest 2x2 jungle tree I seemed to get was only 29 blocks tall.
I also discovered that the search area wasn't wide enough, so sometimes the most outer leaves avoided the check. I also adjusted that.
2023-02-11 07:53:12 +00:00
FossFanatic
1fb300ef18
Fix leaves not dropping
...
Due to some renaming, leaves no longer dropped from any of the `mcl_core` trees.
This has now been fixed.
2023-02-10 18:40:35 +00:00
FossFanatic
7fbc84971e
Remove useless function
...
This commit removes an useless function which wasn't really needed.
2023-02-10 15:12:37 +00:00
FossFanatic
fdb2333493
Make placed leaves always become player leaves
...
Any players which still have leaves in their inventory from before this update would have had those leaves rot if someone were to break any log withing 6 nodes of the leaves if they were placed. This commit adds an `after_place_node` callback which makes sure that any leaves placed by the player, become non-rotting player leaves.
2023-02-10 10:39:43 +00:00
FossFanatic
1defd03408
Make the function work self grown saplings
...
Saplings now also get the biome's foliage colour when grown by themselves.
2023-02-10 10:06:55 +00:00
FossFanatic
d163faeb42
Use more fitting names for the newly added function
...
Basically renaming anything related to leaves in the new function to something more broad such as foliage, so vines aren't indirectly considered leaves. An aesthetic change, basically.
2023-02-10 08:08:28 +00:00
FossFanatic
197d3ae00b
Make sapling foliage grab biome colour
2023-02-10 08:04:13 +00:00
FossFanatic
198375a18e
Change stuff in mcl_core
...
Simply put, this commit changes some code so that leaves don't use `param2` to see if they rot or not, and will now use the biome colours.
This commit also makes it so vines do the same (use biome colours).
2023-02-08 16:11:38 +00:00
anarquimico
439c879508
4th batch of ITEMs translation
2023-02-07 16:39:23 +00:00
ancientmarinerdev
7d46fa3362
Merge pull request 'texture-consolidation' ( #3380 ) from texture-consolidation into master
...
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3380
Reviewed-by: ancientmarinerdev <ancientmariner_dev@proton.me>
2023-02-04 03:23:13 +00:00
ancientmarinerdev
58a08ea697
Merge pull request 'fix incorrect digtypes and missing sounds for some nether blocks' ( #3351 ) from SmokeyDope/MineClone2:master into master
...
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3351
Reviewed-by: ancientmarinerdev <ancientmariner_dev@proton.me>
2023-02-04 00:27:48 +00:00
SmokeyDope
08df1fe02f
Update overworld vine breaking logic with vector.offset
2023-02-03 00:50:25 +00:00
FossFanatic
24b1078b61
Make the post effect alpha the same between water source and flow
2023-02-01 22:50:50 +00:00
Michieal
6265148727
Move textures all into one centralized directory.
2023-01-30 22:55:53 -05:00
ancientmarinerdev
02ee8b757d
Merge pull request 'Biome Colour Palette Fixes' ( #3203 ) from simplified_palette_index into master
...
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3203
Reviewed-by: ancientmarinerdev <ancientmariner_dev@proton.me>
2023-01-24 00:21:12 +00:00
ancientmarinerdev
c4ea504123
Fix crash when leaves don't have a registered orphan but try to rot
2023-01-23 20:58:05 +00:00
FossFanatic
5fd5cc9f1c
Merge branch 'master' into simplified_palette_index
2023-01-17 12:53:09 +00:00
AFCMS
3027965314
Add comment
2023-01-15 15:32:42 +00:00
AFCMS
e9c9f151de
Let user dig light blocks when wielding a light block
2023-01-15 15:32:42 +00:00
AFCMS
fb8262bf57
Make light blocks `buildable_to`
2023-01-15 15:32:42 +00:00
AFCMS
726358da4b
Rename callbacks parameters to match Minetest documentation
2023-01-15 15:32:42 +00:00
AFCMS
515204d296
Update translation template and add french translation
2023-01-15 15:32:42 +00:00
AFCMS
eb5f5678d6
Fix typo in barrier help text
2023-01-15 15:32:42 +00:00
AFCMS
33e2b79b2b
Make nearby light blocks spawn particles when player wield one
2023-01-15 15:32:42 +00:00
AFCMS
7c20896d5e
Make light blocks not walkable
2023-01-15 15:32:42 +00:00
AFCMS
cd70dd5b88
Spawn particle then placing light blocks
2023-01-15 15:32:42 +00:00
AFCMS
302970d220
Basic light blocks
2023-01-15 15:32:42 +00:00
AFCMS
79876635af
Use `mcl_util.call_on_rightclick` in `on_place` callback for barrier block
2023-01-15 15:32:42 +00:00
AFCMS
b9238b4069
Use new vectors
2023-01-15 15:32:42 +00:00
AFCMS
bf25fca47d
Remove support for `use_texture_alpha` bool values (mt 5.3)
2023-01-15 15:32:42 +00:00
AFCMS
92261e5fb5
Remove `stack_max` fields duplicated with default value
2023-01-15 15:32:42 +00:00
AFCMS
1e31e383d4
Fix invalid function signature for `on_place` callbacks + handling of possible nil value
2023-01-15 15:32:42 +00:00
AFCMS
4457432d32
Format file
2023-01-15 15:32:42 +00:00
FossFanatic
fb8e41047d
Use older palette PNG file
2023-01-14 10:00:42 +00:00
FossFanatic
2bd5e6a84f
Delete text file
2023-01-14 10:00:19 +00:00
FossFanatic
3d2955c394
Merge branch 'master' into simplified_palette_index
2022-12-30 10:36:35 +00:00
ancientmarinerdev
e6e898671a
Merge pull request 'add japanese translation' ( #3149 ) from SakuraRiu/MineClone2:master into master
...
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3149
Reviewed-by: Michieal <michieal@noreply.git.minetest.land>
2022-12-29 22:14:48 +00:00
FossFanatic
54548ecfdf
Merge branch 'master' into simplified_palette_index
2022-12-29 14:51:17 +00:00
kabou
92ee402971
Separate white dye from bone meal.
...
* Add craftitem for ":mcl_bone_meal:bone_meal" to mcl_dye (temporarily.)
* Add crafting recipe for bone meal.
* Add texture for white dye item.
* Merge craftitem registration for "mcl_dye:white" with generic dyes.
* Add crafting recipe for white dye.
* Add legacy conversion recipe.
* Update dyes table.
* Update translations.
* Update mcl_crimson and sweet berry on_rightclick handlers.
* Update composter output, both as freestanding and to hoppers.
* Update bone block crafting recipes.
* Update tropical fish, cod and salmon mob drops.
2022-12-29 03:08:50 +00:00
kabou
d2edc75407
Separate blue dye from lapis lazuli.
...
* Add craftitem "mcl_core:lapis".
* Add texture for blue dye item.
* Add crafting recipe for blue dye.
* Add legacy conversion recipe.
* Update dyes table.
* Update translations.
* Update lapis block crafting recipes.
* Update lapis ore drops.
* Update dungeon and shipwreck loot.
* Update enchanting table input.
* Update villager trade.
2022-12-29 03:08:49 +00:00
FossFanatic
18e932997d
Rename _mcl_palette_index to _mcl_grass_palette_index
2022-12-28 19:31:11 +00:00
ancientmarinerdev
81daec14a2
Merge pull request 'Update sounds from MTG' ( #3157 ) from grorp/MineClone2:patch-1 into master
...
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3157
Reviewed-by: ancientmarinerdev <ancientmariner_dev@proton.me>
2022-12-27 21:36:33 +00:00
FossFanatic
9f9cc3a629
Change grass block inventory colour
...
According to the wiki, the hex code of the grass block when held or in the inventory is #7CBD6B.
2022-12-27 21:19:33 +00:00
FossFanatic
a6841fe38b
Simplify palette and add helpful text file
2022-12-27 20:55:24 +00:00
FossFanatic
e1f26ea70d
Remove dry grass side texture
...
The same reason as why the dry grass top texture got removed.
2022-12-22 12:40:36 +00:00
FossFanatic
9ef4a850b1
Remove dry grass top texture
...
This is a remnant of Minetest Game and used to be for dry biomes before colour palettes were a thing in MineClone 2.
2022-12-22 12:40:10 +00:00
Riu Sakura
3faa930bdc
Added missing translations.
...
In addition, the translation of "Grass Block" has been corrected to a better phrase.
2022-12-21 10:24:26 +09:00
Gregor Parzefall
8522b87444
Removed two duplicated sound definitions
2022-12-20 21:08:59 +01:00