Commit graph

704 commits

Author SHA1 Message Date
seventeenthShulker
758d38894d Prevent slime blocks from 'connecting' to honey blocks when pushing/pulling, like in Minecraft. 2023-06-17 16:42:06 +02:00
Lars Mueller
b866d5d98e Fix texture modifiers relying on undocumented behavior 2023-05-27 17:27:01 +02:00
3raven
9518d47662 (french) translation enhancements (#3643)
- Add missing translation
- Fix broken translations
- Fix unacurate description
- Correct/improve/change for cohesion french translation

Translations templates have been updated,other translations must be updated.

<!--
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
-->

Tell us about your pull request! Reference related issues, if necessary

### Testing
Tell us how to test your changes!

Co-authored-by: 3raven <elise_declerck@laposte.net>
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3643
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-05-11 22:39:49 +00:00
ancientmarinerdev
1c0387b898 Fix warnings and global vars 2023-03-21 22:20:26 +00:00
ancientmarinerdev
994f720385 Merge pull request 'Improve French translation' (#3531) from syl/MineClone2:master into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3531
Reviewed-by: AFCMS <afcm.contact@gmail.com>
2023-03-12 20:55:36 +00:00
FossFanatic
d8d44fce0f Remove source of warnings for leaves
This commit changes some code so the debug log no longer gets flooded with warnings about leaves and palettes.
2023-03-11 00:30:22 +00:00
syl
96b2f6a01d Improve French translation 2023-03-10 22:48:46 +01:00
ancientmarinerdev
67ddad987d Fix grass not growing issue 2023-03-06 17:45:38 +00:00
FossFanatic
e82ff4781a Add grass palette nodes in a special group
This commit adds any nodes which make use of a grass palette to a `grass_palette` group, to avoid having to create a list of said nodes every time.
2023-03-05 12:45:44 +00:00
FossFanatic
0abda8ff20 Add new function for water nodes 2023-02-18 08:25:08 +00:00
FossFanatic
624c853cb3 Improve water 2023-02-18 08:21:24 +00:00
FossFanatic
68e6965dd0 Remove excessive functions and change the appropriate stuff 2023-02-16 18:09:39 +00:00
FossFanatic
17fc7a3256 Use metadata method to make player leaves 2023-02-15 18:29:18 +00:00
FossFanatic
319beb91ce Improve vines code 2023-02-14 18:11:43 +00:00
FossFanatic
bea9bbe212 Improve certain functions 2023-02-14 18:10:49 +00:00
FossFanatic
3a24903a01 Add nil check 2023-02-13 15:46:45 +00:00
FossFanatic
abdd5e11c0 Shorten code slightly 2023-02-13 15:46:08 +00:00
FossFanatic
e17fab385b Add nil checks 2023-02-13 15:44:23 +00:00
FossFanatic
17cae6896e Add back the logical code?
My gut feeling tells me that it is somehow a bad idea to have removed this.
2023-02-13 11:17:51 +00:00
FossFanatic
4d29fab932 Improve some trees code 2023-02-13 10:22:28 +00:00
FossFanatic
c88f0047c1 Merge branch 'master' into biome_colored_foliage 2023-02-12 08:44:29 +00:00
FossFanatic
0400d9a2a5 Even further improvements to some foliage code 2023-02-12 08:28:21 +00:00
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
ancientmarinerdev
3c13ce1d6b Merge pull request 'Fix "mcl_core:dirt_with_dry_grass" to be "mcl_core:dirt_with_grass" with the savanna color index.' (#3408) from fix_dirt_dry_grass into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3408
Reviewed-by: ancientmarinerdev <ancientmariner_dev@proton.me>
2023-02-10 02:50:27 +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
Michieal
ec7a97ba3e Made LBM run at every load, so that it catches anything missed from previous passes. 2023-02-06 16:54:23 -05:00
Michieal
de00b7228e Fix "mcl_core:dirt_with_dry_grass" to be "mcl_core:dirt_with_grass" with the savanna color index. 2023-02-05 21:17:53 -05: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
Gregor Parzefall
e4abbbf112 Sound changes in code 2022-12-20 20:57:57 +01:00
Riu Sakura
2b61231f82 add japanese translation 2022-12-19 15:33:31 +09:00
kabou
cec5b1668a Remove unused leafdecay group.
* This group is no longer used and is removed from leaves node groups.
* Since it was never added to GROUPS.md, nothing needs changed there.
* Remove the `leafdecay_distance` parameter from node registrations.
2022-12-15 22:42:08 +00:00
kabou
adcf03e0c6 Refactor leaf decay ABM.
* The leaf decay ABM no longer scans all leaves nodes.  Now only
  "orphaned" leaves are decayed.  These nodes are placed by callbacks
  in tree trunk nodes upon their destruction.
* This commit also removes the tree trunk node caching system and an
  abm throttling mechanism and its associated globalstep function.
2022-12-15 22:42:08 +00:00
kabou
a4ef367708 Add "orphaned" leaves nodes.
* Add "orphaned" leaves nodes, these are copies of the regular leaves
  nodes whose sole purpose is to replace leaves nodes when no more tree
  trunks are present nearby.  The orphaned nodes are swapped in by a
  callback on destruction of tree trunk nodes and will be decayed by a
  dedicated abm that processes all nodes in `group:leaves_orphan`.
* Add `mcl_core.update_leaves()` function, a `after_destruct` callback
  handler for tree trunk nodes.  The function finds leaves nodes nearby
  destroyed tree trunk nodes and swaps these for orphaned leaves nodes
  if no other tree trunk nodes remain near them.
* Add `after_destruct` callbacks to tree trunk node registrations in
  mcl_core/nodes_trees.lua and mcl_mangrove/init.lua to update orphaned
  leaves.
* Add entry for group `leaves_orphan` to GROUPS.md
* Also add entry for group `leaves` to GROUPS.md (it was missing).
2022-12-15 22:42:08 +00:00
cora
a3fbb2e0c9 Merge pull request 'Grass Block Underside Fix' (#2987) from FossFanatic/MineClone2:grass_block_underside_fix into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2987
Reviewed-by: cora <cora@noreply.git.minetest.land>
2022-11-21 10:34:12 +00:00
FossFanatic
1a5aed704c Fix underside of grass block 2022-11-19 11:28:31 +00:00
PrairieWind
89a342a34f Add Bee Nest Tree Schematics and generation 2022-11-17 03:16:45 +01:00
epCode
a5eb1d240e add deeper = darker 2022-11-15 22:36:05 +00:00
epCode
c288b6ab93 make townaura more preformant 2022-11-14 02:38:02 +01:00
epCode
28f952309e add mycelium townaura particles 2022-11-14 02:38:02 +01:00
cora
48d6a2fd72 Add some ABM limits for lava ABMs 2022-11-03 14:11:03 +01:00
cora
724105bb61 Fix redstone ore not calling on_punchnode callbacks 2022-10-22 01:05:53 +02:00
cora
0d4feeffef Add more variation to jungle schematics 2022-09-14 20:37:08 +00:00
cora
82539acfe4 Move jungle vines to jungle tree schematics 2022-09-14 20:37:07 +00:00
cora
694252e153 Add a setting for fapples (fast apples) 2022-09-10 01:48:56 +00:00
cora
d8c59e0e8b remove swiftness from egapps
The minetest world is already so small that you can reach world
border from spawn in about 2 hours. I think the regen and fire
resistance are  good enough to make them special.
2022-09-10 01:48:56 +00:00
3raven
bb47b5068e Mise à jour de 'mods/ITEMS/mcl_core/locale/mcl_core.fr.tr' 2022-08-24 02:21:04 +00:00
3raven
6884d93e17 Mise à jour de 'mods/ITEMS/mcl_core/locale/template.txt' 2022-08-24 02:16:51 +00:00
3raven
7545c3aaf3 Mise à jour de 'mods/ITEMS/mcl_core/locale/template.txt' 2022-08-24 02:13:14 +00:00
3raven
d3a94e8089 Add missing translations + changes for cohesion 2022-08-23 00:21:38 +00:00
cora
442fefebf2 Waving water 2022-08-13 00:04:44 +02:00
Sumyjkl
f6148068c5 snow layers and blocks drop nothing by hand 2022-08-07 19:55:01 +10:00
cora
8e41d5a1f4 Fix propagule growth 2022-08-02 12:02:20 +02:00
SumianVoice
c93461ee0a Merge branch 'master' into item_floating 2022-07-26 10:21:17 +00:00