MineClone2/mods/ENVIRONMENT/mcl_weather
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
..
locale mcl_weather pt_BR translation 2023-12-22 23:45:07 +01:00
skycolor Update comment according to https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4338#issuecomment-82713 2024-08-19 03:02:02 +02:00
sounds Rename weather_pack mod to mcl_weather 2017-11-21 01:35:31 +01:00
init.lua fix many codestyle issues (functions, strings, modpaths) 2021-05-29 16:12:33 +02:00
mod.conf Force has_mcl_potions to boolean 2024-08-19 03:02:02 +02:00
nether_dust.lua Fix nether dust particles using wrong setting 2022-07-18 05:30:37 +02:00
rain.lua Don't add rain skycolor layer if the current layer is already the rain skycolor (#4648) 2024-09-18 10:10:53 +02:00
README.md Renaming throughout docs and comments 2024-05-07 11:38:00 +00:00
skycolor.lua 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
snow.lua Disable snowy weather temporarily 2023-03-15 15:54:52 +00:00
thunder.lua Stop lightning striking positions that don't have rain (#4386) 2024-08-18 12:05:35 +02:00
weather_core.lua Rain and snow where appropriate(biome, heat, alt) 2022-08-02 11:55:55 +02:00

mcl_weather

Weather mod for VoxeLibre. Forked from the weather_pack mod by xeranas.

Weathers included

  • rain
  • snow
  • thunder

Commands

weather <weather>, requires weather_manager privilege.

Dependencies

Thunder weather requres lightning mod.

Configuration prope, ties

Weather mod for indoor check depends on sunlight propogation check. Some nodes (e.g. glass block) propogates sunlight and thus weather particles will go through it. To change that set weather_allow_override_nodes=true in minetest.conf file. Be aware that just few nodes will be override and these blocks needs to be re-builded to take effect. Maybe in future other 'cheap' way to check indoor will be available.

Weather mod mostly relies on particles generation however for some small things ABM may be used. Users which do not want it can disable ABM with property weather_allow_abm=false.

License of source code:

LGPL 2.1+

Authors of media files:

TeddyDesTodes: Snowflakes licensed under CC-BY-SA 3.0 by from weather branch at https://github.com/TeddyDesTodes/minetest/tree/weather

  • weather_pack_snow_snowflake1.png - CC-BY-SA 3.0
  • weather_pack_snow_snowflake2.png - CC-BY-SA 3.0

xeranas:

  • weather_pack_rain_raindrop_1.png - CC-0
  • weather_pack_rain_raindrop_2.png - CC-0
  • weather_pack_rain_raindrop_3.png - CC-0

inchadney (http://freesound.org/people/inchadney/):