teknomunk
e864cc19ed
Make fog_tint_type = "default" when weather is present to match behavior at 0.87.2
2024-10-09 01:05:20 +02:00
teknomunk
66c3c014a1
Make sure fog tints are preserved during weather is present
2024-10-09 01:05:20 +02:00
teknomunk
7807093b50
Another correction to color interpolation, change day color from layer position 0.15 to 0.50
2024-10-09 01:05:20 +02:00
teknomunk
f6c3f4bd16
Correct value clamping
2024-10-09 01:05:20 +02:00
teknomunk
96a03b1923
Remove posibility of nil sky colors in overworld, add line break
2024-10-09 01:05:20 +02:00
teknomunk
2145470f63
Fix clouds during rain->clear weather transition
2024-10-09 01:05:20 +02:00
teknomunk
2ca0ccd8fe
Fix fog tint in overworld, apply memory leak fix from rain.lua to snow.lua and thunder.lua
2024-10-09 01:05:20 +02:00
teknomunk
eea96867c4
Don't add rain skycolor layer if the current layer is already the rain skycolor ( #4648 )
...
Fixes #4647 Rain makes the sky black until restart. This also fixes a memory leak caused by rain adding a color layer every time step.
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4648
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: teknomunk <teknomunk@protonmail.com>
Co-committed-by: teknomunk <teknomunk@protonmail.com>
2024-09-18 10:10:53 +02:00
teknomunk
626bdd13d8
Change several places where mobs are created to use mcl_mobs.spawn() instead of minetest.add_entity()
2024-09-16 13:32:06 +02:00
SmallJoker
7f5b19cda8
Fix missing dependencies for random_mod_load_order
2024-09-15 22:25:44 +02:00
kno10
ebee85db7e
Fix incorrect usages of math.random ( #4621 )
...
random() does not support float arguments
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4621
Reviewed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-authored-by: kno10 <erich.schubert@gmail.com>
Co-committed-by: kno10 <erich.schubert@gmail.com>
2024-09-07 14:58:12 +02:00
teknomunk
aea9e6d182
Update comment according to https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4338#issuecomment-82713
2024-08-19 03:02:02 +02:00
teknomunk
09307292bc
Make sure overworld always gets a sky update regardless of weather, add assert to enforce sky color gets set every update
2024-08-19 03:02:02 +02:00
teknomunk
e407e2e290
Force has_mcl_potions to boolean
2024-08-19 03:02:02 +02:00
teknomunk
21a88be2b2
Remove boolean coersion
2024-08-19 03:02:02 +02:00
teknomunk
37ff699a23
Add line break
2024-08-19 03:02:02 +02:00
teknomunk
18266137b2
Make sure clouds don't disappear when entering water
2024-08-19 03:02:02 +02:00
teknomunk
3667feddd3
Address review comments
2024-08-19 03:02:02 +02:00
teknomunk
cb097d9bcd
Add minimum time between skycolor updates (default is 250ms, tracked per player)
2024-08-19 03:02:02 +02:00
Wbjitscool
cd213b75f7
Update mods/ENVIRONMENT/mcl_weather/skycolor.lua
...
adds in sunray shader support for Minetest version 5.9.0
2024-08-19 03:02:02 +02:00
teknomunk
ef58a9809a
Remove empty else block, fix up mg_name and add mapgen check to water.lua
2024-08-19 03:02:02 +02:00
teknomunk
3b01fe20ba
Remove debug commented out logging, remove extra zero in 24-hour time
2024-08-19 03:02:02 +02:00
teknomunk
d34c804ebf
Remove local mod = mcl_weather and replace accesses to variables thru mcl_weather with local variable equivalents
2024-08-19 03:02:02 +02:00
teknomunk
03faa7764d
Fix variable name (caused crash)
2024-08-19 03:02:02 +02:00
teknomunk
207c86b813
Fix crash and rearrange code
2024-08-19 03:02:02 +02:00
teknomunk
cf4b1dbd1d
Remove END function comment
2024-08-19 03:02:02 +02:00
teknomunk
7811e23611
Convert to use mcl_playerinfo
2024-08-19 03:02:02 +02:00
teknomunk
24ff7347b2
Further cleanup
2024-08-19 03:02:02 +02:00
teknomunk
820848fb2e
Address review comments
2024-08-19 03:02:02 +02:00
teknomunk
f2a638f8e9
Fix random crash in darkness effect in mcl_potions, finish refactoring of mcl_weather.skycolor that also makes darkness effect more reliable
2024-08-19 03:02:02 +02:00
teknomunk
161dd7d379
Start refactor
2024-08-19 03:02:02 +02:00
teknomunk
2ad59c6df9
Stop lightning striking positions that don't have rain ( #4386 )
...
Stops lighting from being able to strike in locations where rain doesn't occur, but allows lightning in adjacent areas where is allowed.
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4386
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: teknomunk <teknomunk@protonmail.com>
Co-committed-by: teknomunk <teknomunk@protonmail.com>
2024-08-18 12:05:35 +02:00
teknomunk
8feecf2492
Fix crashes with raids and bad omen effect ( #4326 )
...
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4326
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: teknomunk <teknomunk@protonmail.com>
Co-committed-by: teknomunk <teknomunk@protonmail.com>
2024-05-26 15:21:43 +00:00
the-real-herowl
dc7b1869b7
Move most of the game to the new API
2024-05-22 21:03:43 +02:00
the-real-herowl
0e33947258
Renamed some functions and variables
...
* changed names referring to player where it does support mobs
* also added an is_player() check in one function
2024-05-22 21:02:25 +02:00
the-real-herowl
394b090c83
Improved the darkness effect
2024-05-22 21:02:25 +02:00
the-real-herowl
65b923c43c
Added darkness
2024-05-22 21:02:25 +02:00
the-real-herowl
4b83aaaa77
Renaming throughout docs and comments
2024-05-07 11:38:00 +00:00
the-real-herowl
a2a4da5aed
Added shepherd functionality
2023-12-24 05:48:41 +01:00
JoseDouglas26
a3ccd4d032
lightning pt_BR translation
2023-12-22 23:45:07 +01:00
JoseDouglas26
419456b835
mcl_weather pt_BR translation
2023-12-22 23:45:07 +01:00
JoseDouglas26
72a144f0b2
mcl_void_damage pt_BR translation
2023-12-22 23:45:07 +01:00
JoseDouglas26
f379a06998
mcl_raids pt_BR translation
2023-12-22 23:45:07 +01: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
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
Sab Pyrope
5b4a79a26d
Update russian translation
2023-08-31 14:16:42 +08:00
Kristian
49a899170f
TOM doc/doc
2023-06-27 21:09:03 +00:00
ancientmarinerdev
7fe1be2c18
Add error handling to sunlight checking to prevent crashing and improve diagnosis.
2023-04-06 13:35:38 +00: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