Commit Graph

11246 Commits

Author SHA1 Message Date
ancientmarinerdev
1015f5a569 Optimize folliage fixes code 2023-04-16 16:20:45 +00:00
ancientmarinerdev
31b65bac91 Move generator code to functions to aid in profiling 2023-04-16 16:20:45 +00:00
FossFanatic
01ac9ad685 Add old method back for foliage
This commit adds back the old `set_node` method for the foliage, since the foliage is much more difficult to work with via the VoxelManip method due to them being part of schematics that could span across mapblocks in some cases.

The old method will complement the new one by running after the VoxelManip has done its job, and fixes any foliage that the VoxelManip had missed.
2023-04-16 16:20:45 +00:00
FossFanatic
d28dcb1b10 Another small change to account for mangrove leaves
This one should actually work as expected.
2023-04-16 16:20:45 +00:00
FossFanatic
aac6af4c20 Small change to account for mangrove leaves 2023-04-16 16:20:45 +00:00
FossFanatic
d8d83dd21c Make vines use voxelmanip colouring as well
This commit adds some code to the `set_foliage_palette` function which checks for the `param2` of the foliage node in question to see whether or not said `param2` value is `0` upon first being generated.

If it isn't, then it's safe to assume that said foliage is a vine, and therefore needs to use the other method of calculating the final `param2` value.
2023-04-16 16:20:45 +00:00
FossFanatic
76bf98b26c Use voxelmanip to set the correct param2 for nodes
Voxelmanip is now used to set the correct `param2` for the nodes which use biome colouring or, in the case of seagrass, the correct meshoption.
2023-04-16 16:20:44 +00:00
FossFanatic
d53ea65da8 Remove some code
Some code has been moved to `mcl_mapgen_core` for consistency.
2023-04-16 16:20:44 +00:00
ancientmarinerdev
cf174c110a Merge pull request 'release/0.83' (#3644) from release/0.83 into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3644
Reviewed-by: Nicu <kneekoo@noreply.git.minetest.land>
2023-04-15 11:36:52 +00:00
ancientmarinerdev
0de9685914 Post-release set version 0.84.0-SNAPSHOT 2023-04-15 12:28:27 +01:00
ancientmarinerdev
3ed3f16702 Pre-release update credits and set version 0.83.0 0.83.0 2023-04-15 12:25:17 +01:00
chmodsayshello
99918c192c Merge pull request 'add the ability to chat whilst being in bed' (#3634) from bedchat into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3634
Reviewed-by: ancientmarinerdev <ancientmariner_dev@proton.me>
2023-04-11 19:00:48 +00:00
ancientmarinerdev
20638c482d Merge pull request 'Make shield block sounds not play across infinite distance' (#3629) from shield_sound_distance into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3629
Reviewed-by: ancientmarinerdev <ancientmariner_dev@proton.me>
2023-04-11 17:37:54 +00:00
PrairieWind
f8d338d731 Add position to shield sound 2023-04-11 17:16:57 +00:00
PrairieWind
5165730da8 Make shield block sounds not play across infinite distance 2023-04-11 17:16:57 +00:00
ancientmarinerdev
d0f7d7c90d Merge pull request 'Fix French translation' (#3636) from syl/MineClone2:translationfr into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3636
Reviewed-by: AFCMS <afcm.contact@gmail.com>
2023-04-11 16:53:17 +00:00
chmodsayshello
0719d6038c add missing '=' to the translation template 2023-04-09 19:53:28 +02:00
chmodsayshello
bf9989beb9 add default message button 2023-04-09 19:51:55 +02:00
chmodsayshello
62c014363d 'fix' multiline comment 2023-04-09 18:50:34 +02:00
chmodsayshello
75595115a0 move rate checks to seperate function 2023-04-09 18:45:23 +02:00
chmodsayshello
d9ac803f5b update translations 2023-04-09 18:37:02 +02:00
chmodsayshello
899d619624 fix translator syntax 2023-04-09 18:35:03 +02:00
chmodsayshello
145be4c830 remove debug logging 2023-04-09 18:32:52 +02:00
chmodsayshello
a55cbaadd6 take 'chat_message_limit_per_10sec' into account 2023-04-09 18:32:15 +02:00
ancientmarinerdev
56175d839f Merge pull request 'Slow down the pressure plate timer' (#3627) from pplates into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3627
Reviewed-by: ancientmarinerdev <ancientmariner_dev@proton.me>
2023-04-08 23:17:57 +00:00
ancientmarinerdev
7b748efa64 Merge branch 'master' into pplates 2023-04-08 23:11:16 +00:00
syl
ac4073a259 Improve french translation 2023-04-07 17:05:06 +02:00
chmodsayshello
2366969e00 update german translation 2023-04-07 12:00:36 +02:00
chmodsayshello
fca23ba47f update traslation template 2023-04-07 11:59:07 +02:00
chmodsayshello
4b1cc017a9 fix syntax 2023-04-07 11:58:27 +02:00
chmodsayshello
786aaf7a6d check for shout priv 2023-04-07 11:58:03 +02:00
ancientmarinerdev
1b4d9cfab7 Merge pull request 'Add error handling to sunlight checking to prevent crashing and improve diagnosis.' (#3624) from fix_crash_solarpanel into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3624
2023-04-06 14:13:13 +00:00
ancientmarinerdev
7fe1be2c18 Add error handling to sunlight checking to prevent crashing and improve diagnosis. 2023-04-06 13:35:38 +00:00
chmodsayshello
645e20afa4 translation updates 2023-04-05 15:45:48 +02:00
chmodsayshello
a026bbd3c4 minor bed changes 2023-04-05 15:45:16 +02:00
chmodsayshello
9c8463d2e3 add basic bed-chat 2023-04-05 14:43:07 +02:00
Johannes Fritz
93bc5bb5f8 Slow down the pressure plate timer 2023-04-04 07:38:50 -05:00
𝕵𝖔𝖍𝖆𝖓𝖓𝖊𝖘 𝕱𝖗𝖎𝖙𝖟
b19cc8a5e6 Merge pull request 'Ensure enchanted netherite armour is fire immune to lava etc.' (#3625) from enchanted_netherite_lava_immune into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3625
Reviewed-by: 𝕵𝖔𝖍𝖆𝖓𝖓𝖊𝖘 𝕱𝖗𝖎𝖙𝖟 <mrrar@noreply.git.minetest.land>
2023-04-03 18:12:53 +00:00
ancientmarinerdev
6817a8535b Get item name correctly. 2023-04-03 17:50:48 +01:00
ancientmarinerdev
c83574802f Ensure enchanted netherite armour is fire immune to lava etc. 2023-04-03 02:06:58 +01:00
PrairieWind
0f64fb79c5 Merge pull request 'Don't drop dug banners in creative mode' (#3623) from banners into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3623
Reviewed-by: PrairieWind <prairiewind@noreply.git.minetest.land>
2023-04-02 22:08:46 +00:00
MrRar
87bf3aed59 Don't drop banners in creative mode 2023-04-02 21:58:34 +00:00
ancientmarinerdev
0ee31bd322 Merge pull request 'Elytra moves quicker than mapgen can cope. A bit performance hit on servers. Make this configurable.' (#3613) from ely_speed_toned_down into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3613
2023-04-02 20:36:41 +00:00
ancientmarinerdev
3e6b43ad47 Elytra moves quicker than mapgen can cope. A bit performance hit on servers. Make this configurable. 2023-04-02 20:27:02 +00:00
ancientmarinerdev
ed8953dfe3 Merge pull request 'Do not run kelp lbm every time' (#3612) from lbm_run_every_time_fixes into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3612
2023-04-02 20:11:04 +00:00
ancientmarinerdev
8edffeb40d Map gen kelp should init age also 2023-04-02 20:04:32 +00:00
ancientmarinerdev
80f038da4a Do not run kelp lbm every time 2023-04-02 20:04:32 +00:00
𝕵𝖔𝖍𝖆𝖓𝖓𝖊𝖘 𝕱𝖗𝖎𝖙𝖟
952c72c414 Merge pull request 'Make banners drop when the support node is dug' (#3606) from banner_node_support into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3606
Reviewed-by: 𝕵𝖔𝖍𝖆𝖓𝖓𝖊𝖘 𝕱𝖗𝖎𝖙𝖟 <mrrar@noreply.git.minetest.land>
2023-04-02 16:29:45 +00:00
PrairieWind
088922dc33 Make sure banner drops, even if banner entity doesn't exist 2023-04-02 11:22:26 -05:00
PrairieWind
a98f79763b Remove unused digger variable that I forgot 2023-04-02 11:22:26 -05:00