Commit graph

9672 commits

Author SHA1 Message Date
Johannes Fritz
cdb2bc20b0 solar panels: No crash when minetest.get_natural_light() return nil 2023-04-20 12:25:45 +00:00
ancientmarinerdev
b374301ebf Throttle applies to default or custom sleep message 2023-04-19 13:25:42 +00:00
chmodsayshello
326e805798 update translation stuff 2023-04-19 13:25:42 +00:00
chmodsayshello
65aa185ffa global 'bed button' cooldown 2023-04-19 13:25:42 +00:00
ancientmarinerdev
3b1464ecc8 Tweak leaf generator numbers to catch missed jungle leaves 2023-04-16 17:50:22 +01:00
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
3ed3f16702 Pre-release update credits and set version 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
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
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
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
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
MrRar
87bf3aed59 Don't drop banners in creative mode 2023-04-02 21:58:34 +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
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
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
PrairieWind
9c83755f53 Make banners drop when support node is dug and when banner node is dug 2023-04-02 11:22:26 -05:00
Johannes Fritz
771044236f Don't drop beds in creative 2023-04-02 11:06:37 -05:00
ancientmarinerdev
0abc0ffc48 Mapgen optimisations 2023-04-01 18:53:51 +00:00
PrairieWind
f7bdf7481c Update ruined portal loot table 2023-04-01 00:11:56 +00:00
ancientmarinerdev
53923dd5fa Move on_step code to functions to help see profiling impact 2023-03-31 13:40:36 -05:00
ancientmarinerdev
59f4a62fd6 Move hopper minecarts off item entity. Do not run every on_step. Use more accurate object search location. Cut down object search distance. 2023-03-31 13:40:36 -05:00
ancientmarinerdev
f8e994ae78 Create new dtime timer utility. 2023-03-31 13:40:36 -05:00
Johannes Fritz
bef204f548 Remove mcl_player_init 2023-03-30 18:18:57 +00:00
PrairieWind
f284b1ca0e Fix minor issue with mcl_stairs.register_stair function 2023-03-30 02:03:08 +00:00
PrairieWind
2bd36b5d66 Make lecterns require wood slabs for crafting
Otherwise you can use stone slabs to craft lecterns, which doesn't make sense
2023-03-30 02:03:08 +00:00
PrairieWind
8a129fa00c Add slab and stair groups to crimson and warped slabs and stairs 2023-03-29 09:47:29 -06:00
ancientmarinerdev
61a4595c1b Fix rain light levels so that day rain is brighter and night rain is darker 2023-03-29 02:21:16 +00:00
ancientmarinerdev
2426570871 Fix for light night rain and dark day rain issue 2023-03-29 02:21:16 +00:00
Wbjitscool
bfa5662421 Update 'mods/ITEMS/REDSTONE/mesecons_pressureplates/locale/template.txt' 2023-03-27 00:24:40 +00:00
Wbjitscool
87ca144c4e Update 'mods/ITEMS/REDSTONE/mesecons_button/locale/template.txt' 2023-03-27 00:23:53 +00:00
Wbjitscool
a10235f330 Update 'mods/ITEMS/REDSTONE/mesecons_button/init.lua'
added in a Polished Blackstone Button
2023-03-27 00:07:48 +00:00
Wbjitscool
e3978c4d22 Update 'mods/ITEMS/REDSTONE/mesecons_button/locale/template.txt'
updated template.txt for buttons
2023-03-27 00:05:52 +00:00
Wbjitscool
c0fa2c38bd Update 'mods/ITEMS/REDSTONE/mesecons_pressureplates/init.lua'
added polished blackstone pressure plate
2023-03-27 00:02:29 +00:00
Wbjitscool
049a4a11f4 Update 'mods/ITEMS/REDSTONE/mesecons_pressureplates/locale/template.txt'
updated template.txt
2023-03-27 00:00:09 +00:00
Johannes Fritz
692758bd6d Remove deprecated usages of image property in tile defs 2023-03-26 22:56:33 +00:00
ancientmarinerdev
3bdc77a1aa Hoglins should only spawn in crimson forest 2023-03-26 13:03:46 +00:00
ancientmarinerdev
7f3734b6cb Ensure hoglins and piglins aren't faster than player. 2023-03-26 13:03:46 +00:00
ancientmarinerdev
b7079e8b19 Fix slime and some nether mob speeds 2023-03-26 13:03:46 +00:00
ancientmarinerdev
a806833e4a Fix crash stripping unregistered block 2023-03-25 02:05:30 +00:00
ancientmarinerdev
6c8113dec8 Fix crash when cannot get wear for tool 2023-03-25 01:55:52 +00:00
ancientmarinerdev
b72dbf17a6 Crash for dropper failing as potentially cannot get pos. 2023-03-25 01:55:52 +00:00
ancientmarinerdev
049406162e Fix crash when skeleton tries to jock when there is no pos, maybe because pos is unloaded. 2023-03-25 01:55:52 +00:00
Johannes Fritz
a52931f986 Fix mcl_skins crash 2023-03-24 15:53:07 -05:00
SmokeyDope
47b6e54dad Add comments explaining new lantern functions 2023-03-23 22:18:04 +00:00
SmokeyDope
257e5f993b Add lantern functions for adding nodes to allowed placement list 2023-03-23 22:18:04 +00:00
PrairieWind
802ff3d984 Remove evoker spawning in Pillager Outposts 2023-03-23 01:53:44 +00:00
ancientmarinerdev
f319a8d903 Fixing that annoying chest open 2023-03-23 01:29:05 +00:00
ancientmarinerdev
c393b15965 Updated music to 64kbs 2023-03-23 01:18:14 +00:00
ancientmarinerdev
f5ea3894cf 2 new songs. 2 updated songs. All volums remastered to same perceived volumes. 2023-03-23 01:18:14 +00:00
ancientmarinerdev
41882e9e1f Adjust speeds to make it less ridiculous 2023-03-23 00:38:18 +00:00
ancientmarinerdev
2440b73e67 Bundled lua with 5.7 crashes when you right click a farmer villager. math.random needs correct order 2023-03-22 03:55:27 +00:00
ancientmarinerdev
a513547958 Remove title 2023-03-21 22:20:26 +00:00
ancientmarinerdev
1c0387b898 Fix warnings and global vars 2023-03-21 22:20:26 +00:00
ancientmarinerdev
ecf72db684 Fix ooops 2023-03-20 13:37:26 +00:00
ancientmarinerdev
bcd7f38fa7 Use new style vectors 2023-03-20 13:37:25 +00:00
ancientmarinerdev
3eab946889 Make death check less frequent. Load passenger in minecart at shutdown. 2023-03-20 13:37:25 +00:00
anarquimico
f817fe7f72 Fix performance issues and better check for mobs death 2023-03-20 13:37:25 +00:00
anarquimico
d5f01e88c4 Make mobs ride minecarts 2023-03-20 13:37:25 +00:00
ancientmarinerdev
6989e00af7 Tweak lapis distribution. 2023-03-19 18:01:39 +00:00
ancientmarinerdev
81a258d33b Clean up and reorder code 2023-03-19 02:44:35 +00:00
ancientmarinerdev
bd579314ba Remove logging and clean up 2023-03-19 02:44:35 +00:00
ancientmarinerdev
e7449a65d8 Fix check_position and change spawn check to stages 2023-03-19 02:44:35 +00:00
ancientmarinerdev
b8b47e55e1 Add in slime chunks 2023-03-19 02:44:35 +00:00
SmokeyDope
3f80cc8f26 Adjust beetroot hitbox heights 2023-03-18 21:59:46 +00:00
SmokeyDope
68a44d7824 one more carrot adjust 2023-03-18 21:59:46 +00:00
SmokeyDope
ced3b4dff1 Adjust carrot hitbox heights 2023-03-18 21:59:46 +00:00
SmokeyDope
44711369d9 Further adjust potato hitbox heights 2023-03-18 21:59:46 +00:00
SmokeyDope
3839250b38 Fix potatoes stage 2 hitbox 2023-03-18 21:59:46 +00:00
ancientmarinerdev
002a63585f Tweak volume and change reference to missing global variable 2023-03-18 18:30:03 +00:00
SmokeyDope
811f8ac516 One more indentation fix, sorry for the extra commit 2023-03-18 18:30:03 +00:00
SmokeyDope
89f2c06af2 Fix accidental extra spaces 2023-03-18 18:30:03 +00:00
SmokeyDope
20f8e18098 Add sounds when using composter 2023-03-18 18:30:03 +00:00
ancientmarinerdev
3b4fc04330 Merge pull request 'Remove unused translations' (#3539) from syl/MineClone2:unusedtranslations into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3539
Reviewed-by: ancientmarinerdev <ancientmariner_dev@proton.me>
2023-03-18 18:09:37 +00:00
ancientmarinerdev
ef633ce617 Do not throw XP if in creative 2023-03-17 20:36:53 +00:00
ancientmarinerdev
a3f23d0b35 Remove unneeded logging 2023-03-17 20:36:53 +00:00
ancientmarinerdev
2c7039fdda Clean up code 2023-03-17 20:36:53 +00:00
ancientmarinerdev
c6db032674 Rework sculk to be off the xp_step and triggered by events 2023-03-17 20:36:53 +00:00
ancientmarinerdev
ff1b941d19 Clean and improve profiler info 2023-03-17 15:20:51 +00:00
ancientmarinerdev
be269b2034 Make error handling safe in case pos is missing 2023-03-17 15:20:51 +00:00
ancientmarinerdev
97091de67f Log pos info only prior to crash 2023-03-17 15:20:51 +00:00
ancientmarinerdev
ae7cfdff69 Ensure conditional doesn't mask bug crash issue 2023-03-17 15:20:50 +00:00
ancientmarinerdev
0dee7792f4 Log where map unloaded before light damage code. #3430 debugging 2023-03-17 15:20:50 +00:00
Johannes Fritz
150222583a clearmobs command: nametagged/tamed is exclusive 2023-03-15 13:22:35 -05:00
Johannes Fritz
a3e6f90b09 clearmobs command improvement 2023-03-15 16:25:28 +00:00
FossFanatic
ae811ed703 Disable snowy weather temporarily
This commit quickly disables the standalone snow weather for the time being, until a more permanent solution can be found.

The snowy weather should no longer occur naturally, but can still be summoned with `/weather snow` if wanted.
2023-03-15 15:54:52 +00:00
Johannes Fritz
75dffe5059 Fix verbose tool info on non-tools 2023-03-15 15:36:48 +00:00
ancientmarinerdev
3063cc97f7 Merge pull request 'Fix syntax errors in French' (#3542) from syl/MineClone2:syntaxerrorsfr into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3542
Reviewed-by: ancientmarinerdev <ancientmariner_dev@proton.me>
2023-03-15 15:25:02 +00:00
ancientmarinerdev
db53e41ebd Merge pull request 'Make dye descriptions more consistent' (#3532) from grorp/MineClone2:owl into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3532
Reviewed-by: ancientmarinerdev <ancientmariner_dev@proton.me>
2023-03-14 14:38:39 +00:00
syl
1d981876d9 Fix syntax errors in French 2023-03-14 11:55:07 +01:00
ancientmarinerdev
270820125d Add in a default for improved clearmobs command. 2023-03-14 02:45:33 +00:00
ancientmarinerdev
fc7eb135e6 Comment out leftover logging 2023-03-14 02:45:33 +00:00
ancientmarinerdev
c97fef03b9 Comment out logging, and add in the destruction 2023-03-14 02:45:33 +00:00
ancientmarinerdev
37ca0efe05 New, improved, safe clearmobs command 2023-03-14 02:45:33 +00:00
syl
8a7a8ce1bf Remove unused translations 2023-03-13 15:40:58 +01:00
ancientmarinerdev
03d8363ed1 Ensure HP change doesn't stop music 2023-03-12 23:09:46 +00:00
ancientmarinerdev
ede3123b1a Remove music interruptions 2023-03-12 23:09:46 +00:00
ancientmarinerdev
0f7efcf9c1 Fix error handling compatibility with Minetest bundled Lua 2023-03-12 21:52:35 +00:00
ancientmarinerdev
4e363049e1 Firework death message incorrect order fix 2023-03-12 21:16:40 +00:00
ancientmarinerdev
d5cb745def Fixed thorns death message incorrect order 2023-03-12 21:16:40 +00:00
ancientmarinerdev
547973877a Fix old burning storage crash and log any relevent info. 2023-03-12 21:08:24 +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
grorp
a766a6ac85 Fix a mistake in the German mcl_dye translation 2023-03-12 11:41:45 +00:00
grorp
2b0c5549f4 Update translations (9/9) 2023-03-12 11:35:56 +00:00
grorp
79996f143e Update translations (8/9) 2023-03-12 11:35:31 +00:00
grorp
166f15f5c6 Update translations (7/9) 2023-03-12 11:34:51 +00:00
grorp
c706d44d55 Update translations (6/9) 2023-03-12 11:34:14 +00:00
grorp
feca77c1d7 Update translations (5/9) 2023-03-12 11:33:49 +00:00
grorp
9463d12a35 Update translations (4/9) 2023-03-12 11:33:25 +00:00
grorp
fa07fab325 Update translations (3/9) 2023-03-12 11:32:59 +00:00
grorp
df16065617 Update translations (2/9) 2023-03-12 11:32:32 +00:00
grorp
735904ce61 Update translations (1/9) 2023-03-12 11:32:05 +00:00
grorp
49a5e28398 Make dye descriptions more consistent
The descriptions of all the dyes now end with the word "Dye". Also, they happen to match the descriptions in Minecraft now, but that wasn't my intention.
2023-03-11 08:18:14 +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
ancientmarinerdev
038d9ec014 Do not need to create new vector each time 2023-03-11 00:05:53 +00:00
ancientmarinerdev
6097dacbab Only check herd if in range 2023-03-11 00:05:53 +00:00
ancientmarinerdev
5b7132ac5e Fix duplicate call for jump check 2023-03-11 00:05:53 +00:00
ancientmarinerdev
5fc78bf6b0 Use unique name for function. Add development flag to enable crashing locally 2023-03-11 00:05:53 +00:00
ancientmarinerdev
b47ef9275b Fix whoops 2023-03-11 00:05:53 +00:00
ancientmarinerdev
ce6d9d561f When mob out of range, avoid processing expensive or unneccessary things 2023-03-11 00:05:53 +00:00
syl
96b2f6a01d Improve French translation 2023-03-10 22:48:46 +01:00